From 5c2d336c43396be19eccaac00a4b8bd6789aeb8c Mon Sep 17 00:00:00 2001 From: Lukas Kubik Date: Mon, 11 Jan 2016 15:01:33 +0100 Subject: [PATCH] Apply branding --- .../configuration/keycloak-server.json | 4 +- .../resources/META-INF/keycloak-themes.json | 5 +- .../account/resources/img/favicon.ico | Bin 1150 -> 0 bytes .../account/resources/img/keycloak-logo.png | Bin 5213 -> 0 bytes .../keycloak/account/resources/img/logo.png | Bin 3559 -> 0 bytes .../keycloak/admin/resources/img/brand.svg | 498 - .../keycloak/admin/resources/img/favicon.ico | Bin 1150 -> 0 bytes .../admin/resources/img/keyclok-logo.svg | 194 - .../theme/keycloak/admin/theme.properties | 3 - .../keycloak/login/resources/img/favicon.ico | Bin 1150 -> 0 bytes .../login/resources/img/keycloak-bg.png | Bin 44369 -> 0 bytes .../login/resources/img/keycloak-logo.png | Bin 5213 -> 0 bytes .../keycloak/welcome/resources/favicon.ico | Bin 1150 -> 0 bytes .../welcome/resources/jboss_community.png | Bin 2731 -> 0 bytes .../keycloak/welcome/resources/keycloak.css | 65 - .../welcome/resources/keycloak_logo.png | Bin 22500 -> 0 bytes .../account/resources/css/account.css | 8 +- .../resources/img/icon-sidebar-active.png | Bin .../account/theme.properties | 4 +- .../admin/resources/css/styles.css | 19 +- .../admin/resources/img/select-arrow.png | Bin .../theme/rh-sso/admin/theme.properties | 3 + .../rh-sso/common/resources/img/brand.svg | 101 + .../rh-sso/common/resources/img/favicon.ico | Bin 0 -> 6518 bytes .../resources/lib/angular/angular-cookies.js | 321 + .../resources/lib/angular/angular-loader.js | 443 + .../resources/lib/angular/angular-mocks.js | 2433 + .../resources/lib/angular/angular-resource.js | 669 + .../resources/lib/angular/angular-route.js | 992 + .../resources/lib/angular/angular-sanitize.js | 683 + .../resources/lib/angular/angular-scenario.js | 40024 ++++++++++++++++ .../angular/angular-translate-loader-url.js | 75 + .../angular-translate-storage-cookie.js | 71 + .../lib/angular/angular-translate.js | 2904 ++ .../common/resources/lib/angular/angular.js | 28604 +++++++++++ .../common/resources/lib/angular/errors.json | 1 + .../angular/jstd-scenario-adapter-config.js | 6 + .../lib/angular/jstd-scenario-adapter.js | 185 + .../common/resources/lib/angular/select2.js | 222 + .../resources/lib/angular/treeview/LICENSE | 20 + .../resources/lib/angular/treeview/README.md | 122 + .../lib/angular/treeview/angular.treeview.js | 97 + .../angular/treeview/angular.treeview.min.js | 9 + .../angular/treeview/css/angular.treeview.css | 99 + .../lib/angular/treeview/img/file.png | Bin 0 -> 263 bytes .../angular/treeview/img/folder-closed.png | Bin 0 -> 281 bytes .../lib/angular/treeview/img/folder.png | Bin 0 -> 289 bytes .../lib/angular/ui-bootstrap-tpls-0.11.0.js | 4116 ++ .../common/resources/lib/angular/version.json | 1 + .../common/resources/lib/angular/version.txt | 1 + .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 + .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes .../font-awesome/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../fonts/fontawesome-webfont.svg | 565 + .../fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../lib/components/patternfly/.bower.json | 48 + .../lib/components/patternfly/LICENSE.txt | 205 + .../patternfly/OPEN_SOURCE_LICENCES.txt | 1142 + .../lib/components/patternfly/README.md | 212 + .../lib/components/patternfly/bower.json | 39 + .../components/bootstrap-combobox/README.md | 59 + .../css/bootstrap-combobox.css | 42 + .../js/bootstrap-combobox.js | 438 + .../bootstrap-combobox/less/combobox.less | 54 + .../bootstrap-datepicker/CHANGELOG.md | 228 + .../bootstrap-datepicker/CONTRIBUTING.md | 41 + .../components/bootstrap-datepicker/LICENSE | 202 + .../components/bootstrap-datepicker/README.md | 22 + .../bootstrap-datepicker/bower.json | 15 + .../bootstrap-datepicker/composer.json | 39 + .../dist/css/bootstrap-datepicker.css | 473 + .../dist/css/bootstrap-datepicker.min.css | 8 + .../css/bootstrap-datepicker.standalone.css | 506 + .../bootstrap-datepicker.standalone.min.css | 8 + .../dist/css/bootstrap-datepicker3.css | 752 + .../dist/css/bootstrap-datepicker3.min.css | 8 + .../css/bootstrap-datepicker3.standalone.css | 783 + .../bootstrap-datepicker3.standalone.min.css | 8 + .../dist/js/bootstrap-datepicker.js | 1782 + .../dist/js/bootstrap-datepicker.min.js | 8 + .../locales/bootstrap-datepicker.ar.min.js | 1 + .../locales/bootstrap-datepicker.az.min.js | 1 + .../locales/bootstrap-datepicker.bg.min.js | 1 + .../locales/bootstrap-datepicker.bs.min.js | 1 + .../locales/bootstrap-datepicker.ca.min.js | 1 + .../locales/bootstrap-datepicker.cs.min.js | 1 + .../locales/bootstrap-datepicker.cy.min.js | 1 + .../locales/bootstrap-datepicker.da.min.js | 1 + .../locales/bootstrap-datepicker.de.min.js | 1 + .../locales/bootstrap-datepicker.el.min.js | 1 + .../locales/bootstrap-datepicker.en-GB.min.js | 1 + .../locales/bootstrap-datepicker.es.min.js | 1 + .../locales/bootstrap-datepicker.et.min.js | 1 + .../locales/bootstrap-datepicker.eu.min.js | 1 + .../locales/bootstrap-datepicker.fa.min.js | 1 + .../locales/bootstrap-datepicker.fi.min.js | 1 + .../locales/bootstrap-datepicker.fo.min.js | 1 + .../locales/bootstrap-datepicker.fr-CH.min.js | 1 + .../locales/bootstrap-datepicker.fr.min.js | 1 + .../locales/bootstrap-datepicker.gl.min.js | 1 + .../locales/bootstrap-datepicker.he.min.js | 1 + .../locales/bootstrap-datepicker.hr.min.js | 1 + .../locales/bootstrap-datepicker.hu.min.js | 1 + .../locales/bootstrap-datepicker.hy.min.js | 1 + .../locales/bootstrap-datepicker.id.min.js | 1 + .../locales/bootstrap-datepicker.is.min.js | 1 + .../locales/bootstrap-datepicker.it-CH.min.js | 1 + .../locales/bootstrap-datepicker.it.min.js | 1 + .../locales/bootstrap-datepicker.ja.min.js | 1 + .../locales/bootstrap-datepicker.ka.min.js | 1 + .../locales/bootstrap-datepicker.kh.min.js | 1 + .../locales/bootstrap-datepicker.kk.min.js | 1 + .../locales/bootstrap-datepicker.kr.min.js | 1 + .../locales/bootstrap-datepicker.lt.min.js | 1 + .../locales/bootstrap-datepicker.lv.min.js | 1 + .../locales/bootstrap-datepicker.me.min.js | 1 + .../locales/bootstrap-datepicker.mk.min.js | 1 + .../locales/bootstrap-datepicker.ms.min.js | 1 + .../locales/bootstrap-datepicker.nb.min.js | 1 + .../locales/bootstrap-datepicker.nl-BE.min.js | 1 + .../locales/bootstrap-datepicker.nl.min.js | 1 + .../locales/bootstrap-datepicker.no.min.js | 1 + .../locales/bootstrap-datepicker.pl.min.js | 1 + .../locales/bootstrap-datepicker.pt-BR.min.js | 1 + .../locales/bootstrap-datepicker.pt.min.js | 1 + .../locales/bootstrap-datepicker.ro.min.js | 1 + .../bootstrap-datepicker.rs-latin.min.js | 1 + .../locales/bootstrap-datepicker.rs.min.js | 1 + .../locales/bootstrap-datepicker.ru.min.js | 1 + .../locales/bootstrap-datepicker.sk.min.js | 1 + .../locales/bootstrap-datepicker.sl.min.js | 1 + .../locales/bootstrap-datepicker.sq.min.js | 1 + .../bootstrap-datepicker.sr-latin.min.js | 1 + .../locales/bootstrap-datepicker.sr.min.js | 1 + .../locales/bootstrap-datepicker.sv.min.js | 1 + .../locales/bootstrap-datepicker.sw.min.js | 1 + .../locales/bootstrap-datepicker.th.min.js | 1 + .../locales/bootstrap-datepicker.tr.min.js | 1 + .../locales/bootstrap-datepicker.uk.min.js | 1 + .../locales/bootstrap-datepicker.vi.min.js | 1 + .../locales/bootstrap-datepicker.zh-CN.min.js | 1 + .../locales/bootstrap-datepicker.zh-TW.min.js | 1 + .../bootstrap-datepicker/docs/README.md | 20 + .../docs/_screenshots/demo_head.html | 31 + .../docs/_screenshots/markup_component.html | 20 + .../docs/_screenshots/markup_daterange.html | 28 + .../docs/_screenshots/markup_inline.html | 15 + .../docs/_screenshots/markup_input.html | 17 + .../_screenshots/option_calendarweeks.html | 23 + .../docs/_screenshots/option_clearbtn.html | 18 + .../option_daysofweekdisabled.html | 18 + .../docs/_screenshots/option_enddate.html | 18 + .../docs/_screenshots/option_language.html | 31 + .../docs/_screenshots/option_multidate.html | 27 + .../docs/_screenshots/option_startdate.html | 18 + .../docs/_screenshots/option_todaybtn.html | 17 + .../_screenshots/option_todayhighlight.html | 45 + .../docs/_screenshots/option_weekstart.html | 23 + .../docs/_screenshots/script/common.css | 9 + .../docs/_screenshots/script/common.js | 2 + .../docs/_screenshots/script/debug.js | 21 + .../_screenshots/script/html-imports.min.js | 30 + .../docs/_screenshots/script/screenshot.js | 69 + .../docs/_static/screenshots/demo_head.png | Bin 0 -> 35214 bytes .../_static/screenshots/markup_component.png | Bin 0 -> 12899 bytes .../_static/screenshots/markup_daterange.png | Bin 0 -> 18503 bytes .../_static/screenshots/markup_inline.png | Bin 0 -> 12398 bytes .../docs/_static/screenshots/markup_input.png | Bin 0 -> 13085 bytes .../screenshots/option_calendarweeks.png | Bin 0 -> 19901 bytes .../_static/screenshots/option_clearbtn.png | Bin 0 -> 13180 bytes .../screenshots/option_daysofweekdisabled.png | Bin 0 -> 12861 bytes .../_static/screenshots/option_enddate.png | Bin 0 -> 12162 bytes .../_static/screenshots/option_language.png | Bin 0 -> 47404 bytes .../_static/screenshots/option_multidate.png | Bin 0 -> 26853 bytes .../_static/screenshots/option_startdate.png | Bin 0 -> 12901 bytes .../_static/screenshots/option_todaybtn.png | Bin 0 -> 13420 bytes .../screenshots/option_todayhighlight.png | Bin 0 -> 17533 bytes .../_static/screenshots/option_weekstart.png | Bin 0 -> 22478 bytes .../bootstrap-datepicker/docs/conf.py | 249 + .../bootstrap-datepicker/docs/events.rst | 48 + .../bootstrap-datepicker/docs/i18n.rst | 31 + .../bootstrap-datepicker/docs/index.rst | 122 + .../bootstrap-datepicker/docs/keyboard.rst | 27 + .../bootstrap-datepicker/docs/make.bat | 190 + .../bootstrap-datepicker/docs/markup.rst | 77 + .../bootstrap-datepicker/docs/methods.rst | 177 + .../bootstrap-datepicker/docs/options.rst | 299 + .../docs/requirements.txt | 1 + .../js/bootstrap-datepicker.js | 1798 + .../js/locales/bootstrap-datepicker.ar.js | 15 + .../js/locales/bootstrap-datepicker.az.js | 12 + .../js/locales/bootstrap-datepicker.bg.js | 14 + .../js/locales/bootstrap-datepicker.bs.js | 15 + .../js/locales/bootstrap-datepicker.ca.js | 17 + .../js/locales/bootstrap-datepicker.cs.js | 18 + .../js/locales/bootstrap-datepicker.cy.js | 14 + .../js/locales/bootstrap-datepicker.da.js | 15 + .../js/locales/bootstrap-datepicker.de.js | 17 + .../js/locales/bootstrap-datepicker.el.js | 16 + .../js/locales/bootstrap-datepicker.en-GB.js | 17 + .../js/locales/bootstrap-datepicker.es.js | 17 + .../js/locales/bootstrap-datepicker.et.js | 18 + .../js/locales/bootstrap-datepicker.eu.js | 15 + .../js/locales/bootstrap-datepicker.fa.js | 17 + .../js/locales/bootstrap-datepicker.fi.js | 16 + .../js/locales/bootstrap-datepicker.fo.js | 15 + .../js/locales/bootstrap-datepicker.fr-CH.js | 20 + .../js/locales/bootstrap-datepicker.fr.js | 17 + .../js/locales/bootstrap-datepicker.gl.js | 13 + .../js/locales/bootstrap-datepicker.he.js | 15 + .../js/locales/bootstrap-datepicker.hr.js | 13 + .../js/locales/bootstrap-datepicker.hu.js | 16 + .../js/locales/bootstrap-datepicker.hy.js | 17 + .../js/locales/bootstrap-datepicker.id.js | 15 + .../js/locales/bootstrap-datepicker.is.js | 14 + .../js/locales/bootstrap-datepicker.it-CH.js | 20 + .../js/locales/bootstrap-datepicker.it.js | 17 + .../js/locales/bootstrap-datepicker.ja.js | 16 + .../js/locales/bootstrap-datepicker.ka.js | 17 + .../js/locales/bootstrap-datepicker.kh.js | 15 + .../js/locales/bootstrap-datepicker.kk.js | 15 + .../js/locales/bootstrap-datepicker.kr.js | 13 + .../js/locales/bootstrap-datepicker.lt.js | 16 + .../js/locales/bootstrap-datepicker.lv.js | 16 + .../js/locales/bootstrap-datepicker.me.js | 17 + .../js/locales/bootstrap-datepicker.mk.js | 15 + .../js/locales/bootstrap-datepicker.ms.js | 14 + .../js/locales/bootstrap-datepicker.nb.js | 14 + .../js/locales/bootstrap-datepicker.nl-BE.js | 17 + .../js/locales/bootstrap-datepicker.nl.js | 17 + .../js/locales/bootstrap-datepicker.no.js | 16 + .../js/locales/bootstrap-datepicker.pl.js | 16 + .../js/locales/bootstrap-datepicker.pt-BR.js | 15 + .../js/locales/bootstrap-datepicker.pt.js | 16 + .../js/locales/bootstrap-datepicker.ro.js | 16 + .../locales/bootstrap-datepicker.rs-latin.js | 16 + .../js/locales/bootstrap-datepicker.rs.js | 16 + .../js/locales/bootstrap-datepicker.ru.js | 17 + .../js/locales/bootstrap-datepicker.sk.js | 15 + .../js/locales/bootstrap-datepicker.sl.js | 14 + .../js/locales/bootstrap-datepicker.sq.js | 15 + .../locales/bootstrap-datepicker.sr-latin.js | 16 + .../js/locales/bootstrap-datepicker.sr.js | 16 + .../js/locales/bootstrap-datepicker.sv.js | 17 + .../js/locales/bootstrap-datepicker.sw.js | 15 + .../js/locales/bootstrap-datepicker.th.js | 14 + .../js/locales/bootstrap-datepicker.tr.js | 18 + .../js/locales/bootstrap-datepicker.uk.js | 17 + .../js/locales/bootstrap-datepicker.vi.js | 16 + .../js/locales/bootstrap-datepicker.zh-CN.js | 17 + .../js/locales/bootstrap-datepicker.zh-TW.js | 17 + .../bootstrap-datepicker/less/datepicker.less | 239 + .../less/datepicker3.less | 230 + .../components/bootstrap-select/LICENSE | 21 + .../components/bootstrap-select/bower.json | 32 + .../dist/css/bootstrap-select.css | 263 + .../dist/css/bootstrap-select.css.map | 1 + .../dist/css/bootstrap-select.min.css | 6 + .../dist/js/bootstrap-select.js | 1650 + .../dist/js/bootstrap-select.js.map | 1 + .../dist/js/bootstrap-select.min.js | 8 + .../dist/js/i18n/defaults-bg_BG.js | 44 + .../dist/js/i18n/defaults-bg_BG.min.js | 7 + .../dist/js/i18n/defaults-cs_CZ.js | 35 + .../dist/js/i18n/defaults-cs_CZ.min.js | 7 + .../dist/js/i18n/defaults-da_DK.js | 44 + .../dist/js/i18n/defaults-da_DK.min.js | 7 + .../dist/js/i18n/defaults-de_DE.js | 35 + .../dist/js/i18n/defaults-de_DE.min.js | 7 + .../dist/js/i18n/defaults-en_US.js | 44 + .../dist/js/i18n/defaults-en_US.min.js | 7 + .../dist/js/i18n/defaults-es_CL.js | 35 + .../dist/js/i18n/defaults-es_CL.min.js | 7 + .../dist/js/i18n/defaults-eu.js | 35 + .../dist/js/i18n/defaults-eu.min.js | 7 + .../dist/js/i18n/defaults-fa_IR.js | 37 + .../dist/js/i18n/defaults-fa_IR.min.js | 7 + .../dist/js/i18n/defaults-fr_FR.js | 42 + .../dist/js/i18n/defaults-fr_FR.min.js | 7 + .../dist/js/i18n/defaults-hu_HU.js | 44 + .../dist/js/i18n/defaults-hu_HU.min.js | 7 + .../dist/js/i18n/defaults-it_IT.js | 35 + .../dist/js/i18n/defaults-it_IT.min.js | 7 + .../dist/js/i18n/defaults-ko_KR.js | 44 + .../dist/js/i18n/defaults-ko_KR.min.js | 7 + .../dist/js/i18n/defaults-nl_NL.js | 35 + .../dist/js/i18n/defaults-nl_NL.min.js | 7 + .../dist/js/i18n/defaults-pl_PL.js | 37 + .../dist/js/i18n/defaults-pl_PL.min.js | 7 + .../dist/js/i18n/defaults-pt_BR.js | 35 + .../dist/js/i18n/defaults-pt_BR.min.js | 7 + .../dist/js/i18n/defaults-pt_PT.js | 35 + .../dist/js/i18n/defaults-pt_PT.min.js | 7 + .../dist/js/i18n/defaults-ro_RO.js | 35 + .../dist/js/i18n/defaults-ro_RO.min.js | 7 + .../dist/js/i18n/defaults-ru_RU.js | 36 + .../dist/js/i18n/defaults-ru_RU.min.js | 7 + .../dist/js/i18n/defaults-sk_SK.js | 37 + .../dist/js/i18n/defaults-sk_SK.min.js | 7 + .../dist/js/i18n/defaults-sl_SI.js | 44 + .../dist/js/i18n/defaults-sl_SI.min.js | 7 + .../dist/js/i18n/defaults-sv_SE.js | 44 + .../dist/js/i18n/defaults-sv_SE.min.js | 7 + .../dist/js/i18n/defaults-tr_TR.js | 44 + .../dist/js/i18n/defaults-tr_TR.min.js | 7 + .../dist/js/i18n/defaults-ua_UA.js | 35 + .../dist/js/i18n/defaults-ua_UA.min.js | 7 + .../dist/js/i18n/defaults-zh_CN.js | 35 + .../dist/js/i18n/defaults-zh_CN.min.js | 7 + .../dist/js/i18n/defaults-zh_TW.js | 37 + .../dist/js/i18n/defaults-zh_TW.min.js | 7 + .../bootstrap-select/js/bootstrap-select.js | 1624 + .../js/i18n/defaults-bg_BG.js | 23 + .../js/i18n/defaults-cs_CZ.js | 14 + .../js/i18n/defaults-da_DK.js | 23 + .../js/i18n/defaults-de_DE.js | 14 + .../js/i18n/defaults-en_US.js | 23 + .../js/i18n/defaults-es_CL.js | 14 + .../bootstrap-select/js/i18n/defaults-eu.js | 14 + .../js/i18n/defaults-fa_IR.js | 16 + .../js/i18n/defaults-fr_FR.js | 21 + .../js/i18n/defaults-hu_HU.js | 23 + .../js/i18n/defaults-it_IT.js | 15 + .../js/i18n/defaults-ko_KR.js | 23 + .../js/i18n/defaults-nl_NL.js | 15 + .../js/i18n/defaults-pl_PL.js | 16 + .../js/i18n/defaults-pt_BR.js | 15 + .../js/i18n/defaults-pt_PT.js | 15 + .../js/i18n/defaults-ro_RO.js | 15 + .../js/i18n/defaults-ru_RU.js | 15 + .../js/i18n/defaults-sk_SK.js | 16 + .../js/i18n/defaults-sl_SI.js | 23 + .../js/i18n/defaults-sv_SE.js | 23 + .../js/i18n/defaults-tr_TR.js | 24 + .../js/i18n/defaults-ua_UA.js | 14 + .../js/i18n/defaults-zh_CN.js | 14 + .../js/i18n/defaults-zh_TW.js | 16 + .../less/bootstrap-select.less | 332 + .../bootstrap-select/less/variables.less | 6 + .../bootstrap-treeview/CHANGELOG.md | 91 + .../components/bootstrap-treeview/LICENSE | 202 + .../components/bootstrap-treeview/README.md | 763 + .../components/bootstrap-treeview/app.js | 29 + .../components/bootstrap-treeview/bower.json | 33 + .../dist/bootstrap-treeview.min.css | 1 + .../dist/bootstrap-treeview.min.js | 1 + .../public/css/bootstrap-treeview.css | 37 + .../public/example-dom.html | 59 + .../bootstrap-treeview/public/index.html | 763 + .../public/js/bootstrap-treeview.js | 1249 + .../bootstrap-treeview/screenshot/default.PNG | Bin 0 -> 10486 bytes .../src/css/bootstrap-treeview.css | 37 + .../src/js/bootstrap-treeview.js | 1249 + .../patternfly/components/bootstrap/LICENSE | 21 + .../patternfly/components/bootstrap/README.md | 137 + .../components/bootstrap/bower.json | 34 + .../bootstrap/dist/css/bootstrap-theme.css | 587 + .../dist/css/bootstrap-theme.css.map | 1 + .../dist/css/bootstrap-theme.min.css | 5 + .../bootstrap/dist/css/bootstrap.css | 6800 +++ .../bootstrap/dist/css/bootstrap.css.map | 1 + .../bootstrap/dist/css/bootstrap.min.css | 5 + .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 + .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes .../components/bootstrap/dist/js/bootstrap.js | 2363 + .../bootstrap/dist/js/bootstrap.min.js | 7 + .../components/bootstrap/dist/js/npm.js | 13 + .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 + .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes .../bootstrap/grunt/bs-commonjs-generator.js | 30 + .../grunt/bs-glyphicons-data-generator.js | 42 + .../bootstrap/grunt/bs-lessdoc-parser.js | 237 + .../bootstrap/grunt/bs-raw-files-generator.js | 44 + .../bootstrap/grunt/configBridge.json | 46 + .../bootstrap/grunt/sauce_browsers.yml | 82 + .../components/bootstrap/js/affix.js | 162 + .../components/bootstrap/js/alert.js | 94 + .../components/bootstrap/js/button.js | 120 + .../components/bootstrap/js/carousel.js | 237 + .../components/bootstrap/js/collapse.js | 211 + .../components/bootstrap/js/dropdown.js | 165 + .../components/bootstrap/js/modal.js | 337 + .../components/bootstrap/js/popover.js | 108 + .../components/bootstrap/js/scrollspy.js | 172 + .../patternfly/components/bootstrap/js/tab.js | 155 + .../components/bootstrap/js/tooltip.js | 514 + .../components/bootstrap/js/transition.js | 59 + .../components/bootstrap/less/alerts.less | 73 + .../components/bootstrap/less/badges.less | 66 + .../components/bootstrap/less/bootstrap.less | 56 + .../bootstrap/less/breadcrumbs.less | 26 + .../bootstrap/less/button-groups.less | 244 + .../components/bootstrap/less/buttons.less | 166 + .../components/bootstrap/less/carousel.less | 269 + .../components/bootstrap/less/close.less | 34 + .../components/bootstrap/less/code.less | 69 + .../bootstrap/less/component-animations.less | 33 + .../components/bootstrap/less/dropdowns.less | 216 + .../components/bootstrap/less/forms.less | 607 + .../components/bootstrap/less/glyphicons.less | 305 + .../components/bootstrap/less/grid.less | 84 + .../bootstrap/less/input-groups.less | 167 + .../components/bootstrap/less/jumbotron.less | 52 + .../components/bootstrap/less/labels.less | 64 + .../components/bootstrap/less/list-group.less | 130 + .../components/bootstrap/less/media.less | 66 + .../components/bootstrap/less/mixins.less | 40 + .../bootstrap/less/mixins/alerts.less | 14 + .../less/mixins/background-variant.less | 9 + .../bootstrap/less/mixins/border-radius.less | 18 + .../bootstrap/less/mixins/buttons.less | 68 + .../bootstrap/less/mixins/center-block.less | 7 + .../bootstrap/less/mixins/clearfix.less | 22 + .../bootstrap/less/mixins/forms.less | 85 + .../bootstrap/less/mixins/gradients.less | 59 + .../bootstrap/less/mixins/grid-framework.less | 91 + .../bootstrap/less/mixins/grid.less | 122 + .../bootstrap/less/mixins/hide-text.less | 21 + .../bootstrap/less/mixins/image.less | 33 + .../bootstrap/less/mixins/labels.less | 12 + .../bootstrap/less/mixins/list-group.less | 30 + .../bootstrap/less/mixins/nav-divider.less | 10 + .../less/mixins/nav-vertical-align.less | 9 + .../bootstrap/less/mixins/opacity.less | 8 + .../bootstrap/less/mixins/pagination.less | 24 + .../bootstrap/less/mixins/panels.less | 24 + .../bootstrap/less/mixins/progress-bar.less | 10 + .../bootstrap/less/mixins/reset-filter.less | 8 + .../bootstrap/less/mixins/reset-text.less | 18 + .../bootstrap/less/mixins/resize.less | 6 + .../less/mixins/responsive-visibility.less | 15 + .../bootstrap/less/mixins/size.less | 10 + .../bootstrap/less/mixins/tab-focus.less | 9 + .../bootstrap/less/mixins/table-row.less | 28 + .../bootstrap/less/mixins/text-emphasis.less | 9 + .../bootstrap/less/mixins/text-overflow.less | 8 + .../less/mixins/vendor-prefixes.less | 227 + .../components/bootstrap/less/modals.less | 150 + .../components/bootstrap/less/navbar.less | 660 + .../components/bootstrap/less/navs.less | 242 + .../components/bootstrap/less/normalize.less | 424 + .../components/bootstrap/less/pager.less | 54 + .../components/bootstrap/less/pagination.less | 89 + .../components/bootstrap/less/panels.less | 271 + .../components/bootstrap/less/popovers.less | 131 + .../components/bootstrap/less/print.less | 101 + .../bootstrap/less/progress-bars.less | 87 + .../bootstrap/less/responsive-embed.less | 35 + .../bootstrap/less/responsive-utilities.less | 194 + .../bootstrap/less/scaffolding.less | 161 + .../components/bootstrap/less/tables.less | 234 + .../components/bootstrap/less/theme.less | 291 + .../components/bootstrap/less/thumbnails.less | 36 + .../components/bootstrap/less/tooltip.less | 101 + .../components/bootstrap/less/type.less | 302 + .../components/bootstrap/less/utilities.less | 55 + .../components/bootstrap/less/variables.less | 867 + .../components/bootstrap/less/wells.less | 29 + .../components/bootstrap/package.js | 25 + .../patternfly/components/c3/LICENSE | 20 + .../patternfly/components/c3/README.md | 51 + .../patternfly/components/c3/bower.json | 32 + .../patternfly/components/c3/c3.css | 158 + .../components/patternfly/components/c3/c3.js | 7049 +++ .../patternfly/components/c3/c3.min.css | 1 + .../patternfly/components/c3/c3.min.js | 5 + .../c3/extensions/exporter/config.json | 11 + .../extensions/exporter/phantom-exporter.js | 140 + .../c3/extensions/exporter/test.png | Bin 0 -> 16458 bytes .../components/c3/extensions/js/c3ext.js | 380 + .../patternfly/components/d3/CONTRIBUTING.md | 25 + .../patternfly/components/d3/LICENSE | 26 + .../patternfly/components/d3/README.md | 9 + .../patternfly/components/d3/bower.json | 26 + .../components/patternfly/components/d3/d3.js | 9426 ++++ .../patternfly/components/d3/d3.min.js | 5 + .../datatables-colreorder/License.txt | 20 + .../datatables-colreorder/Readme.md | 39 + .../datatables-colreorder/bower.json | 12 + .../css/dataTables.colReorder.css | 14 + .../examples/alt_insert.xml | 30 + .../examples/col_filter.xml | 38 + .../datatables-colreorder/examples/colvis.xml | 26 + .../examples/fixedcolumns.xml | 43 + .../examples/fixedheader.xml | 27 + .../datatables-colreorder/examples/index.xml | 19 + .../examples/jqueryui.xml | 27 + .../examples/new_init.xml | 23 + .../examples/predefined.xml | 30 + .../examples/realtime.xml | 30 + .../datatables-colreorder/examples/reset.xml | 41 + .../examples/scrolling.xml | 27 + .../examples/server_side.xml | 38 + .../datatables-colreorder/examples/simple.xml | 25 + .../examples/state_save.xml | 26 + .../datatables-colreorder/images/insert.png | Bin 0 -> 1885 bytes .../js/dataTables.colReorder.js | 1372 + .../components/datatables-colreorder/make.sh | 31 + .../components/datatables-colvis/License.txt | 20 + .../components/datatables-colvis/README.md | 38 + .../components/datatables-colvis/bower.json | 12 + .../css/dataTables.colVis.css | 185 + .../css/dataTables.colvis.jqueryui.css | 41 + .../examples/button_order.xml | 26 + .../examples/exclude_columns.xml | 28 + .../examples/group_columns.xml | 40 + .../datatables-colvis/examples/index.xml | 18 + .../datatables-colvis/examples/jqueryui.xml | 28 + .../datatables-colvis/examples/mouseover.xml | 28 + .../datatables-colvis/examples/new_init.xml | 26 + .../datatables-colvis/examples/restore.xml | 33 + .../datatables-colvis/examples/simple.xml | 25 + .../datatables-colvis/examples/text.xml | 29 + .../examples/title_callback.xml | 30 + .../datatables-colvis/examples/two_tables.xml | 24 + .../examples/two_tables_identical.xml | 35 + .../datatables-colvis/js/dataTables.colVis.js | 1123 + .../components/datatables-colvis/make.sh | 28 + .../components/datatables/Contributing.md | 18 + .../components/datatables/Readme.md | 53 + .../components/datatables/bower.json | 32 + .../components/datatables/license.txt | 20 + .../media/css/jquery.dataTables.css | 455 + .../media/css/jquery.dataTables.min.css | 1 + .../css/jquery.dataTables_themeroller.css | 416 + .../datatables/media/images/Sorting icons.psd | Bin 0 -> 27490 bytes .../datatables/media/images/favicon.ico | Bin 0 -> 894 bytes .../datatables/media/images/sort_asc.png | Bin 0 -> 160 bytes .../media/images/sort_asc_disabled.png | Bin 0 -> 148 bytes .../datatables/media/images/sort_both.png | Bin 0 -> 201 bytes .../datatables/media/images/sort_desc.png | Bin 0 -> 158 bytes .../media/images/sort_desc_disabled.png | Bin 0 -> 146 bytes .../datatables/media/js/jquery.dataTables.js | 14951 ++++++ .../media/js/jquery.dataTables.min.js | 160 + .../components/datatables/media/js/jquery.js | 5 + .../components/font-awesome/bower.json | 23 + .../font-awesome/css/font-awesome.css | 1801 + .../font-awesome/css/font-awesome.css.map | 7 + .../font-awesome/css/font-awesome.min.css | 4 + .../font-awesome/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../fonts/fontawesome-webfont.svg | 565 + .../fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../font-awesome/less/animated.less | 34 + .../font-awesome/less/bordered-pulled.less | 16 + .../components/font-awesome/less/core.less | 13 + .../font-awesome/less/fixed-width.less | 6 + .../font-awesome/less/font-awesome.less | 17 + .../components/font-awesome/less/icons.less | 596 + .../components/font-awesome/less/larger.less | 13 + .../components/font-awesome/less/list.less | 19 + .../components/font-awesome/less/mixins.less | 27 + .../components/font-awesome/less/path.less | 15 + .../font-awesome/less/rotated-flipped.less | 20 + .../components/font-awesome/less/stacked.less | 20 + .../font-awesome/less/variables.less | 606 + .../font-awesome/scss/_animated.scss | 34 + .../font-awesome/scss/_bordered-pulled.scss | 16 + .../components/font-awesome/scss/_core.scss | 13 + .../font-awesome/scss/_fixed-width.scss | 6 + .../components/font-awesome/scss/_icons.scss | 596 + .../components/font-awesome/scss/_larger.scss | 13 + .../components/font-awesome/scss/_list.scss | 19 + .../components/font-awesome/scss/_mixins.scss | 27 + .../components/font-awesome/scss/_path.scss | 15 + .../font-awesome/scss/_rotated-flipped.scss | 20 + .../font-awesome/scss/_stacked.scss | 20 + .../font-awesome/scss/_variables.scss | 606 + .../font-awesome/scss/font-awesome.scss | 17 + .../google-code-prettify/CHANGES.html | 172 + .../components/google-code-prettify/COPYING | 191 + .../google-code-prettify/README-zh-Hans.html | 143 + .../google-code-prettify/README.html | 233 + .../components/google-code-prettify/README.md | 54 + .../google-code-prettify/bin/prettify.min.css | 1 + .../google-code-prettify/bin/prettify.min.js | 30 + .../bin/run_prettify.min.js | 34 + .../google-code-prettify/bower.json | 16 + .../google-code-prettify/examples/quine.html | 55 + .../google-code-prettify/src/lang-apollo.js | 51 + .../google-code-prettify/src/lang-basic.js | 32 + .../google-code-prettify/src/lang-clj.js | 64 + .../google-code-prettify/src/lang-css.js | 159 + .../google-code-prettify/src/lang-dart.js | 88 + .../google-code-prettify/src/lang-erlang.js | 92 + .../google-code-prettify/src/lang-go.js | 58 + .../google-code-prettify/src/lang-hs.js | 101 + .../google-code-prettify/src/lang-lisp.js | 94 + .../google-code-prettify/src/lang-llvm.js | 61 + .../google-code-prettify/src/lang-lua.js | 59 + .../google-code-prettify/src/lang-matlab.js | 180 + .../google-code-prettify/src/lang-ml.js | 56 + .../google-code-prettify/src/lang-mumps.js | 139 + .../google-code-prettify/src/lang-n.js | 65 + .../google-code-prettify/src/lang-pascal.js | 32 + .../google-code-prettify/src/lang-proto.js | 35 + .../google-code-prettify/src/lang-r.js | 57 + .../google-code-prettify/src/lang-rd.js | 47 + .../google-code-prettify/src/lang-scala.js | 54 + .../google-code-prettify/src/lang-sql.js | 58 + .../google-code-prettify/src/lang-tcl.js | 62 + .../google-code-prettify/src/lang-tex.js | 46 + .../google-code-prettify/src/lang-vb.js | 66 + .../google-code-prettify/src/lang-vhdl.js | 34 + .../google-code-prettify/src/lang-wiki.js | 53 + .../google-code-prettify/src/lang-xq.js | 67 + .../google-code-prettify/src/lang-yaml.js | 27 + .../google-code-prettify/src/prettify.css | 52 + .../google-code-prettify/src/prettify.js | 1655 + .../google-code-prettify/src/run_prettify.js | 1905 + .../google-code-prettify/styles/demo.html | 61 + .../google-code-prettify/styles/desert.css | 34 + .../google-code-prettify/styles/doxy.css | 64 + .../google-code-prettify/styles/index.html | 89 + .../styles/sons-of-obsidian.css | 118 + .../google-code-prettify/styles/sunburst.css | 51 + .../components/jquery/MIT-LICENSE.txt | 21 + .../patternfly/components/jquery/bower.json | 28 + .../components/jquery/dist/jquery.js | 9210 ++++ .../components/jquery/dist/jquery.min.js | 5 + .../components/jquery/dist/jquery.min.map | 1 + .../patternfly/components/jquery/src/ajax.js | 786 + .../components/jquery/src/ajax/jsonp.js | 89 + .../components/jquery/src/ajax/load.js | 75 + .../components/jquery/src/ajax/parseJSON.js | 13 + .../components/jquery/src/ajax/parseXML.js | 28 + .../components/jquery/src/ajax/script.js | 64 + .../components/jquery/src/ajax/var/nonce.js | 5 + .../components/jquery/src/ajax/var/rquery.js | 3 + .../components/jquery/src/ajax/xhr.js | 136 + .../components/jquery/src/attributes.js | 11 + .../components/jquery/src/attributes/attr.js | 141 + .../jquery/src/attributes/classes.js | 158 + .../components/jquery/src/attributes/prop.js | 94 + .../jquery/src/attributes/support.js | 35 + .../components/jquery/src/attributes/val.js | 161 + .../components/jquery/src/callbacks.js | 205 + .../patternfly/components/jquery/src/core.js | 502 + .../components/jquery/src/core/access.js | 60 + .../components/jquery/src/core/init.js | 123 + .../components/jquery/src/core/parseHTML.js | 39 + .../components/jquery/src/core/ready.js | 97 + .../jquery/src/core/var/rsingleTag.js | 4 + .../patternfly/components/jquery/src/css.js | 450 + .../components/jquery/src/css/addGetHookIf.js | 22 + .../components/jquery/src/css/curCSS.js | 57 + .../jquery/src/css/defaultDisplay.js | 70 + .../jquery/src/css/hiddenVisibleSelectors.js | 15 + .../components/jquery/src/css/support.js | 96 + .../components/jquery/src/css/swap.js | 28 + .../jquery/src/css/var/cssExpand.js | 3 + .../jquery/src/css/var/getStyles.js | 12 + .../components/jquery/src/css/var/isHidden.js | 13 + .../components/jquery/src/css/var/rmargin.js | 3 + .../jquery/src/css/var/rnumnonpx.js | 5 + .../patternfly/components/jquery/src/data.js | 178 + .../components/jquery/src/data/Data.js | 181 + .../components/jquery/src/data/accepts.js | 20 + .../jquery/src/data/var/data_priv.js | 5 + .../jquery/src/data/var/data_user.js | 5 + .../components/jquery/src/deferred.js | 149 + .../components/jquery/src/deprecated.js | 13 + .../components/jquery/src/dimensions.js | 50 + .../components/jquery/src/effects.js | 648 + .../components/jquery/src/effects/Tween.js | 114 + .../jquery/src/effects/animatedSelector.js | 13 + .../patternfly/components/jquery/src/event.js | 868 + .../components/jquery/src/event/ajax.js | 13 + .../components/jquery/src/event/alias.js | 39 + .../components/jquery/src/event/support.js | 9 + .../components/jquery/src/exports/amd.js | 24 + .../components/jquery/src/exports/global.js | 32 + .../patternfly/components/jquery/src/intro.js | 44 + .../components/jquery/src/jquery.js | 37 + .../components/jquery/src/manipulation.js | 580 + .../jquery/src/manipulation/_evalUrl.js | 18 + .../jquery/src/manipulation/support.js | 32 + .../src/manipulation/var/rcheckableType.js | 3 + .../components/jquery/src/offset.js | 207 + .../patternfly/components/jquery/src/outro.js | 1 + .../patternfly/components/jquery/src/queue.js | 142 + .../components/jquery/src/queue/delay.js | 22 + .../components/jquery/src/selector-native.js | 172 + .../components/jquery/src/selector-sizzle.js | 14 + .../components/jquery/src/selector.js | 1 + .../components/jquery/src/serialize.js | 111 + .../jquery/src/sizzle/dist/sizzle.js | 2067 + .../jquery/src/sizzle/dist/sizzle.min.js | 3 + .../jquery/src/sizzle/dist/sizzle.min.map | 1 + .../components/jquery/src/traversing.js | 199 + .../jquery/src/traversing/findFilter.js | 100 + .../src/traversing/var/rneedsContext.js | 6 + .../components/jquery/src/var/arr.js | 3 + .../components/jquery/src/var/class2type.js | 4 + .../components/jquery/src/var/concat.js | 5 + .../components/jquery/src/var/hasOwn.js | 5 + .../components/jquery/src/var/indexOf.js | 5 + .../components/jquery/src/var/pnum.js | 3 + .../components/jquery/src/var/push.js | 5 + .../components/jquery/src/var/rnotwhite.js | 3 + .../components/jquery/src/var/slice.js | 5 + .../components/jquery/src/var/strundefined.js | 3 + .../components/jquery/src/var/support.js | 4 + .../components/jquery/src/var/toString.js | 5 + .../patternfly/components/jquery/src/wrap.js | 79 + .../components/matchHeight/CHANGELOG.md | 43 + .../patternfly/components/matchHeight/LICENSE | 21 + .../components/matchHeight/README.md | 197 + .../components/matchHeight/bower.json | 26 + .../matchHeight/jquery.matchHeight-min.js | 11 + .../matchHeight/jquery.matchHeight.js | 353 + .../matchHeight/lib/jquery-1.11.0.min.js | 4 + .../matchHeight/matchHeight.jquery.json | 32 + .../components/matchHeight/test.css | 280 + .../components/matchHeight/test.html | 322 + .../patternfly/components/matchHeight/test.js | 33 + .../dist/css/patternfly-additions.css | 3394 ++ .../dist/css/patternfly-additions.css.map | 1 + .../dist/css/patternfly-additions.min.css | 2 + .../dist/css/patternfly-additions.min.css.map | 1 + .../patternfly/dist/css/patternfly.css | 9746 ++++ .../patternfly/dist/css/patternfly.css.map | 1 + .../patternfly/dist/css/patternfly.min.css | 9 + .../dist/css/patternfly.min.css.map | 1 + .../dist/fonts/OpenSans-Bold-webfont.eot | Bin 0 -> 19544 bytes .../dist/fonts/OpenSans-Bold-webfont.svg | 1830 + .../dist/fonts/OpenSans-Bold-webfont.ttf | Bin 0 -> 38452 bytes .../dist/fonts/OpenSans-Bold-webfont.woff | Bin 0 -> 22432 bytes .../fonts/OpenSans-BoldItalic-webfont.eot | Bin 0 -> 20133 bytes .../fonts/OpenSans-BoldItalic-webfont.svg | 1830 + .../fonts/OpenSans-BoldItalic-webfont.ttf | Bin 0 -> 39076 bytes .../fonts/OpenSans-BoldItalic-webfont.woff | Bin 0 -> 23048 bytes .../dist/fonts/OpenSans-ExtraBold-webfont.eot | Bin 0 -> 20855 bytes .../dist/fonts/OpenSans-ExtraBold-webfont.svg | 1830 + .../dist/fonts/OpenSans-ExtraBold-webfont.ttf | Bin 0 -> 42024 bytes .../fonts/OpenSans-ExtraBold-webfont.woff | Bin 0 -> 23764 bytes .../OpenSans-ExtraBoldItalic-webfont.eot | Bin 0 -> 21576 bytes .../OpenSans-ExtraBoldItalic-webfont.svg | 1830 + .../OpenSans-ExtraBoldItalic-webfont.ttf | Bin 0 -> 43420 bytes .../OpenSans-ExtraBoldItalic-webfont.woff | Bin 0 -> 24568 bytes .../dist/fonts/OpenSans-Italic-webfont.eot | Bin 0 -> 20265 bytes .../dist/fonts/OpenSans-Italic-webfont.svg | 1830 + .../dist/fonts/OpenSans-Italic-webfont.ttf | Bin 0 -> 38412 bytes .../dist/fonts/OpenSans-Italic-webfont.woff | Bin 0 -> 23188 bytes .../dist/fonts/OpenSans-Light-webfont.eot | Bin 0 -> 19514 bytes .../dist/fonts/OpenSans-Light-webfont.svg | 1831 + .../dist/fonts/OpenSans-Light-webfont.ttf | Bin 0 -> 37336 bytes .../dist/fonts/OpenSans-Light-webfont.woff | Bin 0 -> 22248 bytes .../fonts/OpenSans-LightItalic-webfont.eot | Bin 0 -> 20535 bytes .../fonts/OpenSans-LightItalic-webfont.svg | 1835 + .../fonts/OpenSans-LightItalic-webfont.ttf | Bin 0 -> 39956 bytes .../fonts/OpenSans-LightItalic-webfont.woff | Bin 0 -> 23400 bytes .../dist/fonts/OpenSans-Regular-webfont.eot | Bin 0 -> 19836 bytes .../dist/fonts/OpenSans-Regular-webfont.svg | 1831 + .../dist/fonts/OpenSans-Regular-webfont.ttf | Bin 0 -> 38232 bytes .../dist/fonts/OpenSans-Regular-webfont.woff | Bin 0 -> 22660 bytes .../dist/fonts/OpenSans-Semibold-webfont.eot | Bin 0 -> 20028 bytes .../dist/fonts/OpenSans-Semibold-webfont.svg | 1830 + .../dist/fonts/OpenSans-Semibold-webfont.ttf | Bin 0 -> 39476 bytes .../dist/fonts/OpenSans-Semibold-webfont.woff | Bin 0 -> 22908 bytes .../fonts/OpenSans-SemiboldItalic-webfont.eot | Bin 0 -> 20962 bytes .../fonts/OpenSans-SemiboldItalic-webfont.svg | 1830 + .../fonts/OpenSans-SemiboldItalic-webfont.ttf | Bin 0 -> 40252 bytes .../OpenSans-SemiboldItalic-webfont.woff | Bin 0 -> 23764 bytes .../dist/fonts/PatternFlyIcons-webfont.eot | Bin 0 -> 11276 bytes .../dist/fonts/PatternFlyIcons-webfont.svg | 65 + .../dist/fonts/PatternFlyIcons-webfont.ttf | Bin 0 -> 11048 bytes .../dist/fonts/PatternFlyIcons-webfont.woff | Bin 0 -> 11124 bytes .../img/apple-touch-icon-precomposed-114.png | Bin 0 -> 6892 bytes .../img/apple-touch-icon-precomposed-144.png | Bin 0 -> 9898 bytes .../img/apple-touch-icon-precomposed-152.png | Bin 0 -> 10896 bytes .../img/apple-touch-icon-precomposed-180.png | Bin 0 -> 9799 bytes .../img/apple-touch-icon-precomposed-57.png | Bin 0 -> 2364 bytes .../img/apple-touch-icon-precomposed-72.png | Bin 0 -> 3377 bytes .../img/apple-touch-icon-precomposed-76.png | Bin 0 -> 3678 bytes .../patternfly/dist/img/bg-login.jpg | Bin 0 -> 47664 bytes .../components/patternfly/dist/img/brand.svg | 87 + .../patternfly/dist/img/favicon.ico | Bin 0 -> 6518 bytes .../components/patternfly/dist/img/logo.svg | 22 + .../patternfly/dist/img/spinner-lg.gif | Bin 0 -> 2482 bytes .../patternfly/dist/img/spinner-sm.gif | Bin 0 -> 1567 bytes .../patternfly/dist/img/spinner-xs.gif | Bin 0 -> 748 bytes .../patternfly/dist/img/spinner.gif | Bin 0 -> 2142 bytes .../patternfly/dist/js/patternfly.js | 214 + .../patternfly/dist/js/patternfly.min.js | 1 + .../components/patternfly/less/alerts.less | 29 + .../components/patternfly/less/badges.less | 11 + .../patternfly/less/blank-slate.less | 29 + .../patternfly/less/bootstrap-combobox.less | 35 + .../patternfly/less/bootstrap-datepicker.less | 71 + .../patternfly/less/bootstrap-select.less | 99 + .../patternfly/less/bootstrap-treeview.less | 37 + .../patternfly/less/breadcrumbs.less | 20 + .../components/patternfly/less/buttons.less | 48 + .../lib/components/patternfly/less/cards.less | 60 + .../components/patternfly/less/charts.less | 71 + .../lib/components/patternfly/less/close.less | 13 + .../patternfly/less/datatables.less | 222 + .../components/patternfly/less/dropdowns.less | 145 + .../lib/components/patternfly/less/fonts.less | 54 + .../lib/components/patternfly/less/forms.less | 31 + .../lib/components/patternfly/less/icons.less | 137 + .../components/patternfly/less/infotip.less | 149 + .../components/patternfly/less/labels.less | 12 + .../patternfly/less/list-group.less | 18 + .../lib/components/patternfly/less/login.less | 100 + .../components/patternfly/less/mixins.less | 99 + .../components/patternfly/less/modals.less | 38 + .../components/patternfly/less/navbar.less | 490 + .../lib/components/patternfly/less/pager.less | 72 + .../patternfly/less/pagination.less | 64 + .../components/patternfly/less/panels.less | 57 + .../patternfly/less/patternfly-additions.less | 36 + .../patternfly/less/patternfly.less | 30 + .../components/patternfly/less/popovers.less | 32 + .../patternfly/less/progress-bars.less | 91 + .../components/patternfly/less/search.less | 65 + .../components/patternfly/less/sidebar.less | 174 + .../components/patternfly/less/spinner.less | 60 + .../patternfly/less/syntax-highlighting.less | 25 + .../components/patternfly/less/tables.less | 70 + .../lib/components/patternfly/less/tabs.less | 118 + .../components/patternfly/less/tooltip.less | 15 + .../lib/components/patternfly/less/type.less | 24 + .../components/patternfly/less/variables.less | 230 + .../patternfly/tests-src/_config.yml | 13 + .../tests-src/_includes/datatable.html | 419 + .../patternfly/tests-src/_includes/form.html | 67 + .../patternfly/tests-src/_includes/head.html | 28 + .../_includes/layouts-navbar-primary.html | 80 + .../patternfly/tests-src/_layouts/cards.html | 10 + .../tests-src/_layouts/default.html | 10 + .../patternfly/tests-src/_layouts/layout.html | 4 + .../patternfly/tests-src/_layouts/login.html | 10 + .../patternfly/tests-src/_layouts/page.html | 15 + .../patternfly/tests-src/_plugins/strip.rb | 14 + .../tests-src/_plugins/weighted_pages.rb | 17 + .../patternfly/tests-src/accordions.html | 50 + .../patternfly/tests-src/alerts.html | 51 + .../patternfly/tests-src/badges.html | 33 + .../patternfly/tests-src/basic.html | 29 + .../patternfly/tests-src/blank-slate.html | 44 + .../tests-src/bootstrap-combobox.html | 305 + .../tests-src/bootstrap-datepicker.html | 36 + .../tests-src/bootstrap-select.html | 173 + .../tests-src/bootstrap-treeview-2.html | 94 + .../tests-src/bootstrap-treeview.html | 197 + .../patternfly/tests-src/breadcrumbs.html | 12 + .../patternfly/tests-src/buttons.html | 487 + .../patternfly/tests-src/cards.html | 190 + .../patternfly/tests-src/charts.html | 348 + .../components/patternfly/tests-src/code.html | 43 + .../patternfly/tests-src/dashboard.html | 225 + .../tests-src/datatables-columns.html | 34 + .../patternfly/tests-src/datatables.html | 15 + .../patternfly/tests-src/dropdowns.html | 14 + .../components/patternfly/tests-src/form.html | 80 + .../patternfly/tests-src/forms.html | 391 + .../patternfly/tests-src/icons.html | 248 + .../patternfly/tests-src/img/dashboard-3.png | Bin 0 -> 9062 bytes .../patternfly/tests-src/index.html | 23 + .../patternfly/tests-src/infotip.html | 48 + .../patternfly/tests-src/labels.html | 68 + .../patternfly/tests-src/list-group.html | 71 + .../patternfly/tests-src/login.html | 52 + .../patternfly/tests-src/modals.html | 43 + .../patternfly/tests-src/navbar.html | 4640 ++ .../patternfly/tests-src/pagination.html | 243 + .../patternfly/tests-src/panels.html | 73 + .../patternfly/tests-src/popovers.html | 73 + .../patternfly/tests-src/progress-bars.html | 237 + .../patternfly/tests-src/search.html | 131 + .../patternfly/tests-src/spinner.html | 32 + .../components/patternfly/tests-src/tab.html | 72 + .../patternfly/tests-src/tables.html | 169 + .../components/patternfly/tests-src/tabs.html | 239 + .../components/patternfly/tests-src/tests.css | 16 + .../patternfly/tests-src/tooltip.html | 30 + .../patternfly/tests-src/typography-2.css | 10 + .../patternfly/tests-src/typography-2.html | 179 + .../patternfly/tests-src/typography.html | 155 + .../resources/lib/filesaver/FileSaver.js | 241 + .../resources/lib/fileupload/FileAPI.min.js | 72 + .../angular-file-upload-html5-shim.js | 25 + .../angular-file-upload-html5-shim.min.js | 2 + .../fileupload/angular-file-upload-shim.js | 215 + .../angular-file-upload-shim.min.js | 2 + .../lib/fileupload/angular-file-upload.js | 156 + .../lib/fileupload/angular-file-upload.min.js | 2 + .../resources/lib/jquery/jquery-1.10.2.js | 9789 ++++ .../lib/patternfly/css/patternfly.css | 11707 +++++ .../lib/patternfly/css/patternfly.min.css | 10 + .../fonts/OpenSans-Bold-webfont.eot | Bin 0 -> 19544 bytes .../fonts/OpenSans-Bold-webfont.svg | 1830 + .../fonts/OpenSans-Bold-webfont.ttf | Bin 0 -> 38452 bytes .../fonts/OpenSans-Bold-webfont.woff | Bin 0 -> 22432 bytes .../fonts/OpenSans-BoldItalic-webfont.eot | Bin 0 -> 20133 bytes .../fonts/OpenSans-BoldItalic-webfont.svg | 1830 + .../fonts/OpenSans-BoldItalic-webfont.ttf | Bin 0 -> 39076 bytes .../fonts/OpenSans-BoldItalic-webfont.woff | Bin 0 -> 23048 bytes .../fonts/OpenSans-ExtraBold-webfont.eot | Bin 0 -> 20855 bytes .../fonts/OpenSans-ExtraBold-webfont.svg | 1830 + .../fonts/OpenSans-ExtraBold-webfont.ttf | Bin 0 -> 42024 bytes .../fonts/OpenSans-ExtraBold-webfont.woff | Bin 0 -> 23764 bytes .../OpenSans-ExtraBoldItalic-webfont.eot | Bin 0 -> 21576 bytes .../OpenSans-ExtraBoldItalic-webfont.svg | 1830 + .../OpenSans-ExtraBoldItalic-webfont.ttf | Bin 0 -> 43420 bytes .../OpenSans-ExtraBoldItalic-webfont.woff | Bin 0 -> 24568 bytes .../fonts/OpenSans-Italic-webfont.eot | Bin 0 -> 20265 bytes .../fonts/OpenSans-Italic-webfont.svg | 1830 + .../fonts/OpenSans-Italic-webfont.ttf | Bin 0 -> 38412 bytes .../fonts/OpenSans-Italic-webfont.woff | Bin 0 -> 23188 bytes .../fonts/OpenSans-Light-webfont.eot | Bin 0 -> 19514 bytes .../fonts/OpenSans-Light-webfont.svg | 1831 + .../fonts/OpenSans-Light-webfont.ttf | Bin 0 -> 37336 bytes .../fonts/OpenSans-Light-webfont.woff | Bin 0 -> 22248 bytes .../fonts/OpenSans-LightItalic-webfont.eot | Bin 0 -> 20535 bytes .../fonts/OpenSans-LightItalic-webfont.svg | 1835 + .../fonts/OpenSans-LightItalic-webfont.ttf | Bin 0 -> 39956 bytes .../fonts/OpenSans-LightItalic-webfont.woff | Bin 0 -> 23400 bytes .../fonts/OpenSans-Regular-webfont.eot | Bin 0 -> 19836 bytes .../fonts/OpenSans-Regular-webfont.svg | 1831 + .../fonts/OpenSans-Regular-webfont.ttf | Bin 0 -> 38232 bytes .../fonts/OpenSans-Regular-webfont.woff | Bin 0 -> 22660 bytes .../fonts/OpenSans-Semibold-webfont.eot | Bin 0 -> 20028 bytes .../fonts/OpenSans-Semibold-webfont.svg | 1830 + .../fonts/OpenSans-Semibold-webfont.ttf | Bin 0 -> 39476 bytes .../fonts/OpenSans-Semibold-webfont.woff | Bin 0 -> 22908 bytes .../fonts/OpenSans-SemiboldItalic-webfont.eot | Bin 0 -> 20962 bytes .../fonts/OpenSans-SemiboldItalic-webfont.svg | 1830 + .../fonts/OpenSans-SemiboldItalic-webfont.ttf | Bin 0 -> 40252 bytes .../OpenSans-SemiboldItalic-webfont.woff | Bin 0 -> 23764 bytes .../fonts/PatternFlyIcons-webfont.eot | Bin 0 -> 8920 bytes .../fonts/PatternFlyIcons-webfont.svg | 63 + .../fonts/PatternFlyIcons-webfont.ttf | Bin 0 -> 8692 bytes .../fonts/PatternFlyIcons-webfont.woff | Bin 0 -> 8768 bytes .../img/apple-touch-icon-114-precomposed.png | Bin 0 -> 10005 bytes .../img/apple-touch-icon-144-precomposed.png | Bin 0 -> 12032 bytes .../img/apple-touch-icon-57-precomposed.png | Bin 0 -> 4120 bytes .../img/apple-touch-icon-72-precomposed.png | Bin 0 -> 5430 bytes .../resources/lib/patternfly/img/bg-login.jpg | Bin 0 -> 47664 bytes .../resources/lib/patternfly/img/brand-lg.png | Bin 0 -> 2726 bytes .../resources/lib/patternfly/img/brand.png | Bin 0 -> 1483 bytes .../resources/lib/patternfly/img/brand.svg | 87 + .../resources/lib/patternfly/img/favicon.ico | Bin 0 -> 6518 bytes .../resources/lib/patternfly/img/logo.png | Bin 0 -> 2601 bytes .../resources/lib/patternfly/img/logo.svg | 22 + .../lib/patternfly/img/spinner-lg.gif | Bin 0 -> 2482 bytes .../lib/patternfly/img/spinner-sm.gif | Bin 0 -> 1567 bytes .../lib/patternfly/img/spinner-xs.gif | Bin 0 -> 748 bytes .../resources/lib/patternfly/img/spinner.gif | Bin 0 -> 2142 bytes .../resources/lib/patternfly/js/patternfly.js | 212 + .../lib/patternfly/js/patternfly.min.js | 1 + .../resources/lib/rcue/css/rcue-additions.css | 3450 ++ .../lib/rcue/css/rcue-additions.css.map | 1 + .../lib/rcue/css/rcue-additions.min.css | 2 + .../lib/rcue/css/rcue-additions.min.css.map | 1 + .../common/resources/lib/rcue/css/rcue.css | 9749 ++++ .../resources/lib/rcue/css/rcue.css.map | 1 + .../resources/lib/rcue/css/rcue.min.css | 9 + .../resources/lib/rcue/css/rcue.min.css.map | 1 + .../lib/rcue/css/styles-additions.css | 1 + .../lib/rcue/css/styles-additions.min.css | 1 + .../common/resources/lib/rcue/css/styles.css | 1 + .../resources/lib/rcue/css/styles.min.css | 1 + .../img/apple-touch-icon-precomposed-114.png | Bin 0 -> 7863 bytes .../img/apple-touch-icon-precomposed-120.png | Bin 0 -> 7560 bytes .../img/apple-touch-icon-precomposed-144.png | Bin 0 -> 8783 bytes .../img/apple-touch-icon-precomposed-152.png | Bin 0 -> 7871 bytes .../img/apple-touch-icon-precomposed-180.png | Bin 0 -> 5105 bytes .../img/apple-touch-icon-precomposed-57.png | Bin 0 -> 3660 bytes .../img/apple-touch-icon-precomposed-72.png | Bin 0 -> 4898 bytes .../img/apple-touch-icon-precomposed-76.png | Bin 0 -> 4647 bytes .../resources/lib/rcue/img/bg-login-2.png | Bin 0 -> 3428 bytes .../resources/lib/rcue/img/bg-login.jpg | Bin 0 -> 104174 bytes .../resources/lib/rcue/img/bg-login.png | Bin 0 -> 5040 bytes .../common/resources/lib/rcue/img/brand.svg | 147 + .../common/resources/lib/rcue/img/favicon.ico | Bin 0 -> 6518 bytes .../common/resources/lib/rcue/img/logo.svg | 94 + .../resources/lib/rcue/img/spinner-lg.gif | Bin 0 -> 2482 bytes .../resources/lib/rcue/img/spinner-sm.gif | Bin 0 -> 1567 bytes .../resources/lib/rcue/img/spinner-xs.gif | Bin 0 -> 748 bytes .../common/resources/lib/rcue/img/spinner.gif | Bin 0 -> 2142 bytes .../resources/lib/select2-3.4.1/LICENSE | 18 + .../resources/lib/select2-3.4.1/README.md | 83 + .../lib/select2-3.4.1/component.json | 8 + .../resources/lib/select2-3.4.1/release.sh | 69 + .../lib/select2-3.4.1/select2-spinner.gif | Bin 0 -> 1849 bytes .../resources/lib/select2-3.4.1/select2.css | 680 + .../lib/select2-3.4.1/select2.jquery.json | 36 + .../resources/lib/select2-3.4.1/select2.js | 3137 ++ .../lib/select2-3.4.1/select2.min.js | 22 + .../resources/lib/select2-3.4.1/select2.png | Bin 0 -> 613 bytes .../lib/select2-3.4.1/select2_locale_ar.js | 17 + .../lib/select2-3.4.1/select2_locale_ca.js | 17 + .../lib/select2-3.4.1/select2_locale_cs.js | 49 + .../lib/select2-3.4.1/select2_locale_da.js | 17 + .../lib/select2-3.4.1/select2_locale_de.js | 15 + .../lib/select2-3.4.1/select2_locale_el.js | 17 + .../select2_locale_en.js.template | 17 + .../lib/select2-3.4.1/select2_locale_es.js | 15 + .../lib/select2-3.4.1/select2_locale_et.js | 17 + .../lib/select2-3.4.1/select2_locale_eu.js | 43 + .../lib/select2-3.4.1/select2_locale_fi.js | 28 + .../lib/select2-3.4.1/select2_locale_fr.js | 15 + .../lib/select2-3.4.1/select2_locale_gl.js | 43 + .../lib/select2-3.4.1/select2_locale_he.js | 17 + .../lib/select2-3.4.1/select2_locale_hr.js | 42 + .../lib/select2-3.4.1/select2_locale_hu.js | 15 + .../lib/select2-3.4.1/select2_locale_id.js | 17 + .../lib/select2-3.4.1/select2_locale_is.js | 16 + .../lib/select2-3.4.1/select2_locale_it.js | 15 + .../lib/select2-3.4.1/select2_locale_ja.js | 15 + .../lib/select2-3.4.1/select2_locale_ko.js | 17 + .../lib/select2-3.4.1/select2_locale_lt.js | 29 + .../lib/select2-3.4.1/select2_locale_lv.js | 16 + .../lib/select2-3.4.1/select2_locale_mk.js | 17 + .../lib/select2-3.4.1/select2_locale_nl.js | 15 + .../lib/select2-3.4.1/select2_locale_no.js | 18 + .../lib/select2-3.4.1/select2_locale_pl.js | 37 + .../lib/select2-3.4.1/select2_locale_pt-BR.js | 15 + .../lib/select2-3.4.1/select2_locale_pt-PT.js | 15 + .../lib/select2-3.4.1/select2_locale_ro.js | 15 + .../lib/select2-3.4.1/select2_locale_ru.js | 15 + .../lib/select2-3.4.1/select2_locale_sk.js | 48 + .../lib/select2-3.4.1/select2_locale_sv.js | 17 + .../lib/select2-3.4.1/select2_locale_tr.js | 17 + .../lib/select2-3.4.1/select2_locale_ua.js | 17 + .../lib/select2-3.4.1/select2_locale_vi.js | 18 + .../lib/select2-3.4.1/select2_locale_zh-CN.js | 14 + .../lib/select2-3.4.1/select2_locale_zh-TW.js | 14 + .../resources/lib/select2-3.4.1/select2x2.png | Bin 0 -> 845 bytes .../lib/zocial/zocial-regular-webfont.eot | Bin 0 -> 25722 bytes .../lib/zocial/zocial-regular-webfont.svg | 1107 + .../lib/zocial/zocial-regular-webfont.ttf | Bin 0 -> 25552 bytes .../lib/zocial/zocial-regular-webfont.woff | Bin 0 -> 17736 bytes .../common/resources/lib/zocial/zocial.css | 505 + .../email/html/email-verification.ftl | 0 .../email/html/event-login_error.ftl | 0 .../email/html/event-remove_totp.ftl | 0 .../email/html/event-update_password.ftl | 0 .../email/html/event-update_totp.ftl | 0 .../email/html/executeActions.ftl | 0 .../email/html/identity-provider-link.ftl | 0 .../email/html/password-reset.ftl | 0 .../email/messages/messages_ca.properties | 0 .../email/messages/messages_de.properties | 0 .../email/messages/messages_en.properties | 0 .../email/messages/messages_es.properties | 0 .../email/messages/messages_fr.properties | 0 .../email/messages/messages_pt_BR.properties | 0 .../email/text/email-verification.ftl | 0 .../email/text/event-login_error.ftl | 0 .../email/text/event-remove_totp.ftl | 0 .../email/text/event-update_password.ftl | 0 .../email/text/event-update_totp.ftl | 0 .../email/text/executeActions.ftl | 0 .../email/text/identity-provider-link.ftl | 0 .../email/text/password-reset.ftl | 0 .../login/resources/css/login.css | 45 +- .../img/feedback-error-arrow-down.png | Bin .../resources/img/feedback-error-sign.png | Bin .../img/feedback-success-arrow-down.png | Bin .../resources/img/feedback-success-sign.png | Bin .../img/feedback-warning-arrow-down.png | Bin .../resources/img/feedback-warning-sign.png | Bin .../login/theme.properties | 6 +- .../{keycloak => rh-sso}/welcome/index.ftl | 52 +- .../welcome/resources/OpenSans-Bold.ttf | Bin 0 -> 224592 bytes .../welcome/resources/OpenSans-BoldItalic.ttf | Bin 0 -> 213292 bytes .../welcome/resources/OpenSans-ExtraBold.ttf | Bin 0 -> 222584 bytes .../resources/OpenSans-ExtraBoldItalic.ttf | Bin 0 -> 213420 bytes .../welcome/resources/OpenSans-Italic.ttf | Bin 0 -> 212896 bytes .../welcome/resources/OpenSans-Light.ttf | Bin 0 -> 222412 bytes .../resources/OpenSans-LightItalic.ttf | Bin 0 -> 213128 bytes .../welcome/resources/OpenSans-Regular.ttf | Bin 0 -> 217360 bytes .../welcome/resources/OpenSans-Semibold.ttf | Bin 0 -> 221328 bytes .../resources/OpenSans-SemiboldItalic.ttf | Bin 0 -> 212820 bytes .../theme/rh-sso/welcome/resources/brand.svg | 101 + .../rh-sso/welcome/resources/favicon.ico | Bin 0 -> 6518 bytes .../rh-sso/welcome/resources/keycloak.css | 170 + .../resources/META-INF/keycloak-server.json | 2 +- .../resources/META-INF/keycloak-server.json | 4 +- 1097 files changed, 303327 insertions(+), 816 deletions(-) delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/favicon.ico delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/keycloak-logo.png delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/logo.png delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/brand.svg delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/favicon.ico delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/keyclok-logo.svg delete mode 100755 forms/common-themes/src/main/resources/theme/keycloak/admin/theme.properties delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/login/resources/img/favicon.ico delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/login/resources/img/keycloak-bg.png delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/login/resources/img/keycloak-logo.png delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/welcome/resources/favicon.ico delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/welcome/resources/jboss_community.png delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/welcome/resources/keycloak.css delete mode 100644 forms/common-themes/src/main/resources/theme/keycloak/welcome/resources/keycloak_logo.png rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/account/resources/css/account.css (97%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/account/resources/img/icon-sidebar-active.png (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/account/theme.properties (76%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/admin/resources/css/styles.css (95%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/admin/resources/img/select-arrow.png (100%) create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/admin/theme.properties create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/img/brand.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/img/favicon.ico create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-cookies.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-loader.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-mocks.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-resource.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-route.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-sanitize.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-scenario.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-translate-loader-url.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-translate-storage-cookie.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-translate.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/errors.json create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/jstd-scenario-adapter-config.js create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/jstd-scenario-adapter.js create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/select2.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/treeview/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/treeview/README.md create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/treeview/angular.treeview.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/treeview/angular.treeview.min.js create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/treeview/css/angular.treeview.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/treeview/img/file.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/treeview/img/folder-closed.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/treeview/img/folder.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/ui-bootstrap-tpls-0.11.0.js create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/version.json create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/version.txt create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/font-awesome/fonts/FontAwesome.otf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/font-awesome/fonts/fontawesome-webfont.eot create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/font-awesome/fonts/fontawesome-webfont.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/font-awesome/fonts/fontawesome-webfont.ttf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/font-awesome/fonts/fontawesome-webfont.woff create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/font-awesome/fonts/fontawesome-webfont.woff2 create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/.bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/LICENSE.txt create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/OPEN_SOURCE_LICENCES.txt create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-combobox/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-combobox/css/bootstrap-combobox.css create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-combobox/js/bootstrap-combobox.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-combobox/less/combobox.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/CHANGELOG.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/CONTRIBUTING.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/composer.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/css/bootstrap-datepicker.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/js/bootstrap-datepicker.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ar.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.az.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.bg.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.bs.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ca.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.cs.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.cy.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.da.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.de.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.el.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-GB.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.es.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.et.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.eu.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fa.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fi.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fo.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fr-CH.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.fr.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.gl.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.he.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.hr.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.hu.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.hy.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.id.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.is.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.it-CH.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.it.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ja.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ka.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.kh.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.kk.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.kr.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.lt.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.lv.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.me.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.mk.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ms.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.nb.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.nl-BE.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.nl.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.no.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.pl.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.pt-BR.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.pt.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ro.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.rs-latin.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.rs.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.ru.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sk.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sl.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sq.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sr-latin.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sr.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sv.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sw.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.th.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.tr.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.uk.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.vi.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-CN.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-TW.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/demo_head.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/markup_component.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/markup_daterange.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/markup_inline.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/markup_input.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_calendarweeks.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_clearbtn.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_daysofweekdisabled.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_enddate.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_language.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_multidate.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_startdate.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_todaybtn.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_todayhighlight.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/option_weekstart.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/script/common.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/script/common.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/script/debug.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/script/html-imports.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_screenshots/script/screenshot.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/demo_head.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/markup_component.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/markup_daterange.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/markup_inline.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/markup_input.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_calendarweeks.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_clearbtn.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_daysofweekdisabled.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_enddate.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_language.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_multidate.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_startdate.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_todaybtn.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_todayhighlight.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/_static/screenshots/option_weekstart.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/conf.py create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/events.rst create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/i18n.rst create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/index.rst create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/keyboard.rst create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/make.bat create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/markup.rst create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/methods.rst create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/options.rst create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/docs/requirements.txt create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/bootstrap-datepicker.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ar.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.az.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.bg.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.bs.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ca.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.cs.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.cy.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.da.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.el.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-GB.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.et.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.eu.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fa.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fi.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fo.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr-CH.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.gl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.he.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.hr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.hu.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.hy.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.id.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.is.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.it-CH.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ja.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ka.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.kh.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.kk.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.kr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.lt.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.lv.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.me.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.mk.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ms.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.nb.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl-BE.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.no.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.pl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt-BR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ro.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.rs-latin.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.rs.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.ru.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sk.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sq.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sr-latin.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sv.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sw.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.th.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.tr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.uk.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.vi.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-TW.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/less/datepicker.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-datepicker/less/datepicker3.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/css/bootstrap-select.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/css/bootstrap-select.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/css/bootstrap-select.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/bootstrap-select.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/bootstrap-select.js.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/bootstrap-select.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-bg_BG.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-bg_BG.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-cs_CZ.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-cs_CZ.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-da_DK.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-da_DK.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-de_DE.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-de_DE.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-en_US.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-en_US.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-es_CL.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-es_CL.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-eu.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-eu.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-fa_IR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-fa_IR.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-fr_FR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-fr_FR.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-hu_HU.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-hu_HU.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-it_IT.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-it_IT.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-ko_KR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-ko_KR.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-nl_NL.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-nl_NL.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-pl_PL.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-pl_PL.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-pt_BR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-pt_BR.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-pt_PT.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-pt_PT.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-ro_RO.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-ro_RO.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-ru_RU.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-ru_RU.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-sk_SK.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-sk_SK.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-sl_SI.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-sl_SI.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-sv_SE.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-sv_SE.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-tr_TR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-tr_TR.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-ua_UA.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-ua_UA.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-zh_CN.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-zh_CN.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-zh_TW.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/dist/js/i18n/defaults-zh_TW.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/bootstrap-select.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-bg_BG.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-cs_CZ.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-da_DK.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-de_DE.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-en_US.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-es_CL.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-eu.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-fa_IR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-fr_FR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-hu_HU.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-it_IT.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-ko_KR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-nl_NL.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-pl_PL.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-pt_BR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-pt_PT.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-ro_RO.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-ru_RU.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-sk_SK.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-sl_SI.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-sv_SE.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-tr_TR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-ua_UA.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-zh_CN.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/js/i18n/defaults-zh_TW.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/less/bootstrap-select.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-select/less/variables.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/CHANGELOG.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/app.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/dist/bootstrap-treeview.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/dist/bootstrap-treeview.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/public/css/bootstrap-treeview.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/public/example-dom.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/public/index.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/public/js/bootstrap-treeview.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/screenshot/default.PNG create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/src/css/bootstrap-treeview.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap-treeview/src/js/bootstrap-treeview.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/css/bootstrap-theme.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/css/bootstrap-theme.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/css/bootstrap-theme.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/css/bootstrap.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/css/bootstrap.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/css/bootstrap.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/js/bootstrap.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/js/bootstrap.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/dist/js/npm.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/fonts/glyphicons-halflings-regular.eot create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/fonts/glyphicons-halflings-regular.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/fonts/glyphicons-halflings-regular.ttf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/fonts/glyphicons-halflings-regular.woff create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/fonts/glyphicons-halflings-regular.woff2 create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/grunt/bs-commonjs-generator.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/grunt/bs-glyphicons-data-generator.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/grunt/bs-lessdoc-parser.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/grunt/bs-raw-files-generator.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/grunt/configBridge.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/grunt/sauce_browsers.yml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/affix.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/alert.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/button.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/carousel.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/collapse.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/dropdown.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/modal.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/popover.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/scrollspy.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/tab.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/tooltip.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/js/transition.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/alerts.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/badges.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/bootstrap.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/breadcrumbs.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/button-groups.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/buttons.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/carousel.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/close.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/code.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/component-animations.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/dropdowns.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/forms.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/glyphicons.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/grid.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/input-groups.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/jumbotron.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/labels.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/list-group.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/media.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/alerts.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/background-variant.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/border-radius.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/buttons.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/center-block.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/clearfix.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/forms.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/gradients.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/grid-framework.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/grid.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/hide-text.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/image.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/labels.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/list-group.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/nav-divider.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/nav-vertical-align.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/opacity.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/pagination.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/panels.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/progress-bar.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/reset-filter.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/reset-text.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/resize.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/responsive-visibility.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/size.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/tab-focus.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/table-row.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/text-emphasis.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/text-overflow.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/mixins/vendor-prefixes.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/modals.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/navbar.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/navs.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/normalize.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/pager.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/pagination.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/panels.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/popovers.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/print.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/progress-bars.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/responsive-embed.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/responsive-utilities.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/scaffolding.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/tables.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/theme.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/thumbnails.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/tooltip.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/type.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/utilities.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/variables.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/less/wells.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/bootstrap/package.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/c3.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/c3.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/c3.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/c3.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/extensions/exporter/config.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/extensions/exporter/phantom-exporter.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/extensions/exporter/test.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/c3/extensions/js/c3ext.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/d3/CONTRIBUTING.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/d3/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/d3/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/d3/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/d3/d3.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/d3/d3.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/License.txt create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/Readme.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/css/dataTables.colReorder.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/alt_insert.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/col_filter.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/colvis.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/fixedcolumns.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/fixedheader.xml create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/index.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/jqueryui.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/new_init.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/predefined.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/realtime.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/reset.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/scrolling.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/server_side.xml create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/simple.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/examples/state_save.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/images/insert.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/js/dataTables.colReorder.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colreorder/make.sh create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/License.txt create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/bower.json create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/css/dataTables.colVis.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/css/dataTables.colvis.jqueryui.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/button_order.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/exclude_columns.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/group_columns.xml create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/index.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/jqueryui.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/mouseover.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/new_init.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/restore.xml create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/simple.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/text.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/title_callback.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/two_tables.xml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/examples/two_tables_identical.xml create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/js/dataTables.colVis.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables-colvis/make.sh create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/Contributing.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/Readme.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/license.txt create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/css/jquery.dataTables.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/css/jquery.dataTables.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/css/jquery.dataTables_themeroller.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/images/Sorting icons.psd create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/images/favicon.ico create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/images/sort_asc.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/images/sort_asc_disabled.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/images/sort_both.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/images/sort_desc.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/images/sort_desc_disabled.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/js/jquery.dataTables.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/js/jquery.dataTables.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/datatables/media/js/jquery.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/css/font-awesome.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/css/font-awesome.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/css/font-awesome.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/fonts/FontAwesome.otf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/fonts/fontawesome-webfont.eot create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/fonts/fontawesome-webfont.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/fonts/fontawesome-webfont.ttf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/fonts/fontawesome-webfont.woff create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/fonts/fontawesome-webfont.woff2 create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/animated.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/bordered-pulled.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/core.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/fixed-width.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/font-awesome.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/icons.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/larger.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/list.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/mixins.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/path.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/rotated-flipped.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/stacked.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/less/variables.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_animated.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_bordered-pulled.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_core.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_fixed-width.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_icons.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_larger.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_list.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_mixins.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_path.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_rotated-flipped.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_stacked.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/_variables.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/font-awesome/scss/font-awesome.scss create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/CHANGES.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/COPYING create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/README-zh-Hans.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/README.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/bin/prettify.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/bin/prettify.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/bin/run_prettify.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/examples/quine.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-apollo.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-basic.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-clj.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-css.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-dart.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-erlang.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-go.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-hs.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-lisp.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-llvm.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-lua.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-matlab.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-ml.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-mumps.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-n.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-pascal.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-proto.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-r.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-rd.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-scala.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-sql.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-tcl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-tex.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-vb.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-vhdl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-wiki.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-xq.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/lang-yaml.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/prettify.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/prettify.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/src/run_prettify.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/styles/demo.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/styles/desert.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/styles/doxy.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/styles/index.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/styles/sons-of-obsidian.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/google-code-prettify/styles/sunburst.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/MIT-LICENSE.txt create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/dist/jquery.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/dist/jquery.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/dist/jquery.min.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax/jsonp.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax/load.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax/parseJSON.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax/parseXML.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax/script.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax/var/nonce.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax/var/rquery.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/ajax/xhr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/attributes.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/attributes/attr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/attributes/classes.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/attributes/prop.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/attributes/support.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/attributes/val.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/callbacks.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/core.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/core/access.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/core/init.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/core/parseHTML.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/core/ready.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/core/var/rsingleTag.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/addGetHookIf.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/curCSS.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/defaultDisplay.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/hiddenVisibleSelectors.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/support.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/swap.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/var/cssExpand.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/var/getStyles.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/var/isHidden.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/var/rmargin.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/css/var/rnumnonpx.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/data.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/data/Data.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/data/accepts.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/data/var/data_priv.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/data/var/data_user.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/deferred.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/deprecated.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/dimensions.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/effects.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/effects/Tween.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/effects/animatedSelector.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/event.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/event/ajax.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/event/alias.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/event/support.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/exports/amd.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/exports/global.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/intro.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/jquery.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/manipulation.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/manipulation/_evalUrl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/manipulation/support.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/manipulation/var/rcheckableType.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/offset.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/outro.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/queue.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/queue/delay.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/selector-native.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/selector-sizzle.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/selector.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/serialize.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/sizzle/dist/sizzle.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/sizzle/dist/sizzle.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/sizzle/dist/sizzle.min.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/traversing.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/traversing/findFilter.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/traversing/var/rneedsContext.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/arr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/class2type.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/concat.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/hasOwn.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/indexOf.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/pnum.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/push.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/rnotwhite.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/slice.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/strundefined.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/support.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/var/toString.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/jquery/src/wrap.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/CHANGELOG.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/bower.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/jquery.matchHeight-min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/jquery.matchHeight.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/lib/jquery-1.11.0.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/matchHeight.jquery.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/test.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/test.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/components/matchHeight/test.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/css/patternfly-additions.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/css/patternfly-additions.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/css/patternfly-additions.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/css/patternfly-additions.min.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/css/patternfly.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/css/patternfly.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/css/patternfly.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/css/patternfly.min.css.map create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Bold-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Bold-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Bold-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Bold-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-BoldItalic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-ExtraBold-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Italic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Italic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Italic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Italic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Light-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Light-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Light-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Light-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-LightItalic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-LightItalic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-LightItalic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-LightItalic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Regular-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Regular-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Regular-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Regular-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Semibold-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Semibold-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Semibold-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/PatternFlyIcons-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/PatternFlyIcons-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/PatternFlyIcons-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/fonts/PatternFlyIcons-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/apple-touch-icon-precomposed-114.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/apple-touch-icon-precomposed-144.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/apple-touch-icon-precomposed-152.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/apple-touch-icon-precomposed-180.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/apple-touch-icon-precomposed-57.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/apple-touch-icon-precomposed-72.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/apple-touch-icon-precomposed-76.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/bg-login.jpg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/brand.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/favicon.ico create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/logo.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/spinner-lg.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/spinner-sm.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/spinner-xs.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/img/spinner.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/js/patternfly.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/dist/js/patternfly.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/alerts.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/badges.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/blank-slate.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/bootstrap-combobox.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/bootstrap-datepicker.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/bootstrap-select.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/bootstrap-treeview.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/breadcrumbs.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/buttons.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/cards.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/charts.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/close.less create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/datatables.less create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/dropdowns.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/fonts.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/forms.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/icons.less create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/infotip.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/labels.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/list-group.less create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/login.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/mixins.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/modals.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/navbar.less create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/pager.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/pagination.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/panels.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/patternfly-additions.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/patternfly.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/popovers.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/progress-bars.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/search.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/sidebar.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/spinner.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/syntax-highlighting.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/tables.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/tabs.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/tooltip.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/type.less create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/less/variables.less create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_config.yml create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_includes/datatable.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_includes/form.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_includes/head.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_includes/layouts-navbar-primary.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_layouts/cards.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_layouts/default.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_layouts/layout.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_layouts/login.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_layouts/page.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_plugins/strip.rb create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/_plugins/weighted_pages.rb create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/accordions.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/alerts.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/badges.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/basic.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/blank-slate.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/bootstrap-combobox.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/bootstrap-datepicker.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/bootstrap-select.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/bootstrap-treeview-2.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/bootstrap-treeview.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/breadcrumbs.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/buttons.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/cards.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/charts.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/code.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/dashboard.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/datatables-columns.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/datatables.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/dropdowns.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/form.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/forms.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/icons.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/img/dashboard-3.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/index.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/infotip.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/labels.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/list-group.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/login.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/modals.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/navbar.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/pagination.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/panels.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/popovers.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/progress-bars.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/search.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/spinner.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/tab.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/tables.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/tabs.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/tests.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/tooltip.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/typography-2.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/typography-2.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/components/patternfly/tests-src/typography.html create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/filesaver/FileSaver.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/FileAPI.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-html5-shim.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-html5-shim.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-shim.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-shim.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload.min.js create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/jquery/jquery-1.10.2.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/css/patternfly.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/css/patternfly.min.css create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Bold-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Bold-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Bold-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Bold-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-BoldItalic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-BoldItalic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-BoldItalic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-BoldItalic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-ExtraBold-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-ExtraBold-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-ExtraBold-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-ExtraBold-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-ExtraBoldItalic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-ExtraBoldItalic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-ExtraBoldItalic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-ExtraBoldItalic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Italic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Italic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Italic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Italic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Light-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Light-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Light-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Light-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-LightItalic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-LightItalic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-LightItalic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-LightItalic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Regular-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Regular-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Regular-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Regular-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Semibold-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Semibold-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Semibold-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-Semibold-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-SemiboldItalic-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-SemiboldItalic-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-SemiboldItalic-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/OpenSans-SemiboldItalic-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/PatternFlyIcons-webfont.eot create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/PatternFlyIcons-webfont.svg create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/PatternFlyIcons-webfont.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/fonts/PatternFlyIcons-webfont.woff create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/apple-touch-icon-114-precomposed.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/apple-touch-icon-144-precomposed.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/apple-touch-icon-57-precomposed.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/apple-touch-icon-72-precomposed.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/bg-login.jpg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/brand-lg.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/brand.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/brand.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/favicon.ico create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/logo.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/logo.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/spinner-lg.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/spinner-sm.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/spinner-xs.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/img/spinner.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/js/patternfly.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/patternfly/js/patternfly.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/rcue-additions.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/rcue-additions.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/rcue-additions.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/rcue-additions.min.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/rcue.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/rcue.css.map create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/rcue.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/rcue.min.css.map create mode 120000 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/styles-additions.css create mode 120000 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/styles-additions.min.css create mode 120000 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/styles.css create mode 120000 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/css/styles.min.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/apple-touch-icon-precomposed-114.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/apple-touch-icon-precomposed-120.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/apple-touch-icon-precomposed-144.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/apple-touch-icon-precomposed-152.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/apple-touch-icon-precomposed-180.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/apple-touch-icon-precomposed-57.png create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/apple-touch-icon-precomposed-72.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/apple-touch-icon-precomposed-76.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/bg-login-2.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/bg-login.jpg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/bg-login.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/brand.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/favicon.ico create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/logo.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/spinner-lg.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/spinner-sm.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/spinner-xs.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/rcue/img/spinner.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/LICENSE create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/README.md create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/component.json create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/release.sh create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2-spinner.gif create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2.css create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2.jquery.json create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2.min.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_ar.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_ca.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_cs.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_da.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_de.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_el.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_en.js.template create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_es.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_et.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_eu.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_fi.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_fr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_gl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_he.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_hr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_hu.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_id.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_is.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_it.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_ja.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_ko.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_lt.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_lv.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_mk.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_nl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_no.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_pl.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_pt-BR.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_pt-PT.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_ro.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_ru.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_sk.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_sv.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_tr.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_ua.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_vi.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_zh-CN.js create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2_locale_zh-TW.js create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/select2-3.4.1/select2x2.png create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/zocial/zocial-regular-webfont.eot create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/zocial/zocial-regular-webfont.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/zocial/zocial-regular-webfont.ttf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/zocial/zocial-regular-webfont.woff create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/zocial/zocial.css rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/html/email-verification.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/html/event-login_error.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/html/event-remove_totp.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/html/event-update_password.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/html/event-update_totp.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/html/executeActions.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/html/identity-provider-link.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/html/password-reset.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/messages/messages_ca.properties (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/messages/messages_de.properties (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/messages/messages_en.properties (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/messages/messages_es.properties (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/messages/messages_fr.properties (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/messages/messages_pt_BR.properties (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/text/email-verification.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/text/event-login_error.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/text/event-remove_totp.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/text/event-update_password.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/text/event-update_totp.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/text/executeActions.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/text/identity-provider-link.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/email/text/password-reset.ftl (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/login/resources/css/login.css (92%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/login/resources/img/feedback-error-arrow-down.png (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/login/resources/img/feedback-error-sign.png (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/login/resources/img/feedback-success-arrow-down.png (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/login/resources/img/feedback-success-sign.png (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/login/resources/img/feedback-warning-arrow-down.png (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/login/resources/img/feedback-warning-sign.png (100%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/login/theme.properties (88%) rename forms/common-themes/src/main/resources/theme/{keycloak => rh-sso}/welcome/index.ftl (75%) create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-Bold.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-BoldItalic.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-ExtraBold.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-ExtraBoldItalic.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-Italic.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-Light.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-LightItalic.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-Regular.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-Semibold.ttf create mode 100755 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/OpenSans-SemiboldItalic.ttf create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/brand.svg create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/favicon.ico create mode 100644 forms/common-themes/src/main/resources/theme/rh-sso/welcome/resources/keycloak.css diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/standalone/configuration/keycloak-server.json b/distribution/feature-packs/server-feature-pack/src/main/resources/content/standalone/configuration/keycloak-server.json index a5b4d1b827..0ce6c7a49a 100644 --- a/distribution/feature-packs/server-feature-pack/src/main/resources/content/standalone/configuration/keycloak-server.json +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/content/standalone/configuration/keycloak-server.json @@ -31,7 +31,7 @@ }, "theme": { - "default": "keycloak", + "default": "rh-sso", "staticMaxAge": 2592000, "cacheTemplates": true, "cacheThemes": true, @@ -60,4 +60,4 @@ "cacheContainer" : "java:comp/env/infinispan/Keycloak" } } -} \ No newline at end of file +} diff --git a/forms/common-themes/src/main/resources/META-INF/keycloak-themes.json b/forms/common-themes/src/main/resources/META-INF/keycloak-themes.json index 56322d3176..cb0d2b8251 100755 --- a/forms/common-themes/src/main/resources/META-INF/keycloak-themes.json +++ b/forms/common-themes/src/main/resources/META-INF/keycloak-themes.json @@ -4,6 +4,9 @@ "types": [ "admin", "account", "login" ] }, { "name" : "keycloak", + "types": [ "common" ] + }, { + "name" : "rh-sso", "types": [ "admin", "account", "login", "common", "email", "welcome" ] }] -} \ No newline at end of file +} diff --git a/forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/favicon.ico b/forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/favicon.ico deleted file mode 100644 index b30dce56c95ea8e32ef6afdcc78193ec00c135e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmbu-S4>k;9LMo%Vw^EH&N$-W1;o9#H7-OMiox;Vh>H54D1xP0mZJ&eq9R(x9*2n}2iD_H%!~bM94?X5!Rn6mj%X)-+d? zF5=2djQUj{G0o(sqD&UQ{d=5DTFU*4$sE>CBP%(C0~@v2?RK0WoRm3BDJgx=`;uZ_ zzbWL})yr&KHi)npE!|_?7lOsKm`HyOH`DdMec|8U;V9zP?Hiaj%y7Hdg}sQF)sCD) zVQlhik7;FpQVqT&t{TFlhYu(y$j4@TMsDssPNf~d7&1y)ePAc_fgMR$?ujK%i#c`< zG4p$JFhWbh3U74cUg0y_pbzRs)Itw*{vF(z>i;4GI$+k1Cwq4Q=S{x+a8*)UR>0@d z$5a&FB{e!g-lORn)t+1Cc4o(753KRNT-*~#R^lwq#ryE1z6w`$5nsxl@YVT@hEGnJ z5fd!(=XE7^K@WDX_9ophk(|AArM-|eTUx7eDnIM1|M;iE+i-n+$=!2%WfEm!sj zb18YAv}$K*6MV4loW|+xlll3rMtFzF7yd&&uJY&9f3)*9{|<4BdUIGe=1-;{S*G8e z)m+t{+B#AATH)XFMRc!|{)OTM?pd!CD^; zCz6&^?Z}h<``1e8EwK|s*GaOknrVq1EA8rRA&wsc4L2zhIu#f&uOT6$BPHq7?*mAceO7m>%3$~ Uw-I@b?&x|ij)Z!mDE!y_0$1zDIRF3v diff --git a/forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/keycloak-logo.png b/forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/keycloak-logo.png deleted file mode 100644 index 955574855d493cc248e112b7d755a95d641613f8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5213 zcmaJ_cT^MW_6;H;A{{Ig2}nmmLJ1`F5)_dlMWjee0)&ua5}GuDDd;Q004kV_lCCd z$(VTZ2%kN3@~%d%Rh$f$DTuoi6M`ef!=8i&XrKrVXrM06-U)4twnus0Z$~Qw0JK6F z)4P7-%Op7um(2nhVUq`w07 z_5c4+9PaOEGQ}AEU%mfGOg8l*qNR<|WP%$Bd2(=$SAVA>!nH_fdkTSMN+7uY)kPy` z0);?!CJ=#ICQzW5zC99y|GgppCqiEzu8SvA?D0snuC|Kc2?q#+LBX|UWWZoeZ72)@ zg+L$(Sr|k|3!$T^2!(*XZGXTKaqpPi9>N&b(&ER87tvY^vYr8#_^(_0gHjoST ztL*JvNpJBQXJ6LA>U7*SmPZn6gY;%Trx`1aEF{92?&t|>aF*R{Lt@SgJ>)!V1r*rV zk!imrQ*pdX5}8OI6Ox70rM3C2eKY9ZOCcZs`qG`k`c^$GbCZ_eDAAa~Q(z<|dG_Ty zb^s^9kJj2LufQBClr7P8K}4)?!{+w1&14>G{=#Q~$0_9xRY(ID##RI-@^ z|8ACygkMTDWj5lc#T@!u`Sacx@>ax_W*55PN8yj^fUQr%>;eA}c(ZUZ*Iv_iYR5Gs+>vonoU5g>S zt*a{%H2>WA*AoGiWUIxOLvo21kL|k9M2}o%nmW1F)KnDMoGn2jFTd~)5_u!kCEsl2 zio?s}MChGmXF#t+0d@yjLw`EVVfj=l^U4G7O7KvsLv4y*gUp$;m-ox*oFm)5G^Mal zxAd*c*JpTT?MG)YtIH(4^7aJO?loTZzwyOzJIDaKRy^ zS$c^q9uPm{Wv6!^DT$^W3*R)*3i*UnXVnC?PGP#TOq{6)k7LcP4e(cN@=Jn`DJHa* zdHtqZY>h_;Se#PH4=LjO7wwq!CwMyg;|7E;^Ad5zw4kqlxAmpHF9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FT;g@I`&Xi{ zqPlfTW8aeYu|_wMuLMQp@#FpXY{*k$H9SY&4lD_u5}ignkP}yAR_EsNJ7sQ(rH<1e zP!#>j_JwXM`yn&f!`K)5K?R)w;v33@65NoyYgg#{?=OOq9Td6pIt$`SbU6OZ6?kZ$M)sLa>1~T z9v<%2-CJUCzi*&e!cuwcuREt12)CNnWOWB6P+RL-o^S>_m&c#oOXEIEeAF%jsJ{Qu zzuLLHQ*rmac_^mYyJA) - - -image/svg+xml \ No newline at end of file diff --git a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/favicon.ico b/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/favicon.ico deleted file mode 100644 index b30dce56c95ea8e32ef6afdcc78193ec00c135e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmbu-S4>k;9LMo%Vw^EH&N$-W1;o9#H7-OMiox;Vh>H54D1xP0mZJ&eq9R(x9*2n}2iD_H%!~bM94?X5!Rn6mj%X)-+d? zF5=2djQUj{G0o(sqD&UQ{d=5DTFU*4$sE>CBP%(C0~@v2?RK0WoRm3BDJgx=`;uZ_ zzbWL})yr&KHi)npE!|_?7lOsKm`HyOH`DdMec|8U;V9zP?Hiaj%y7Hdg}sQF)sCD) zVQlhik7;FpQVqT&t{TFlhYu(y$j4@TMsDssPNf~d7&1y)ePAc_fgMR$?ujK%i#c`< zG4p$JFhWbh3U74cUg0y_pbzRs)Itw*{vF(z>i;4GI$+k1Cwq4Q=S{x+a8*)UR>0@d z$5a&FB{e!g-lORn)t+1Cc4o(753KRNT-*~#R^lwq#ryE1z6w`$5nsxl@YVT@hEGnJ z5fd!(=XE7^K@WDX_9ophk(|AArM-|eTUx7eDnIM1|M;iE+i-n+$=!2%WfEm!sj zb18YAv}$K*6MV4loW|+xlll3rMtFzF7yd&&uJY&9f3)*9{|<4BdUIGe=1-;{S*G8e z)m+t{+B#AATH)XFMRc!|{)OTM?pd!CD^; zCz6&^?Z}h<``1e8EwK|s*GaOknrVq1EA8rRA&wsc4L2zhIu#f&uOT6$BPHq7?*mAceO7m>%3$~ Uw-I@b?&x|ij)Z!mDE!y_0$1zDIRF3v diff --git a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/keyclok-logo.svg b/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/keyclok-logo.svg deleted file mode 100644 index 80bb95ad20..0000000000 --- a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/keyclok-logo.svg +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/forms/common-themes/src/main/resources/theme/keycloak/admin/theme.properties b/forms/common-themes/src/main/resources/theme/keycloak/admin/theme.properties deleted file mode 100755 index c9307850ac..0000000000 --- a/forms/common-themes/src/main/resources/theme/keycloak/admin/theme.properties +++ /dev/null @@ -1,3 +0,0 @@ -parent=base -import=common/keycloak -styles=lib/patternfly/css/patternfly.css lib/select2-3.4.1/select2.css css/styles.css lib/angular/treeview/css/angular.treeview.css \ No newline at end of file diff --git a/forms/common-themes/src/main/resources/theme/keycloak/login/resources/img/favicon.ico b/forms/common-themes/src/main/resources/theme/keycloak/login/resources/img/favicon.ico deleted file mode 100644 index b30dce56c95ea8e32ef6afdcc78193ec00c135e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmbu-S4>k;9LMo%Vw^EH&N$-W1;o9#H7-OMiox;Vh>H54D1xP0mZJ&eq9R(x9*2n}2iD_H%!~bM94?X5!Rn6mj%X)-+d? zF5=2djQUj{G0o(sqD&UQ{d=5DTFU*4$sE>CBP%(C0~@v2?RK0WoRm3BDJgx=`;uZ_ zzbWL})yr&KHi)npE!|_?7lOsKm`HyOH`DdMec|8U;V9zP?Hiaj%y7Hdg}sQF)sCD) zVQlhik7;FpQVqT&t{TFlhYu(y$j4@TMsDssPNf~d7&1y)ePAc_fgMR$?ujK%i#c`< zG4p$JFhWbh3U74cUg0y_pbzRs)Itw*{vF(z>i;4GI$+k1Cwq4Q=S{x+a8*)UR>0@d z$5a&FB{e!g-lORn)t+1Cc4o(753KRNT-*~#R^lwq#ryE1z6w`$5nsxl@YVT@hEGnJ z5fd!(=XE7^K@WDX_9ophk(|AArM-|eTUx7eDnIM1|M;iE+i-n+$=!2%WfEm!sj zb18YAv}$K*6MV4loW|+xlll3rMtFzF7yd&&uJY&9f3)*9{|<4BdUIGe=1-;{S*G8e z)m+t{+B#AATH)XFMRc!|{)OTM?pd!CD^; zCz6&^?Z}h<``1e8EwK|s*GaOknrVq1EA8rRA&wsc4L2zhIu#f&uOT6$BPHq7?*mAceO7m>%3$~ Uw-I@b?&x|ij)Z!mDE!y_0$1zDIRF3v diff --git a/forms/common-themes/src/main/resources/theme/keycloak/login/resources/img/keycloak-bg.png b/forms/common-themes/src/main/resources/theme/keycloak/login/resources/img/keycloak-bg.png deleted file mode 100644 index 3e579b7f4b8c687237c62c4769422fbb0c791302..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 44369 zcmX^-2RPLK{~w8zO-a^OqLi6=GLn^DNV4Udy;sH=MTk(6J+e1Rb~q_lWM!O;jKdug za>7~v_viecf6voX-uE7_z0dPIy6W_&I8H$jM6YpMMIVBw-a^pvcQn-S3dIT@{Bzvv zmWCk>_=BSPFADs8(*5=WFYqZA{!4M|O1d9dJm;-y>}}v?>;2f;^AYs;@nc~JS0^tU zYxhUOZk~4Of8;nI=scvMqGafo@q2Q`cg%Q1xW9HQDLk`OA?Ogh8;u9B_1R4+~gMKU%&7@BZJihQP^e3aOjqYn-Fk z&RN|!-Vbg>+h%m&6My`OJchm@p@je|5IT^6q8{a8C4amGPSt6UPnD;EQ_V-G9N}f1 zqvZs!ynD2~1VD9Ft|0=vA?Tx#=JU$sBn3LC5`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z(?fbsyWwse7O*nXxintDlAGF1<297V-yU0e6hrWrHrp=B(q0yS9o*( z?HA{9lL4Mo*G;R)?WI@iKg15=Y55J(u6s2WRg2&4iFRygUd4BvXJC}NubF!Yt>LME zSU#g(&8|8_hu#RdB~0ojp?!_>mszTX7Lw}^#a_KCT@xr3yf5Gx!Et$#WrY3mZGs5D zaka|MWJmQlJr1b1TNW6RSDHSBU-N48ZZHgrG|=|(SKnYw)YGG<*o54Vjk;9LMo%Vw^EH&N$-W1;o9#H7-OMiox;Vh>H54D1xP0mZJ&eq9R(x9*2n}2iD_H%!~bM94?X5!Rn6mj%X)-+d? zF5=2djQUj{G0o(sqD&UQ{d=5DTFU*4$sE>CBP%(C0~@v2?RK0WoRm3BDJgx=`;uZ_ zzbWL})yr&KHi)npE!|_?7lOsKm`HyOH`DdMec|8U;V9zP?Hiaj%y7Hdg}sQF)sCD) zVQlhik7;FpQVqT&t{TFlhYu(y$j4@TMsDssPNf~d7&1y)ePAc_fgMR$?ujK%i#c`< zG4p$JFhWbh3U74cUg0y_pbzRs)Itw*{vF(z>i;4GI$+k1Cwq4Q=S{x+a8*)UR>0@d z$5a&FB{e!g-lORn)t+1Cc4o(753KRNT-*~#R^lwq#ryE1z6w`$5nsxl@YVT@hEGnJ z5fd!(=XE7^K@WDX_9ophk(|AArM-|eTUx7eDnIM1|M;iE+i-n+$=!2%WfEm!sj zb18YAv}$K*6MV4loW|+xlll3rMtFzF7yd&&uJY&9f3)*9{|<4BdUIGe=1-;{S*G8e z)m+t{+B#AATH)XFMRc!|{)OTM?pd!CD^; zCz6&^?Z}h<``1e8EwK|s*GaOknrVq1EA8rRA&wsc4L2zhIu#f&uOT6$BPHq7?*mAceO7m>%3$~ Uw-I@b?&x|ij)Z!mDE!y_0$1zDIRF3v diff --git a/forms/common-themes/src/main/resources/theme/keycloak/welcome/resources/jboss_community.png b/forms/common-themes/src/main/resources/theme/keycloak/welcome/resources/jboss_community.png deleted file mode 100644 index 946e8f93c7fb07641f51326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-themes/src/main/resources/theme/keycloak/account/resources/css/account.css b/forms/common-themes/src/main/resources/theme/rh-sso/account/resources/css/account.css similarity index 97% rename from forms/common-themes/src/main/resources/theme/keycloak/account/resources/css/account.css rename to forms/common-themes/src/main/resources/theme/rh-sso/account/resources/css/account.css index a18d0f2675..87546472f8 100644 --- a/forms/common-themes/src/main/resources/theme/keycloak/account/resources/css/account.css +++ b/forms/common-themes/src/main/resources/theme/rh-sso/account/resources/css/account.css @@ -19,12 +19,14 @@ header .navbar { } .navbar-title { - background-image: url('../img/logo.png'); + background-image: url('../img/brand.svg'); height: 25px; background-repeat: no-repeat; - width: 103px; + width: 172px; margin: 3px 10px 5px; text-indent: -99999px; + position: relative; + top: 8px; } .navbar-pf .navbar-utility { @@ -271,4 +273,4 @@ hr + .form-horizontal { } .kc-dropdown:hover ul{ display:block; -} \ No newline at end of file +} diff --git a/forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/icon-sidebar-active.png b/forms/common-themes/src/main/resources/theme/rh-sso/account/resources/img/icon-sidebar-active.png similarity index 100% rename from forms/common-themes/src/main/resources/theme/keycloak/account/resources/img/icon-sidebar-active.png rename to forms/common-themes/src/main/resources/theme/rh-sso/account/resources/img/icon-sidebar-active.png diff --git a/forms/common-themes/src/main/resources/theme/keycloak/account/theme.properties b/forms/common-themes/src/main/resources/theme/rh-sso/account/theme.properties similarity index 76% rename from forms/common-themes/src/main/resources/theme/keycloak/account/theme.properties rename to forms/common-themes/src/main/resources/theme/rh-sso/account/theme.properties index 69a79ec982..e398bcc37b 100644 --- a/forms/common-themes/src/main/resources/theme/keycloak/account/theme.properties +++ b/forms/common-themes/src/main/resources/theme/rh-sso/account/theme.properties @@ -1,7 +1,7 @@ parent=base -import=common/keycloak +import=common/rh-sso -styles=lib/patternfly/css/patternfly.css css/account.css +styles=lib/rcue/css/rcue.min.css lib/rcue/css/rcue-additions.min.css css/account.css ##### css classes for form buttons # main class used for all buttons diff --git a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css b/forms/common-themes/src/main/resources/theme/rh-sso/admin/resources/css/styles.css similarity index 95% rename from forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css rename to forms/common-themes/src/main/resources/theme/rh-sso/admin/resources/css/styles.css index 500ed89990..62da92dfd5 100644 --- a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/css/styles.css +++ b/forms/common-themes/src/main/resources/theme/rh-sso/admin/resources/css/styles.css @@ -265,15 +265,24 @@ table { border-top: none!important; } +.navbar-pf .navbar-header { + height: 56px; +} + .navbar-pf .navbar-brand { padding: 0; - height: 56px; - line-height: 56px; + height: 14px; + line-height: 14px; background-position: center center; - background-image: url('../img/keyclok-logo.svg'); - background-size: 148px 36px; + background-image: url('../img/brand.svg'); + background-size: 172px 10px; background-repeat: no-repeat; - width: 148px; + width: 176px; + position: relative; + top: 50%; + -webkit-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); } .navbar-pf .navbar-utility > li > a{ diff --git a/forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/select-arrow.png b/forms/common-themes/src/main/resources/theme/rh-sso/admin/resources/img/select-arrow.png similarity index 100% rename from forms/common-themes/src/main/resources/theme/keycloak/admin/resources/img/select-arrow.png rename to forms/common-themes/src/main/resources/theme/rh-sso/admin/resources/img/select-arrow.png diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/admin/theme.properties b/forms/common-themes/src/main/resources/theme/rh-sso/admin/theme.properties new file mode 100755 index 0000000000..046dfb5a12 --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/admin/theme.properties @@ -0,0 +1,3 @@ +parent=base +import=common/rh-sso +styles=lib/rcue/css/rcue.min.css lib/rcue/css/rcue-additions.min.css lib/select2-3.4.1/select2.css css/styles.css lib/angular/treeview/css/angular.treeview.css diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/img/brand.svg b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/img/brand.svg new file mode 100644 index 0000000000..a908d8c006 --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/img/brand.svg @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/img/favicon.ico b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/img/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..dad490b8d59c651207fcc6687cebd25c37027a9d GIT binary patch literal 6518 zcmeHLeQ;FO6@R;BH^VY%GJzBl+0A>qdGGC#Y!(MXF<2-iCWLQiKw~XBTNvmX=oT{}33Ot_OXO@XJhP)~q?5 z6DLkKtoO~yWU|24fxcKKxm~+Hr6o(3^XuNiLVvfvNH*&0*V5v}&o;3<`iB4;ctA_b z*D~R&&Ys`@c0n(mfS`c!QsZ4Ob{9 zH=nfVW(t>nM7sK!kk#cwq$#K2$6jFOCsNVo400YGl0X`>X z;HLner=s8ty_JIP&*xD+a1i(gxCnFre4e%d$AFDM)vfTP%R=8Ta4zmgeItd>(q|xm zrF(M)vN_Q4j~gNFW9)JCMQ_vs@K*Gp>$+WQ*3@^r`DSBR`atOWRex=O?A&zu{ysM~ zZR-S2$HIlb;cuG#y|KlYU(W{1Z~iXbbeT1K&L!}4)z$qWapA&6``c>kTad{H4DbNW z_P|@Hjf#p1u)$3wr7_MM7(JH0WLsOC+LsM@|C%-ChN_JlH&GxUQ~9_br{tQNwsQ;; z0M1ySF>ZXtrRwUMiR8O7J^Z0@% zdF~S9?wF7Ov2!08)m2rz$9nji%s?Bt+aN=74JXN?_eej`@H{j*$UCCf9%GG5w__D# zxx5BkWnW=oA+KBJr$dL2CSF;&A~B!d4S9JK#HGpID6hCuTK7vE5ZAn z@I_blfpd=l=Z_llVU9bunJ2S7umN+TM|P3N>$7cOUM?wqJJ(}=E&8IF@3Fti=g|F$ zsKemoxQjT1kUN*uldioFe&n*(h=-Z4Hq!|I?dklS$BEpPc|Gu7)prVRQ|E4zAM1*F zb>#pR!#02M6rqRnNmbd6`vB}p@pFt2t0Lt0@@HuC93W>^PEqc#fX)A%@LrNW;QeXO zi(dM!#mzc)L&p*GIkH7?dXc-@^Mkt(@?hLAa33+}#at6%`8d}8pK*V99kzWd?B;ct zHvcCq{+ERR(51$nb8zp0&0mQ5Rl?@oL*()tD+{*;CkemA9Vq4dUif?j*pD3hPT04K zbnH=X+j7=<^nu0C_XY7zD{Cf0_quWHh_P&%|*JXwxWAd>3Wmj-tm_ z30uTj0=;3rKOw$X`h5935ckTW|`7YAp0lfMa9#ESX!vU<$_BFslM&YM4pb|{Lw zbht_EdtKc@dNKRmDxjBb%;b9;^yj3LI-c{c+~XUl4BXb z0LB0}Q + * + * See {@link ngCookies.$cookies `$cookies`} for usage. + */ + + +angular.module('ngCookies', ['ng']). + /** + * @ngdoc provider + * @name $cookiesProvider + * @description + * Use `$cookiesProvider` to change the default behavior of the {@link ngCookies.$cookies $cookies} service. + * */ + provider('$cookies', [function $CookiesProvider() { + /** + * @ngdoc property + * @name $cookiesProvider#defaults + * @description + * + * Object containing default options to pass when setting cookies. + * + * The object may have following properties: + * + * - **path** - `{string}` - The cookie will be available only for this path and its + * sub-paths. By default, this would be the URL that appears in your base tag. + * - **domain** - `{string}` - The cookie will be available only for this domain and + * its sub-domains. For obvious security reasons the user agent will not accept the + * cookie if the current domain is not a sub domain or equals to the requested domain. + * - **expires** - `{string|Date}` - String of the form "Wdy, DD Mon YYYY HH:MM:SS GMT" + * or a Date object indicating the exact date/time this cookie will expire. + * - **secure** - `{boolean}` - The cookie will be available only in secured connection. + * + * Note: by default the address that appears in your `` tag will be used as path. + * This is important so that cookies will be visible for all routes in case html5mode is enabled + * + **/ + var defaults = this.defaults = {}; + + function calcOptions(options) { + return options ? angular.extend({}, defaults, options) : defaults; + } + + /** + * @ngdoc service + * @name $cookies + * + * @description + * Provides read/write access to browser's cookies. + * + *
+ * Up until Angular 1.3, `$cookies` exposed properties that represented the + * current browser cookie values. In version 1.4, this behavior has changed, and + * `$cookies` now provides a standard api of getters, setters etc. + *
+ * + * Requires the {@link ngCookies `ngCookies`} module to be installed. + * + * @example + * + * ```js + * angular.module('cookiesExample', ['ngCookies']) + * .controller('ExampleController', ['$cookies', function($cookies) { + * // Retrieving a cookie + * var favoriteCookie = $cookies.get('myFavorite'); + * // Setting a cookie + * $cookies.put('myFavorite', 'oatmeal'); + * }]); + * ``` + */ + this.$get = ['$$cookieReader', '$$cookieWriter', function($$cookieReader, $$cookieWriter) { + return { + /** + * @ngdoc method + * @name $cookies#get + * + * @description + * Returns the value of given cookie key + * + * @param {string} key Id to use for lookup. + * @returns {string} Raw cookie value. + */ + get: function(key) { + return $$cookieReader()[key]; + }, + + /** + * @ngdoc method + * @name $cookies#getObject + * + * @description + * Returns the deserialized value of given cookie key + * + * @param {string} key Id to use for lookup. + * @returns {Object} Deserialized cookie value. + */ + getObject: function(key) { + var value = this.get(key); + return value ? angular.fromJson(value) : value; + }, + + /** + * @ngdoc method + * @name $cookies#getAll + * + * @description + * Returns a key value object with all the cookies + * + * @returns {Object} All cookies + */ + getAll: function() { + return $$cookieReader(); + }, + + /** + * @ngdoc method + * @name $cookies#put + * + * @description + * Sets a value for given cookie key + * + * @param {string} key Id for the `value`. + * @param {string} value Raw value to be stored. + * @param {Object=} options Options object. + * See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults} + */ + put: function(key, value, options) { + $$cookieWriter(key, value, calcOptions(options)); + }, + + /** + * @ngdoc method + * @name $cookies#putObject + * + * @description + * Serializes and sets a value for given cookie key + * + * @param {string} key Id for the `value`. + * @param {Object} value Value to be stored. + * @param {Object=} options Options object. + * See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults} + */ + putObject: function(key, value, options) { + this.put(key, angular.toJson(value), options); + }, + + /** + * @ngdoc method + * @name $cookies#remove + * + * @description + * Remove given cookie + * + * @param {string} key Id of the key-value pair to delete. + * @param {Object=} options Options object. + * See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults} + */ + remove: function(key, options) { + $$cookieWriter(key, undefined, calcOptions(options)); + } + }; + }]; + }]); + +angular.module('ngCookies'). +/** + * @ngdoc service + * @name $cookieStore + * @deprecated + * @requires $cookies + * + * @description + * Provides a key-value (string-object) storage, that is backed by session cookies. + * Objects put or retrieved from this storage are automatically serialized or + * deserialized by angular's toJson/fromJson. + * + * Requires the {@link ngCookies `ngCookies`} module to be installed. + * + *
+ * **Note:** The $cookieStore service is **deprecated**. + * Please use the {@link ngCookies.$cookies `$cookies`} service instead. + *
+ * + * @example + * + * ```js + * angular.module('cookieStoreExample', ['ngCookies']) + * .controller('ExampleController', ['$cookieStore', function($cookieStore) { + * // Put cookie + * $cookieStore.put('myFavorite','oatmeal'); + * // Get cookie + * var favoriteCookie = $cookieStore.get('myFavorite'); + * // Removing a cookie + * $cookieStore.remove('myFavorite'); + * }]); + * ``` + */ + factory('$cookieStore', ['$cookies', function($cookies) { + + return { + /** + * @ngdoc method + * @name $cookieStore#get + * + * @description + * Returns the value of given cookie key + * + * @param {string} key Id to use for lookup. + * @returns {Object} Deserialized cookie value, undefined if the cookie does not exist. + */ + get: function(key) { + return $cookies.getObject(key); + }, + + /** + * @ngdoc method + * @name $cookieStore#put + * + * @description + * Sets a value for given cookie key + * + * @param {string} key Id for the `value`. + * @param {Object} value Value to be stored. + */ + put: function(key, value) { + $cookies.putObject(key, value); + }, + + /** + * @ngdoc method + * @name $cookieStore#remove + * + * @description + * Remove given cookie + * + * @param {string} key Id of the key-value pair to delete. + */ + remove: function(key) { + $cookies.remove(key); + } + }; + + }]); + +/** + * @name $$cookieWriter + * @requires $document + * + * @description + * This is a private service for writing cookies + * + * @param {string} name Cookie name + * @param {string=} value Cookie value (if undefined, cookie will be deleted) + * @param {Object=} options Object with options that need to be stored for the cookie. + */ +function $$CookieWriter($document, $log, $browser) { + var cookiePath = $browser.baseHref(); + var rawDocument = $document[0]; + + function buildCookieString(name, value, options) { + var path, expires; + options = options || {}; + expires = options.expires; + path = angular.isDefined(options.path) ? options.path : cookiePath; + if (value === undefined) { + expires = 'Thu, 01 Jan 1970 00:00:00 GMT'; + value = ''; + } + if (angular.isString(expires)) { + expires = new Date(expires); + } + + var str = encodeURIComponent(name) + '=' + encodeURIComponent(value); + str += path ? ';path=' + path : ''; + str += options.domain ? ';domain=' + options.domain : ''; + str += expires ? ';expires=' + expires.toUTCString() : ''; + str += options.secure ? ';secure' : ''; + + // per http://www.ietf.org/rfc/rfc2109.txt browser must allow at minimum: + // - 300 cookies + // - 20 cookies per unique domain + // - 4096 bytes per cookie + var cookieLength = str.length + 1; + if (cookieLength > 4096) { + $log.warn("Cookie '" + name + + "' possibly not set or overflowed because it was too large (" + + cookieLength + " > 4096 bytes)!"); + } + + return str; + } + + return function(name, value, options) { + rawDocument.cookie = buildCookieString(name, value, options); + }; +} + +$$CookieWriter.$inject = ['$document', '$log', '$browser']; + +angular.module('ngCookies').provider('$$cookieWriter', function $$CookieWriterProvider() { + this.$get = $$CookieWriter; +}); + + +})(window, window.angular); diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-loader.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-loader.js new file mode 100644 index 0000000000..f117396f7c --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-loader.js @@ -0,0 +1,443 @@ +/** + * @license AngularJS v1.4.4 + * (c) 2010-2015 Google, Inc. http://angularjs.org + * License: MIT + */ + +(function() {'use strict'; + function isFunction(value) {return typeof value === 'function';}; + +/** + * @description + * + * This object provides a utility for producing rich Error messages within + * Angular. It can be called as follows: + * + * var exampleMinErr = minErr('example'); + * throw exampleMinErr('one', 'This {0} is {1}', foo, bar); + * + * The above creates an instance of minErr in the example namespace. The + * resulting error will have a namespaced error code of example.one. The + * resulting error will replace {0} with the value of foo, and {1} with the + * value of bar. The object is not restricted in the number of arguments it can + * take. + * + * If fewer arguments are specified than necessary for interpolation, the extra + * interpolation markers will be preserved in the final string. + * + * Since data will be parsed statically during a build step, some restrictions + * are applied with respect to how minErr instances are created and called. + * Instances should have names of the form namespaceMinErr for a minErr created + * using minErr('namespace') . Error codes, namespaces and template strings + * should all be static strings, not variables or general expressions. + * + * @param {string} module The namespace to use for the new minErr instance. + * @param {function} ErrorConstructor Custom error constructor to be instantiated when returning + * error from returned function, for cases when a particular type of error is useful. + * @returns {function(code:string, template:string, ...templateArgs): Error} minErr instance + */ + +function minErr(module, ErrorConstructor) { + ErrorConstructor = ErrorConstructor || Error; + return function() { + var SKIP_INDEXES = 2; + + var templateArgs = arguments, + code = templateArgs[0], + message = '[' + (module ? module + ':' : '') + code + '] ', + template = templateArgs[1], + paramPrefix, i; + + message += template.replace(/\{\d+\}/g, function(match) { + var index = +match.slice(1, -1), + shiftedIndex = index + SKIP_INDEXES; + + if (shiftedIndex < templateArgs.length) { + return toDebugString(templateArgs[shiftedIndex]); + } + + return match; + }); + + message += '\nhttp://errors.angularjs.org/1.4.4/' + + (module ? module + '/' : '') + code; + + for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') { + message += paramPrefix + 'p' + (i - SKIP_INDEXES) + '=' + + encodeURIComponent(toDebugString(templateArgs[i])); + } + + return new ErrorConstructor(message); + }; +} + +/** + * @ngdoc type + * @name angular.Module + * @module ng + * @description + * + * Interface for configuring angular {@link angular.module modules}. + */ + +function setupModuleLoader(window) { + + var $injectorMinErr = minErr('$injector'); + var ngMinErr = minErr('ng'); + + function ensure(obj, name, factory) { + return obj[name] || (obj[name] = factory()); + } + + var angular = ensure(window, 'angular', Object); + + // We need to expose `angular.$$minErr` to modules such as `ngResource` that reference it during bootstrap + angular.$$minErr = angular.$$minErr || minErr; + + return ensure(angular, 'module', function() { + /** @type {Object.} */ + var modules = {}; + + /** + * @ngdoc function + * @name angular.module + * @module ng + * @description + * + * The `angular.module` is a global place for creating, registering and retrieving Angular + * modules. + * All modules (angular core or 3rd party) that should be available to an application must be + * registered using this mechanism. + * + * Passing one argument retrieves an existing {@link angular.Module}, + * whereas passing more than one argument creates a new {@link angular.Module} + * + * + * # Module + * + * A module is a collection of services, directives, controllers, filters, and configuration information. + * `angular.module` is used to configure the {@link auto.$injector $injector}. + * + * ```js + * // Create a new module + * var myModule = angular.module('myModule', []); + * + * // register a new service + * myModule.value('appName', 'MyCoolApp'); + * + * // configure existing services inside initialization blocks. + * myModule.config(['$locationProvider', function($locationProvider) { + * // Configure existing providers + * $locationProvider.hashPrefix('!'); + * }]); + * ``` + * + * Then you can create an injector and load your modules like this: + * + * ```js + * var injector = angular.injector(['ng', 'myModule']) + * ``` + * + * However it's more likely that you'll just use + * {@link ng.directive:ngApp ngApp} or + * {@link angular.bootstrap} to simplify this process for you. + * + * @param {!string} name The name of the module to create or retrieve. + * @param {!Array.=} requires If specified then new module is being created. If + * unspecified then the module is being retrieved for further configuration. + * @param {Function=} configFn Optional configuration function for the module. Same as + * {@link angular.Module#config Module#config()}. + * @returns {module} new module with the {@link angular.Module} api. + */ + return function module(name, requires, configFn) { + var assertNotHasOwnProperty = function(name, context) { + if (name === 'hasOwnProperty') { + throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context); + } + }; + + assertNotHasOwnProperty(name, 'module'); + if (requires && modules.hasOwnProperty(name)) { + modules[name] = null; + } + return ensure(modules, name, function() { + if (!requires) { + throw $injectorMinErr('nomod', "Module '{0}' is not available! You either misspelled " + + "the module name or forgot to load it. If registering a module ensure that you " + + "specify the dependencies as the second argument.", name); + } + + /** @type {!Array.>} */ + var invokeQueue = []; + + /** @type {!Array.} */ + var configBlocks = []; + + /** @type {!Array.} */ + var runBlocks = []; + + var config = invokeLater('$injector', 'invoke', 'push', configBlocks); + + /** @type {angular.Module} */ + var moduleInstance = { + // Private state + _invokeQueue: invokeQueue, + _configBlocks: configBlocks, + _runBlocks: runBlocks, + + /** + * @ngdoc property + * @name angular.Module#requires + * @module ng + * + * @description + * Holds the list of modules which the injector will load before the current module is + * loaded. + */ + requires: requires, + + /** + * @ngdoc property + * @name angular.Module#name + * @module ng + * + * @description + * Name of the module. + */ + name: name, + + + /** + * @ngdoc method + * @name angular.Module#provider + * @module ng + * @param {string} name service name + * @param {Function} providerType Construction function for creating new instance of the + * service. + * @description + * See {@link auto.$provide#provider $provide.provider()}. + */ + provider: invokeLaterAndSetModuleName('$provide', 'provider'), + + /** + * @ngdoc method + * @name angular.Module#factory + * @module ng + * @param {string} name service name + * @param {Function} providerFunction Function for creating new instance of the service. + * @description + * See {@link auto.$provide#factory $provide.factory()}. + */ + factory: invokeLaterAndSetModuleName('$provide', 'factory'), + + /** + * @ngdoc method + * @name angular.Module#service + * @module ng + * @param {string} name service name + * @param {Function} constructor A constructor function that will be instantiated. + * @description + * See {@link auto.$provide#service $provide.service()}. + */ + service: invokeLaterAndSetModuleName('$provide', 'service'), + + /** + * @ngdoc method + * @name angular.Module#value + * @module ng + * @param {string} name service name + * @param {*} object Service instance object. + * @description + * See {@link auto.$provide#value $provide.value()}. + */ + value: invokeLater('$provide', 'value'), + + /** + * @ngdoc method + * @name angular.Module#constant + * @module ng + * @param {string} name constant name + * @param {*} object Constant value. + * @description + * Because the constant are fixed, they get applied before other provide methods. + * See {@link auto.$provide#constant $provide.constant()}. + */ + constant: invokeLater('$provide', 'constant', 'unshift'), + + /** + * @ngdoc method + * @name angular.Module#decorator + * @module ng + * @param {string} The name of the service to decorate. + * @param {Function} This function will be invoked when the service needs to be + * instantiated and should return the decorated service instance. + * @description + * See {@link auto.$provide#decorator $provide.decorator()}. + */ + decorator: invokeLaterAndSetModuleName('$provide', 'decorator'), + + /** + * @ngdoc method + * @name angular.Module#animation + * @module ng + * @param {string} name animation name + * @param {Function} animationFactory Factory function for creating new instance of an + * animation. + * @description + * + * **NOTE**: animations take effect only if the **ngAnimate** module is loaded. + * + * + * Defines an animation hook that can be later used with + * {@link $animate $animate} service and directives that use this service. + * + * ```js + * module.animation('.animation-name', function($inject1, $inject2) { + * return { + * eventName : function(element, done) { + * //code to run the animation + * //once complete, then run done() + * return function cancellationFunction(element) { + * //code to cancel the animation + * } + * } + * } + * }) + * ``` + * + * See {@link ng.$animateProvider#register $animateProvider.register()} and + * {@link ngAnimate ngAnimate module} for more information. + */ + animation: invokeLaterAndSetModuleName('$animateProvider', 'register'), + + /** + * @ngdoc method + * @name angular.Module#filter + * @module ng + * @param {string} name Filter name - this must be a valid angular expression identifier + * @param {Function} filterFactory Factory function for creating new instance of filter. + * @description + * See {@link ng.$filterProvider#register $filterProvider.register()}. + * + *
+ * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`. + * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace + * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores + * (`myapp_subsection_filterx`). + *
+ */ + filter: invokeLaterAndSetModuleName('$filterProvider', 'register'), + + /** + * @ngdoc method + * @name angular.Module#controller + * @module ng + * @param {string|Object} name Controller name, or an object map of controllers where the + * keys are the names and the values are the constructors. + * @param {Function} constructor Controller constructor function. + * @description + * See {@link ng.$controllerProvider#register $controllerProvider.register()}. + */ + controller: invokeLaterAndSetModuleName('$controllerProvider', 'register'), + + /** + * @ngdoc method + * @name angular.Module#directive + * @module ng + * @param {string|Object} name Directive name, or an object map of directives where the + * keys are the names and the values are the factories. + * @param {Function} directiveFactory Factory function for creating new instance of + * directives. + * @description + * See {@link ng.$compileProvider#directive $compileProvider.directive()}. + */ + directive: invokeLaterAndSetModuleName('$compileProvider', 'directive'), + + /** + * @ngdoc method + * @name angular.Module#config + * @module ng + * @param {Function} configFn Execute this function on module load. Useful for service + * configuration. + * @description + * Use this method to register work which needs to be performed on module loading. + * For more about how to configure services, see + * {@link providers#provider-recipe Provider Recipe}. + */ + config: config, + + /** + * @ngdoc method + * @name angular.Module#run + * @module ng + * @param {Function} initializationFn Execute this function after injector creation. + * Useful for application initialization. + * @description + * Use this method to register work which should be performed when the injector is done + * loading all modules. + */ + run: function(block) { + runBlocks.push(block); + return this; + } + }; + + if (configFn) { + config(configFn); + } + + return moduleInstance; + + /** + * @param {string} provider + * @param {string} method + * @param {String=} insertMethod + * @returns {angular.Module} + */ + function invokeLater(provider, method, insertMethod, queue) { + if (!queue) queue = invokeQueue; + return function() { + queue[insertMethod || 'push']([provider, method, arguments]); + return moduleInstance; + }; + } + + /** + * @param {string} provider + * @param {string} method + * @returns {angular.Module} + */ + function invokeLaterAndSetModuleName(provider, method) { + return function(recipeName, factoryFunction) { + if (factoryFunction && isFunction(factoryFunction)) factoryFunction.$$moduleName = name; + invokeQueue.push([provider, method, arguments]); + return moduleInstance; + }; + } + }); + }; + }); + +} + +setupModuleLoader(window); +})(window); + +/** + * Closure compiler type information + * + * @typedef { { + * requires: !Array., + * invokeQueue: !Array.>, + * + * service: function(string, Function):angular.Module, + * factory: function(string, Function):angular.Module, + * value: function(string, *):angular.Module, + * + * filter: function(string, Function):angular.Module, + * + * init: function(Function):angular.Module + * } } + */ +angular.Module; + diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-mocks.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-mocks.js new file mode 100644 index 0000000000..8b7c1f29b8 --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-mocks.js @@ -0,0 +1,2433 @@ +/** + * @license AngularJS v1.4.4 + * (c) 2010-2015 Google, Inc. http://angularjs.org + * License: MIT + */ +(function(window, angular, undefined) { + +'use strict'; + +/** + * @ngdoc object + * @name angular.mock + * @description + * + * Namespace from 'angular-mocks.js' which contains testing related code. + */ +angular.mock = {}; + +/** + * ! This is a private undocumented service ! + * + * @name $browser + * + * @description + * This service is a mock implementation of {@link ng.$browser}. It provides fake + * implementation for commonly used browser apis that are hard to test, e.g. setTimeout, xhr, + * cookies, etc... + * + * The api of this service is the same as that of the real {@link ng.$browser $browser}, except + * that there are several helper methods available which can be used in tests. + */ +angular.mock.$BrowserProvider = function() { + this.$get = function() { + return new angular.mock.$Browser(); + }; +}; + +angular.mock.$Browser = function() { + var self = this; + + this.isMock = true; + self.$$url = "http://server/"; + self.$$lastUrl = self.$$url; // used by url polling fn + self.pollFns = []; + + // TODO(vojta): remove this temporary api + self.$$completeOutstandingRequest = angular.noop; + self.$$incOutstandingRequestCount = angular.noop; + + + // register url polling fn + + self.onUrlChange = function(listener) { + self.pollFns.push( + function() { + if (self.$$lastUrl !== self.$$url || self.$$state !== self.$$lastState) { + self.$$lastUrl = self.$$url; + self.$$lastState = self.$$state; + listener(self.$$url, self.$$state); + } + } + ); + + return listener; + }; + + self.$$applicationDestroyed = angular.noop; + self.$$checkUrlChange = angular.noop; + + self.deferredFns = []; + self.deferredNextId = 0; + + self.defer = function(fn, delay) { + delay = delay || 0; + self.deferredFns.push({time:(self.defer.now + delay), fn:fn, id: self.deferredNextId}); + self.deferredFns.sort(function(a, b) { return a.time - b.time;}); + return self.deferredNextId++; + }; + + + /** + * @name $browser#defer.now + * + * @description + * Current milliseconds mock time. + */ + self.defer.now = 0; + + + self.defer.cancel = function(deferId) { + var fnIndex; + + angular.forEach(self.deferredFns, function(fn, index) { + if (fn.id === deferId) fnIndex = index; + }); + + if (fnIndex !== undefined) { + self.deferredFns.splice(fnIndex, 1); + return true; + } + + return false; + }; + + + /** + * @name $browser#defer.flush + * + * @description + * Flushes all pending requests and executes the defer callbacks. + * + * @param {number=} number of milliseconds to flush. See {@link #defer.now} + */ + self.defer.flush = function(delay) { + if (angular.isDefined(delay)) { + self.defer.now += delay; + } else { + if (self.deferredFns.length) { + self.defer.now = self.deferredFns[self.deferredFns.length - 1].time; + } else { + throw new Error('No deferred tasks to be flushed'); + } + } + + while (self.deferredFns.length && self.deferredFns[0].time <= self.defer.now) { + self.deferredFns.shift().fn(); + } + }; + + self.$$baseHref = '/'; + self.baseHref = function() { + return this.$$baseHref; + }; +}; +angular.mock.$Browser.prototype = { + +/** + * @name $browser#poll + * + * @description + * run all fns in pollFns + */ + poll: function poll() { + angular.forEach(this.pollFns, function(pollFn) { + pollFn(); + }); + }, + + url: function(url, replace, state) { + if (angular.isUndefined(state)) { + state = null; + } + if (url) { + this.$$url = url; + // Native pushState serializes & copies the object; simulate it. + this.$$state = angular.copy(state); + return this; + } + + return this.$$url; + }, + + state: function() { + return this.$$state; + }, + + notifyWhenNoOutstandingRequests: function(fn) { + fn(); + } +}; + + +/** + * @ngdoc provider + * @name $exceptionHandlerProvider + * + * @description + * Configures the mock implementation of {@link ng.$exceptionHandler} to rethrow or to log errors + * passed to the `$exceptionHandler`. + */ + +/** + * @ngdoc service + * @name $exceptionHandler + * + * @description + * Mock implementation of {@link ng.$exceptionHandler} that rethrows or logs errors passed + * to it. See {@link ngMock.$exceptionHandlerProvider $exceptionHandlerProvider} for configuration + * information. + * + * + * ```js + * describe('$exceptionHandlerProvider', function() { + * + * it('should capture log messages and exceptions', function() { + * + * module(function($exceptionHandlerProvider) { + * $exceptionHandlerProvider.mode('log'); + * }); + * + * inject(function($log, $exceptionHandler, $timeout) { + * $timeout(function() { $log.log(1); }); + * $timeout(function() { $log.log(2); throw 'banana peel'; }); + * $timeout(function() { $log.log(3); }); + * expect($exceptionHandler.errors).toEqual([]); + * expect($log.assertEmpty()); + * $timeout.flush(); + * expect($exceptionHandler.errors).toEqual(['banana peel']); + * expect($log.log.logs).toEqual([[1], [2], [3]]); + * }); + * }); + * }); + * ``` + */ + +angular.mock.$ExceptionHandlerProvider = function() { + var handler; + + /** + * @ngdoc method + * @name $exceptionHandlerProvider#mode + * + * @description + * Sets the logging mode. + * + * @param {string} mode Mode of operation, defaults to `rethrow`. + * + * - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log` + * mode stores an array of errors in `$exceptionHandler.errors`, to allow later + * assertion of them. See {@link ngMock.$log#assertEmpty assertEmpty()} and + * {@link ngMock.$log#reset reset()} + * - `rethrow`: If any errors are passed to the handler in tests, it typically means that there + * is a bug in the application or test, so this mock will make these tests fail. + * For any implementations that expect exceptions to be thrown, the `rethrow` mode + * will also maintain a log of thrown errors. + */ + this.mode = function(mode) { + + switch (mode) { + case 'log': + case 'rethrow': + var errors = []; + handler = function(e) { + if (arguments.length == 1) { + errors.push(e); + } else { + errors.push([].slice.call(arguments, 0)); + } + if (mode === "rethrow") { + throw e; + } + }; + handler.errors = errors; + break; + default: + throw new Error("Unknown mode '" + mode + "', only 'log'/'rethrow' modes are allowed!"); + } + }; + + this.$get = function() { + return handler; + }; + + this.mode('rethrow'); +}; + + +/** + * @ngdoc service + * @name $log + * + * @description + * Mock implementation of {@link ng.$log} that gathers all logged messages in arrays + * (one array per logging level). These arrays are exposed as `logs` property of each of the + * level-specific log function, e.g. for level `error` the array is exposed as `$log.error.logs`. + * + */ +angular.mock.$LogProvider = function() { + var debug = true; + + function concat(array1, array2, index) { + return array1.concat(Array.prototype.slice.call(array2, index)); + } + + this.debugEnabled = function(flag) { + if (angular.isDefined(flag)) { + debug = flag; + return this; + } else { + return debug; + } + }; + + this.$get = function() { + var $log = { + log: function() { $log.log.logs.push(concat([], arguments, 0)); }, + warn: function() { $log.warn.logs.push(concat([], arguments, 0)); }, + info: function() { $log.info.logs.push(concat([], arguments, 0)); }, + error: function() { $log.error.logs.push(concat([], arguments, 0)); }, + debug: function() { + if (debug) { + $log.debug.logs.push(concat([], arguments, 0)); + } + } + }; + + /** + * @ngdoc method + * @name $log#reset + * + * @description + * Reset all of the logging arrays to empty. + */ + $log.reset = function() { + /** + * @ngdoc property + * @name $log#log.logs + * + * @description + * Array of messages logged using {@link ng.$log#log `log()`}. + * + * @example + * ```js + * $log.log('Some Log'); + * var first = $log.log.logs.unshift(); + * ``` + */ + $log.log.logs = []; + /** + * @ngdoc property + * @name $log#info.logs + * + * @description + * Array of messages logged using {@link ng.$log#info `info()`}. + * + * @example + * ```js + * $log.info('Some Info'); + * var first = $log.info.logs.unshift(); + * ``` + */ + $log.info.logs = []; + /** + * @ngdoc property + * @name $log#warn.logs + * + * @description + * Array of messages logged using {@link ng.$log#warn `warn()`}. + * + * @example + * ```js + * $log.warn('Some Warning'); + * var first = $log.warn.logs.unshift(); + * ``` + */ + $log.warn.logs = []; + /** + * @ngdoc property + * @name $log#error.logs + * + * @description + * Array of messages logged using {@link ng.$log#error `error()`}. + * + * @example + * ```js + * $log.error('Some Error'); + * var first = $log.error.logs.unshift(); + * ``` + */ + $log.error.logs = []; + /** + * @ngdoc property + * @name $log#debug.logs + * + * @description + * Array of messages logged using {@link ng.$log#debug `debug()`}. + * + * @example + * ```js + * $log.debug('Some Error'); + * var first = $log.debug.logs.unshift(); + * ``` + */ + $log.debug.logs = []; + }; + + /** + * @ngdoc method + * @name $log#assertEmpty + * + * @description + * Assert that all of the logging methods have no logged messages. If any messages are present, + * an exception is thrown. + */ + $log.assertEmpty = function() { + var errors = []; + angular.forEach(['error', 'warn', 'info', 'log', 'debug'], function(logLevel) { + angular.forEach($log[logLevel].logs, function(log) { + angular.forEach(log, function(logItem) { + errors.push('MOCK $log (' + logLevel + '): ' + String(logItem) + '\n' + + (logItem.stack || '')); + }); + }); + }); + if (errors.length) { + errors.unshift("Expected $log to be empty! Either a message was logged unexpectedly, or " + + "an expected log message was not checked and removed:"); + errors.push(''); + throw new Error(errors.join('\n---------\n')); + } + }; + + $log.reset(); + return $log; + }; +}; + + +/** + * @ngdoc service + * @name $interval + * + * @description + * Mock implementation of the $interval service. + * + * Use {@link ngMock.$interval#flush `$interval.flush(millis)`} to + * move forward by `millis` milliseconds and trigger any functions scheduled to run in that + * time. + * + * @param {function()} fn A function that should be called repeatedly. + * @param {number} delay Number of milliseconds between each function call. + * @param {number=} [count=0] Number of times to repeat. If not set, or 0, will repeat + * indefinitely. + * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise + * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block. + * @param {...*=} Pass additional parameters to the executed function. + * @returns {promise} A promise which will be notified on each iteration. + */ +angular.mock.$IntervalProvider = function() { + this.$get = ['$browser', '$rootScope', '$q', '$$q', + function($browser, $rootScope, $q, $$q) { + var repeatFns = [], + nextRepeatId = 0, + now = 0; + + var $interval = function(fn, delay, count, invokeApply) { + var hasParams = arguments.length > 4, + args = hasParams ? Array.prototype.slice.call(arguments, 4) : [], + iteration = 0, + skipApply = (angular.isDefined(invokeApply) && !invokeApply), + deferred = (skipApply ? $$q : $q).defer(), + promise = deferred.promise; + + count = (angular.isDefined(count)) ? count : 0; + promise.then(null, null, (!hasParams) ? fn : function() { + fn.apply(null, args); + }); + + promise.$$intervalId = nextRepeatId; + + function tick() { + deferred.notify(iteration++); + + if (count > 0 && iteration >= count) { + var fnIndex; + deferred.resolve(iteration); + + angular.forEach(repeatFns, function(fn, index) { + if (fn.id === promise.$$intervalId) fnIndex = index; + }); + + if (fnIndex !== undefined) { + repeatFns.splice(fnIndex, 1); + } + } + + if (skipApply) { + $browser.defer.flush(); + } else { + $rootScope.$apply(); + } + } + + repeatFns.push({ + nextTime:(now + delay), + delay: delay, + fn: tick, + id: nextRepeatId, + deferred: deferred + }); + repeatFns.sort(function(a, b) { return a.nextTime - b.nextTime;}); + + nextRepeatId++; + return promise; + }; + /** + * @ngdoc method + * @name $interval#cancel + * + * @description + * Cancels a task associated with the `promise`. + * + * @param {promise} promise A promise from calling the `$interval` function. + * @returns {boolean} Returns `true` if the task was successfully cancelled. + */ + $interval.cancel = function(promise) { + if (!promise) return false; + var fnIndex; + + angular.forEach(repeatFns, function(fn, index) { + if (fn.id === promise.$$intervalId) fnIndex = index; + }); + + if (fnIndex !== undefined) { + repeatFns[fnIndex].deferred.reject('canceled'); + repeatFns.splice(fnIndex, 1); + return true; + } + + return false; + }; + + /** + * @ngdoc method + * @name $interval#flush + * @description + * + * Runs interval tasks scheduled to be run in the next `millis` milliseconds. + * + * @param {number=} millis maximum timeout amount to flush up until. + * + * @return {number} The amount of time moved forward. + */ + $interval.flush = function(millis) { + now += millis; + while (repeatFns.length && repeatFns[0].nextTime <= now) { + var task = repeatFns[0]; + task.fn(); + task.nextTime += task.delay; + repeatFns.sort(function(a, b) { return a.nextTime - b.nextTime;}); + } + return millis; + }; + + return $interval; + }]; +}; + + +/* jshint -W101 */ +/* The R_ISO8061_STR regex is never going to fit into the 100 char limit! + * This directive should go inside the anonymous function but a bug in JSHint means that it would + * not be enacted early enough to prevent the warning. + */ +var R_ISO8061_STR = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?:\:?(\d\d)(?:\:?(\d\d)(?:\.(\d{3}))?)?)?(Z|([+-])(\d\d):?(\d\d)))?$/; + +function jsonStringToDate(string) { + var match; + if (match = string.match(R_ISO8061_STR)) { + var date = new Date(0), + tzHour = 0, + tzMin = 0; + if (match[9]) { + tzHour = toInt(match[9] + match[10]); + tzMin = toInt(match[9] + match[11]); + } + date.setUTCFullYear(toInt(match[1]), toInt(match[2]) - 1, toInt(match[3])); + date.setUTCHours(toInt(match[4] || 0) - tzHour, + toInt(match[5] || 0) - tzMin, + toInt(match[6] || 0), + toInt(match[7] || 0)); + return date; + } + return string; +} + +function toInt(str) { + return parseInt(str, 10); +} + +function padNumber(num, digits, trim) { + var neg = ''; + if (num < 0) { + neg = '-'; + num = -num; + } + num = '' + num; + while (num.length < digits) num = '0' + num; + if (trim) { + num = num.substr(num.length - digits); + } + return neg + num; +} + + +/** + * @ngdoc type + * @name angular.mock.TzDate + * @description + * + * *NOTE*: this is not an injectable instance, just a globally available mock class of `Date`. + * + * Mock of the Date type which has its timezone specified via constructor arg. + * + * The main purpose is to create Date-like instances with timezone fixed to the specified timezone + * offset, so that we can test code that depends on local timezone settings without dependency on + * the time zone settings of the machine where the code is running. + * + * @param {number} offset Offset of the *desired* timezone in hours (fractions will be honored) + * @param {(number|string)} timestamp Timestamp representing the desired time in *UTC* + * + * @example + * !!!! WARNING !!!!! + * This is not a complete Date object so only methods that were implemented can be called safely. + * To make matters worse, TzDate instances inherit stuff from Date via a prototype. + * + * We do our best to intercept calls to "unimplemented" methods, but since the list of methods is + * incomplete we might be missing some non-standard methods. This can result in errors like: + * "Date.prototype.foo called on incompatible Object". + * + * ```js + * var newYearInBratislava = new TzDate(-1, '2009-12-31T23:00:00Z'); + * newYearInBratislava.getTimezoneOffset() => -60; + * newYearInBratislava.getFullYear() => 2010; + * newYearInBratislava.getMonth() => 0; + * newYearInBratislava.getDate() => 1; + * newYearInBratislava.getHours() => 0; + * newYearInBratislava.getMinutes() => 0; + * newYearInBratislava.getSeconds() => 0; + * ``` + * + */ +angular.mock.TzDate = function(offset, timestamp) { + var self = new Date(0); + if (angular.isString(timestamp)) { + var tsStr = timestamp; + + self.origDate = jsonStringToDate(timestamp); + + timestamp = self.origDate.getTime(); + if (isNaN(timestamp)) { + throw { + name: "Illegal Argument", + message: "Arg '" + tsStr + "' passed into TzDate constructor is not a valid date string" + }; + } + } else { + self.origDate = new Date(timestamp); + } + + var localOffset = new Date(timestamp).getTimezoneOffset(); + self.offsetDiff = localOffset * 60 * 1000 - offset * 1000 * 60 * 60; + self.date = new Date(timestamp + self.offsetDiff); + + self.getTime = function() { + return self.date.getTime() - self.offsetDiff; + }; + + self.toLocaleDateString = function() { + return self.date.toLocaleDateString(); + }; + + self.getFullYear = function() { + return self.date.getFullYear(); + }; + + self.getMonth = function() { + return self.date.getMonth(); + }; + + self.getDate = function() { + return self.date.getDate(); + }; + + self.getHours = function() { + return self.date.getHours(); + }; + + self.getMinutes = function() { + return self.date.getMinutes(); + }; + + self.getSeconds = function() { + return self.date.getSeconds(); + }; + + self.getMilliseconds = function() { + return self.date.getMilliseconds(); + }; + + self.getTimezoneOffset = function() { + return offset * 60; + }; + + self.getUTCFullYear = function() { + return self.origDate.getUTCFullYear(); + }; + + self.getUTCMonth = function() { + return self.origDate.getUTCMonth(); + }; + + self.getUTCDate = function() { + return self.origDate.getUTCDate(); + }; + + self.getUTCHours = function() { + return self.origDate.getUTCHours(); + }; + + self.getUTCMinutes = function() { + return self.origDate.getUTCMinutes(); + }; + + self.getUTCSeconds = function() { + return self.origDate.getUTCSeconds(); + }; + + self.getUTCMilliseconds = function() { + return self.origDate.getUTCMilliseconds(); + }; + + self.getDay = function() { + return self.date.getDay(); + }; + + // provide this method only on browsers that already have it + if (self.toISOString) { + self.toISOString = function() { + return padNumber(self.origDate.getUTCFullYear(), 4) + '-' + + padNumber(self.origDate.getUTCMonth() + 1, 2) + '-' + + padNumber(self.origDate.getUTCDate(), 2) + 'T' + + padNumber(self.origDate.getUTCHours(), 2) + ':' + + padNumber(self.origDate.getUTCMinutes(), 2) + ':' + + padNumber(self.origDate.getUTCSeconds(), 2) + '.' + + padNumber(self.origDate.getUTCMilliseconds(), 3) + 'Z'; + }; + } + + //hide all methods not implemented in this mock that the Date prototype exposes + var unimplementedMethods = ['getUTCDay', + 'getYear', 'setDate', 'setFullYear', 'setHours', 'setMilliseconds', + 'setMinutes', 'setMonth', 'setSeconds', 'setTime', 'setUTCDate', 'setUTCFullYear', + 'setUTCHours', 'setUTCMilliseconds', 'setUTCMinutes', 'setUTCMonth', 'setUTCSeconds', + 'setYear', 'toDateString', 'toGMTString', 'toJSON', 'toLocaleFormat', 'toLocaleString', + 'toLocaleTimeString', 'toSource', 'toString', 'toTimeString', 'toUTCString', 'valueOf']; + + angular.forEach(unimplementedMethods, function(methodName) { + self[methodName] = function() { + throw new Error("Method '" + methodName + "' is not implemented in the TzDate mock"); + }; + }); + + return self; +}; + +//make "tzDateInstance instanceof Date" return true +angular.mock.TzDate.prototype = Date.prototype; +/* jshint +W101 */ + +angular.mock.animate = angular.module('ngAnimateMock', ['ng']) + + .config(['$provide', function($provide) { + + $provide.factory('$$forceReflow', function() { + function reflowFn() { + reflowFn.totalReflows++; + } + reflowFn.totalReflows = 0; + return reflowFn; + }); + + $provide.decorator('$animate', ['$delegate', '$timeout', '$browser', '$$rAF', '$$forceReflow', + function($delegate, $timeout, $browser, $$rAF, $$forceReflow) { + + var animate = { + queue: [], + cancel: $delegate.cancel, + get reflows() { + return $$forceReflow.totalReflows; + }, + enabled: $delegate.enabled, + triggerCallbackEvents: function() { + $$rAF.flush(); + }, + triggerCallbackPromise: function() { + $timeout.flush(0); + }, + triggerCallbacks: function() { + this.triggerCallbackEvents(); + this.triggerCallbackPromise(); + } + }; + + angular.forEach( + ['animate','enter','leave','move','addClass','removeClass','setClass'], function(method) { + animate[method] = function() { + animate.queue.push({ + event: method, + element: arguments[0], + options: arguments[arguments.length - 1], + args: arguments + }); + return $delegate[method].apply($delegate, arguments); + }; + }); + + return animate; + }]); + + }]); + + +/** + * @ngdoc function + * @name angular.mock.dump + * @description + * + * *NOTE*: this is not an injectable instance, just a globally available function. + * + * Method for serializing common angular objects (scope, elements, etc..) into strings, useful for + * debugging. + * + * This method is also available on window, where it can be used to display objects on debug + * console. + * + * @param {*} object - any object to turn into string. + * @return {string} a serialized string of the argument + */ +angular.mock.dump = function(object) { + return serialize(object); + + function serialize(object) { + var out; + + if (angular.isElement(object)) { + object = angular.element(object); + out = angular.element('
'); + angular.forEach(object, function(element) { + out.append(angular.element(element).clone()); + }); + out = out.html(); + } else if (angular.isArray(object)) { + out = []; + angular.forEach(object, function(o) { + out.push(serialize(o)); + }); + out = '[ ' + out.join(', ') + ' ]'; + } else if (angular.isObject(object)) { + if (angular.isFunction(object.$eval) && angular.isFunction(object.$apply)) { + out = serializeScope(object); + } else if (object instanceof Error) { + out = object.stack || ('' + object.name + ': ' + object.message); + } else { + // TODO(i): this prevents methods being logged, + // we should have a better way to serialize objects + out = angular.toJson(object, true); + } + } else { + out = String(object); + } + + return out; + } + + function serializeScope(scope, offset) { + offset = offset || ' '; + var log = [offset + 'Scope(' + scope.$id + '): {']; + for (var key in scope) { + if (Object.prototype.hasOwnProperty.call(scope, key) && !key.match(/^(\$|this)/)) { + log.push(' ' + key + ': ' + angular.toJson(scope[key])); + } + } + var child = scope.$$childHead; + while (child) { + log.push(serializeScope(child, offset + ' ')); + child = child.$$nextSibling; + } + log.push('}'); + return log.join('\n' + offset); + } +}; + +/** + * @ngdoc service + * @name $httpBackend + * @description + * Fake HTTP backend implementation suitable for unit testing applications that use the + * {@link ng.$http $http service}. + * + * *Note*: For fake HTTP backend implementation suitable for end-to-end testing or backend-less + * development please see {@link ngMockE2E.$httpBackend e2e $httpBackend mock}. + * + * During unit testing, we want our unit tests to run quickly and have no external dependencies so + * we don’t want to send [XHR](https://developer.mozilla.org/en/xmlhttprequest) or + * [JSONP](http://en.wikipedia.org/wiki/JSONP) requests to a real server. All we really need is + * to verify whether a certain request has been sent or not, or alternatively just let the + * application make requests, respond with pre-trained responses and assert that the end result is + * what we expect it to be. + * + * This mock implementation can be used to respond with static or dynamic responses via the + * `expect` and `when` apis and their shortcuts (`expectGET`, `whenPOST`, etc). + * + * When an Angular application needs some data from a server, it calls the $http service, which + * sends the request to a real server using $httpBackend service. With dependency injection, it is + * easy to inject $httpBackend mock (which has the same API as $httpBackend) and use it to verify + * the requests and respond with some testing data without sending a request to a real server. + * + * There are two ways to specify what test data should be returned as http responses by the mock + * backend when the code under test makes http requests: + * + * - `$httpBackend.expect` - specifies a request expectation + * - `$httpBackend.when` - specifies a backend definition + * + * + * # Request Expectations vs Backend Definitions + * + * Request expectations provide a way to make assertions about requests made by the application and + * to define responses for those requests. The test will fail if the expected requests are not made + * or they are made in the wrong order. + * + * Backend definitions allow you to define a fake backend for your application which doesn't assert + * if a particular request was made or not, it just returns a trained response if a request is made. + * The test will pass whether or not the request gets made during testing. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Request expectationsBackend definitions
Syntax.expect(...).respond(...).when(...).respond(...)
Typical usagestrict unit testsloose (black-box) unit testing
Fulfills multiple requestsNOYES
Order of requests mattersYESNO
Request requiredYESNO
Response requiredoptional (see below)YES
+ * + * In cases where both backend definitions and request expectations are specified during unit + * testing, the request expectations are evaluated first. + * + * If a request expectation has no response specified, the algorithm will search your backend + * definitions for an appropriate response. + * + * If a request didn't match any expectation or if the expectation doesn't have the response + * defined, the backend definitions are evaluated in sequential order to see if any of them match + * the request. The response from the first matched definition is returned. + * + * + * # Flushing HTTP requests + * + * The $httpBackend used in production always responds to requests asynchronously. If we preserved + * this behavior in unit testing, we'd have to create async unit tests, which are hard to write, + * to follow and to maintain. But neither can the testing mock respond synchronously; that would + * change the execution of the code under test. For this reason, the mock $httpBackend has a + * `flush()` method, which allows the test to explicitly flush pending requests. This preserves + * the async api of the backend, while allowing the test to execute synchronously. + * + * + * # Unit testing with mock $httpBackend + * The following code shows how to setup and use the mock backend when unit testing a controller. + * First we create the controller under test: + * + ```js + // The module code + angular + .module('MyApp', []) + .controller('MyController', MyController); + + // The controller code + function MyController($scope, $http) { + var authToken; + + $http.get('/auth.py').success(function(data, status, headers) { + authToken = headers('A-Token'); + $scope.user = data; + }); + + $scope.saveMessage = function(message) { + var headers = { 'Authorization': authToken }; + $scope.status = 'Saving...'; + + $http.post('/add-msg.py', message, { headers: headers } ).success(function(response) { + $scope.status = ''; + }).error(function() { + $scope.status = 'ERROR!'; + }); + }; + } + ``` + * + * Now we setup the mock backend and create the test specs: + * + ```js + // testing controller + describe('MyController', function() { + var $httpBackend, $rootScope, createController, authRequestHandler; + + // Set up the module + beforeEach(module('MyApp')); + + beforeEach(inject(function($injector) { + // Set up the mock http service responses + $httpBackend = $injector.get('$httpBackend'); + // backend definition common for all tests + authRequestHandler = $httpBackend.when('GET', '/auth.py') + .respond({userId: 'userX'}, {'A-Token': 'xxx'}); + + // Get hold of a scope (i.e. the root scope) + $rootScope = $injector.get('$rootScope'); + // The $controller service is used to create instances of controllers + var $controller = $injector.get('$controller'); + + createController = function() { + return $controller('MyController', {'$scope' : $rootScope }); + }; + })); + + + afterEach(function() { + $httpBackend.verifyNoOutstandingExpectation(); + $httpBackend.verifyNoOutstandingRequest(); + }); + + + it('should fetch authentication token', function() { + $httpBackend.expectGET('/auth.py'); + var controller = createController(); + $httpBackend.flush(); + }); + + + it('should fail authentication', function() { + + // Notice how you can change the response even after it was set + authRequestHandler.respond(401, ''); + + $httpBackend.expectGET('/auth.py'); + var controller = createController(); + $httpBackend.flush(); + expect($rootScope.status).toBe('Failed...'); + }); + + + it('should send msg to server', function() { + var controller = createController(); + $httpBackend.flush(); + + // now you don’t care about the authentication, but + // the controller will still send the request and + // $httpBackend will respond without you having to + // specify the expectation and response for this request + + $httpBackend.expectPOST('/add-msg.py', 'message content').respond(201, ''); + $rootScope.saveMessage('message content'); + expect($rootScope.status).toBe('Saving...'); + $httpBackend.flush(); + expect($rootScope.status).toBe(''); + }); + + + it('should send auth header', function() { + var controller = createController(); + $httpBackend.flush(); + + $httpBackend.expectPOST('/add-msg.py', undefined, function(headers) { + // check if the header was sent, if it wasn't the expectation won't + // match the request and the test will fail + return headers['Authorization'] == 'xxx'; + }).respond(201, ''); + + $rootScope.saveMessage('whatever'); + $httpBackend.flush(); + }); + }); + ``` + */ +angular.mock.$HttpBackendProvider = function() { + this.$get = ['$rootScope', '$timeout', createHttpBackendMock]; +}; + +/** + * General factory function for $httpBackend mock. + * Returns instance for unit testing (when no arguments specified): + * - passing through is disabled + * - auto flushing is disabled + * + * Returns instance for e2e testing (when `$delegate` and `$browser` specified): + * - passing through (delegating request to real backend) is enabled + * - auto flushing is enabled + * + * @param {Object=} $delegate Real $httpBackend instance (allow passing through if specified) + * @param {Object=} $browser Auto-flushing enabled if specified + * @return {Object} Instance of $httpBackend mock + */ +function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) { + var definitions = [], + expectations = [], + responses = [], + responsesPush = angular.bind(responses, responses.push), + copy = angular.copy; + + function createResponse(status, data, headers, statusText) { + if (angular.isFunction(status)) return status; + + return function() { + return angular.isNumber(status) + ? [status, data, headers, statusText] + : [200, status, data, headers]; + }; + } + + // TODO(vojta): change params to: method, url, data, headers, callback + function $httpBackend(method, url, data, callback, headers, timeout, withCredentials) { + var xhr = new MockXhr(), + expectation = expectations[0], + wasExpected = false; + + function prettyPrint(data) { + return (angular.isString(data) || angular.isFunction(data) || data instanceof RegExp) + ? data + : angular.toJson(data); + } + + function wrapResponse(wrapped) { + if (!$browser && timeout) { + timeout.then ? timeout.then(handleTimeout) : $timeout(handleTimeout, timeout); + } + + return handleResponse; + + function handleResponse() { + var response = wrapped.response(method, url, data, headers); + xhr.$$respHeaders = response[2]; + callback(copy(response[0]), copy(response[1]), xhr.getAllResponseHeaders(), + copy(response[3] || '')); + } + + function handleTimeout() { + for (var i = 0, ii = responses.length; i < ii; i++) { + if (responses[i] === handleResponse) { + responses.splice(i, 1); + callback(-1, undefined, ''); + break; + } + } + } + } + + if (expectation && expectation.match(method, url)) { + if (!expectation.matchData(data)) { + throw new Error('Expected ' + expectation + ' with different data\n' + + 'EXPECTED: ' + prettyPrint(expectation.data) + '\nGOT: ' + data); + } + + if (!expectation.matchHeaders(headers)) { + throw new Error('Expected ' + expectation + ' with different headers\n' + + 'EXPECTED: ' + prettyPrint(expectation.headers) + '\nGOT: ' + + prettyPrint(headers)); + } + + expectations.shift(); + + if (expectation.response) { + responses.push(wrapResponse(expectation)); + return; + } + wasExpected = true; + } + + var i = -1, definition; + while ((definition = definitions[++i])) { + if (definition.match(method, url, data, headers || {})) { + if (definition.response) { + // if $browser specified, we do auto flush all requests + ($browser ? $browser.defer : responsesPush)(wrapResponse(definition)); + } else if (definition.passThrough) { + $delegate(method, url, data, callback, headers, timeout, withCredentials); + } else throw new Error('No response defined !'); + return; + } + } + throw wasExpected ? + new Error('No response defined !') : + new Error('Unexpected request: ' + method + ' ' + url + '\n' + + (expectation ? 'Expected ' + expectation : 'No more request expected')); + } + + /** + * @ngdoc method + * @name $httpBackend#when + * @description + * Creates a new backend definition. + * + * @param {string} method HTTP method. + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp|function(string))=} data HTTP request body or function that receives + * data string and returns true if the data is as expected. + * @param {(Object|function(Object))=} headers HTTP headers or function that receives http header + * object and returns true if the headers match the current definition. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + * + * - respond – + * `{function([status,] data[, headers, statusText]) + * | function(function(method, url, data, headers)}` + * – The respond method takes a set of static data to be returned or a function that can + * return an array containing response status (number), response data (string), response + * headers (Object), and the text for the status (string). The respond method returns the + * `requestHandler` object for possible overrides. + */ + $httpBackend.when = function(method, url, data, headers) { + var definition = new MockHttpExpectation(method, url, data, headers), + chain = { + respond: function(status, data, headers, statusText) { + definition.passThrough = undefined; + definition.response = createResponse(status, data, headers, statusText); + return chain; + } + }; + + if ($browser) { + chain.passThrough = function() { + definition.response = undefined; + definition.passThrough = true; + return chain; + }; + } + + definitions.push(definition); + return chain; + }; + + /** + * @ngdoc method + * @name $httpBackend#whenGET + * @description + * Creates a new backend definition for GET requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#whenHEAD + * @description + * Creates a new backend definition for HEAD requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#whenDELETE + * @description + * Creates a new backend definition for DELETE requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#whenPOST + * @description + * Creates a new backend definition for POST requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp|function(string))=} data HTTP request body or function that receives + * data string and returns true if the data is as expected. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#whenPUT + * @description + * Creates a new backend definition for PUT requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp|function(string))=} data HTTP request body or function that receives + * data string and returns true if the data is as expected. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#whenJSONP + * @description + * Creates a new backend definition for JSONP requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + createShortMethods('when'); + + + /** + * @ngdoc method + * @name $httpBackend#expect + * @description + * Creates a new request expectation. + * + * @param {string} method HTTP method. + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that + * receives data string and returns true if the data is as expected, or Object if request body + * is in JSON format. + * @param {(Object|function(Object))=} headers HTTP headers or function that receives http header + * object and returns true if the headers match the current expectation. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + * + * - respond – + * `{function([status,] data[, headers, statusText]) + * | function(function(method, url, data, headers)}` + * – The respond method takes a set of static data to be returned or a function that can + * return an array containing response status (number), response data (string), response + * headers (Object), and the text for the status (string). The respond method returns the + * `requestHandler` object for possible overrides. + */ + $httpBackend.expect = function(method, url, data, headers) { + var expectation = new MockHttpExpectation(method, url, data, headers), + chain = { + respond: function(status, data, headers, statusText) { + expectation.response = createResponse(status, data, headers, statusText); + return chain; + } + }; + + expectations.push(expectation); + return chain; + }; + + + /** + * @ngdoc method + * @name $httpBackend#expectGET + * @description + * Creates a new request expectation for GET requests. For more info see `expect()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. See #expect for more info. + */ + + /** + * @ngdoc method + * @name $httpBackend#expectHEAD + * @description + * Creates a new request expectation for HEAD requests. For more info see `expect()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#expectDELETE + * @description + * Creates a new request expectation for DELETE requests. For more info see `expect()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#expectPOST + * @description + * Creates a new request expectation for POST requests. For more info see `expect()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that + * receives data string and returns true if the data is as expected, or Object if request body + * is in JSON format. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#expectPUT + * @description + * Creates a new request expectation for PUT requests. For more info see `expect()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that + * receives data string and returns true if the data is as expected, or Object if request body + * is in JSON format. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#expectPATCH + * @description + * Creates a new request expectation for PATCH requests. For more info see `expect()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp|function(string)|Object)=} data HTTP request body or function that + * receives data string and returns true if the data is as expected, or Object if request body + * is in JSON format. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + + /** + * @ngdoc method + * @name $httpBackend#expectJSONP + * @description + * Creates a new request expectation for JSONP requests. For more info see `expect()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives an url + * and returns true if the url matches the current definition. + * @returns {requestHandler} Returns an object with `respond` method that controls how a matched + * request is handled. You can save this object for later use and invoke `respond` again in + * order to change how a matched request is handled. + */ + createShortMethods('expect'); + + + /** + * @ngdoc method + * @name $httpBackend#flush + * @description + * Flushes all pending requests using the trained responses. + * + * @param {number=} count Number of responses to flush (in the order they arrived). If undefined, + * all pending requests will be flushed. If there are no pending requests when the flush method + * is called an exception is thrown (as this typically a sign of programming error). + */ + $httpBackend.flush = function(count, digest) { + if (digest !== false) $rootScope.$digest(); + if (!responses.length) throw new Error('No pending request to flush !'); + + if (angular.isDefined(count) && count !== null) { + while (count--) { + if (!responses.length) throw new Error('No more pending request to flush !'); + responses.shift()(); + } + } else { + while (responses.length) { + responses.shift()(); + } + } + $httpBackend.verifyNoOutstandingExpectation(digest); + }; + + + /** + * @ngdoc method + * @name $httpBackend#verifyNoOutstandingExpectation + * @description + * Verifies that all of the requests defined via the `expect` api were made. If any of the + * requests were not made, verifyNoOutstandingExpectation throws an exception. + * + * Typically, you would call this method following each test case that asserts requests using an + * "afterEach" clause. + * + * ```js + * afterEach($httpBackend.verifyNoOutstandingExpectation); + * ``` + */ + $httpBackend.verifyNoOutstandingExpectation = function(digest) { + if (digest !== false) $rootScope.$digest(); + if (expectations.length) { + throw new Error('Unsatisfied requests: ' + expectations.join(', ')); + } + }; + + + /** + * @ngdoc method + * @name $httpBackend#verifyNoOutstandingRequest + * @description + * Verifies that there are no outstanding requests that need to be flushed. + * + * Typically, you would call this method following each test case that asserts requests using an + * "afterEach" clause. + * + * ```js + * afterEach($httpBackend.verifyNoOutstandingRequest); + * ``` + */ + $httpBackend.verifyNoOutstandingRequest = function() { + if (responses.length) { + throw new Error('Unflushed requests: ' + responses.length); + } + }; + + + /** + * @ngdoc method + * @name $httpBackend#resetExpectations + * @description + * Resets all request expectations, but preserves all backend definitions. Typically, you would + * call resetExpectations during a multiple-phase test when you want to reuse the same instance of + * $httpBackend mock. + */ + $httpBackend.resetExpectations = function() { + expectations.length = 0; + responses.length = 0; + }; + + return $httpBackend; + + + function createShortMethods(prefix) { + angular.forEach(['GET', 'DELETE', 'JSONP', 'HEAD'], function(method) { + $httpBackend[prefix + method] = function(url, headers) { + return $httpBackend[prefix](method, url, undefined, headers); + }; + }); + + angular.forEach(['PUT', 'POST', 'PATCH'], function(method) { + $httpBackend[prefix + method] = function(url, data, headers) { + return $httpBackend[prefix](method, url, data, headers); + }; + }); + } +} + +function MockHttpExpectation(method, url, data, headers) { + + this.data = data; + this.headers = headers; + + this.match = function(m, u, d, h) { + if (method != m) return false; + if (!this.matchUrl(u)) return false; + if (angular.isDefined(d) && !this.matchData(d)) return false; + if (angular.isDefined(h) && !this.matchHeaders(h)) return false; + return true; + }; + + this.matchUrl = function(u) { + if (!url) return true; + if (angular.isFunction(url.test)) return url.test(u); + if (angular.isFunction(url)) return url(u); + return url == u; + }; + + this.matchHeaders = function(h) { + if (angular.isUndefined(headers)) return true; + if (angular.isFunction(headers)) return headers(h); + return angular.equals(headers, h); + }; + + this.matchData = function(d) { + if (angular.isUndefined(data)) return true; + if (data && angular.isFunction(data.test)) return data.test(d); + if (data && angular.isFunction(data)) return data(d); + if (data && !angular.isString(data)) { + return angular.equals(angular.fromJson(angular.toJson(data)), angular.fromJson(d)); + } + return data == d; + }; + + this.toString = function() { + return method + ' ' + url; + }; +} + +function createMockXhr() { + return new MockXhr(); +} + +function MockXhr() { + + // hack for testing $http, $httpBackend + MockXhr.$$lastInstance = this; + + this.open = function(method, url, async) { + this.$$method = method; + this.$$url = url; + this.$$async = async; + this.$$reqHeaders = {}; + this.$$respHeaders = {}; + }; + + this.send = function(data) { + this.$$data = data; + }; + + this.setRequestHeader = function(key, value) { + this.$$reqHeaders[key] = value; + }; + + this.getResponseHeader = function(name) { + // the lookup must be case insensitive, + // that's why we try two quick lookups first and full scan last + var header = this.$$respHeaders[name]; + if (header) return header; + + name = angular.lowercase(name); + header = this.$$respHeaders[name]; + if (header) return header; + + header = undefined; + angular.forEach(this.$$respHeaders, function(headerVal, headerName) { + if (!header && angular.lowercase(headerName) == name) header = headerVal; + }); + return header; + }; + + this.getAllResponseHeaders = function() { + var lines = []; + + angular.forEach(this.$$respHeaders, function(value, key) { + lines.push(key + ': ' + value); + }); + return lines.join('\n'); + }; + + this.abort = angular.noop; +} + + +/** + * @ngdoc service + * @name $timeout + * @description + * + * This service is just a simple decorator for {@link ng.$timeout $timeout} service + * that adds a "flush" and "verifyNoPendingTasks" methods. + */ + +angular.mock.$TimeoutDecorator = ['$delegate', '$browser', function($delegate, $browser) { + + /** + * @ngdoc method + * @name $timeout#flush + * @description + * + * Flushes the queue of pending tasks. + * + * @param {number=} delay maximum timeout amount to flush up until + */ + $delegate.flush = function(delay) { + $browser.defer.flush(delay); + }; + + /** + * @ngdoc method + * @name $timeout#verifyNoPendingTasks + * @description + * + * Verifies that there are no pending tasks that need to be flushed. + */ + $delegate.verifyNoPendingTasks = function() { + if ($browser.deferredFns.length) { + throw new Error('Deferred tasks to flush (' + $browser.deferredFns.length + '): ' + + formatPendingTasksAsString($browser.deferredFns)); + } + }; + + function formatPendingTasksAsString(tasks) { + var result = []; + angular.forEach(tasks, function(task) { + result.push('{id: ' + task.id + ', ' + 'time: ' + task.time + '}'); + }); + + return result.join(', '); + } + + return $delegate; +}]; + +angular.mock.$RAFDecorator = ['$delegate', function($delegate) { + var queue = []; + var rafFn = function(fn) { + var index = queue.length; + queue.push(fn); + return function() { + queue.splice(index, 1); + }; + }; + + rafFn.supported = $delegate.supported; + + rafFn.flush = function() { + if (queue.length === 0) { + throw new Error('No rAF callbacks present'); + } + + var length = queue.length; + for (var i = 0; i < length; i++) { + queue[i](); + } + + queue = queue.slice(i); + }; + + return rafFn; +}]; + +/** + * + */ +angular.mock.$RootElementProvider = function() { + this.$get = function() { + return angular.element('
'); + }; +}; + +/** + * @ngdoc service + * @name $controller + * @description + * A decorator for {@link ng.$controller} with additional `bindings` parameter, useful when testing + * controllers of directives that use {@link $compile#-bindtocontroller- `bindToController`}. + * + * + * ## Example + * + * ```js + * + * // Directive definition ... + * + * myMod.directive('myDirective', { + * controller: 'MyDirectiveController', + * bindToController: { + * name: '@' + * } + * }); + * + * + * // Controller definition ... + * + * myMod.controller('MyDirectiveController', ['log', function($log) { + * $log.info(this.name); + * })]; + * + * + * // In a test ... + * + * describe('myDirectiveController', function() { + * it('should write the bound name to the log', inject(function($controller, $log) { + * var ctrl = $controller('MyDirective', { /* no locals */ }, { name: 'Clark Kent' }); + * expect(ctrl.name).toEqual('Clark Kent'); + * expect($log.info.logs).toEqual(['Clark Kent']); + * }); + * }); + * + * ``` + * + * @param {Function|string} constructor If called with a function then it's considered to be the + * controller constructor function. Otherwise it's considered to be a string which is used + * to retrieve the controller constructor using the following steps: + * + * * check if a controller with given name is registered via `$controllerProvider` + * * check if evaluating the string on the current scope returns a constructor + * * if $controllerProvider#allowGlobals, check `window[constructor]` on the global + * `window` object (not recommended) + * + * The string can use the `controller as property` syntax, where the controller instance is published + * as the specified property on the `scope`; the `scope` must be injected into `locals` param for this + * to work correctly. + * + * @param {Object} locals Injection locals for Controller. + * @param {Object=} bindings Properties to add to the controller before invoking the constructor. This is used + * to simulate the `bindToController` feature and simplify certain kinds of tests. + * @return {Object} Instance of given controller. + */ +angular.mock.$ControllerDecorator = ['$delegate', function($delegate) { + return function(expression, locals, later, ident) { + if (later && typeof later === 'object') { + var create = $delegate(expression, locals, true, ident); + angular.extend(create.instance, later); + return create(); + } + return $delegate(expression, locals, later, ident); + }; +}]; + + +/** + * @ngdoc module + * @name ngMock + * @packageName angular-mocks + * @description + * + * # ngMock + * + * The `ngMock` module provides support to inject and mock Angular services into unit tests. + * In addition, ngMock also extends various core ng services such that they can be + * inspected and controlled in a synchronous manner within test code. + * + * + *
+ * + */ +angular.module('ngMock', ['ng']).provider({ + $browser: angular.mock.$BrowserProvider, + $exceptionHandler: angular.mock.$ExceptionHandlerProvider, + $log: angular.mock.$LogProvider, + $interval: angular.mock.$IntervalProvider, + $httpBackend: angular.mock.$HttpBackendProvider, + $rootElement: angular.mock.$RootElementProvider +}).config(['$provide', function($provide) { + $provide.decorator('$timeout', angular.mock.$TimeoutDecorator); + $provide.decorator('$$rAF', angular.mock.$RAFDecorator); + $provide.decorator('$rootScope', angular.mock.$RootScopeDecorator); + $provide.decorator('$controller', angular.mock.$ControllerDecorator); +}]); + +/** + * @ngdoc module + * @name ngMockE2E + * @module ngMockE2E + * @packageName angular-mocks + * @description + * + * The `ngMockE2E` is an angular module which contains mocks suitable for end-to-end testing. + * Currently there is only one mock present in this module - + * the {@link ngMockE2E.$httpBackend e2e $httpBackend} mock. + */ +angular.module('ngMockE2E', ['ng']).config(['$provide', function($provide) { + $provide.decorator('$httpBackend', angular.mock.e2e.$httpBackendDecorator); +}]); + +/** + * @ngdoc service + * @name $httpBackend + * @module ngMockE2E + * @description + * Fake HTTP backend implementation suitable for end-to-end testing or backend-less development of + * applications that use the {@link ng.$http $http service}. + * + * *Note*: For fake http backend implementation suitable for unit testing please see + * {@link ngMock.$httpBackend unit-testing $httpBackend mock}. + * + * This implementation can be used to respond with static or dynamic responses via the `when` api + * and its shortcuts (`whenGET`, `whenPOST`, etc) and optionally pass through requests to the + * real $httpBackend for specific requests (e.g. to interact with certain remote apis or to fetch + * templates from a webserver). + * + * As opposed to unit-testing, in an end-to-end testing scenario or in scenario when an application + * is being developed with the real backend api replaced with a mock, it is often desirable for + * certain category of requests to bypass the mock and issue a real http request (e.g. to fetch + * templates or static files from the webserver). To configure the backend with this behavior + * use the `passThrough` request handler of `when` instead of `respond`. + * + * Additionally, we don't want to manually have to flush mocked out requests like we do during unit + * testing. For this reason the e2e $httpBackend flushes mocked out requests + * automatically, closely simulating the behavior of the XMLHttpRequest object. + * + * To setup the application to run with this http backend, you have to create a module that depends + * on the `ngMockE2E` and your application modules and defines the fake backend: + * + * ```js + * myAppDev = angular.module('myAppDev', ['myApp', 'ngMockE2E']); + * myAppDev.run(function($httpBackend) { + * phones = [{name: 'phone1'}, {name: 'phone2'}]; + * + * // returns the current list of phones + * $httpBackend.whenGET('/phones').respond(phones); + * + * // adds a new phone to the phones array + * $httpBackend.whenPOST('/phones').respond(function(method, url, data) { + * var phone = angular.fromJson(data); + * phones.push(phone); + * return [200, phone, {}]; + * }); + * $httpBackend.whenGET(/^\/templates\//).passThrough(); + * //... + * }); + * ``` + * + * Afterwards, bootstrap your app with this new module. + */ + +/** + * @ngdoc method + * @name $httpBackend#when + * @module ngMockE2E + * @description + * Creates a new backend definition. + * + * @param {string} method HTTP method. + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp)=} data HTTP request body. + * @param {(Object|function(Object))=} headers HTTP headers or function that receives http header + * object and returns true if the headers match the current definition. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. You can save this object for later use and invoke + * `respond` or `passThrough` again in order to change how a matched request is handled. + * + * - respond – + * `{function([status,] data[, headers, statusText]) + * | function(function(method, url, data, headers)}` + * – The respond method takes a set of static data to be returned or a function that can return + * an array containing response status (number), response data (string), response headers + * (Object), and the text for the status (string). + * - passThrough – `{function()}` – Any request matching a backend definition with + * `passThrough` handler will be passed through to the real backend (an XHR request will be made + * to the server.) + * - Both methods return the `requestHandler` object for possible overrides. + */ + +/** + * @ngdoc method + * @name $httpBackend#whenGET + * @module ngMockE2E + * @description + * Creates a new backend definition for GET requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. You can save this object for later use and invoke + * `respond` or `passThrough` again in order to change how a matched request is handled. + */ + +/** + * @ngdoc method + * @name $httpBackend#whenHEAD + * @module ngMockE2E + * @description + * Creates a new backend definition for HEAD requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. You can save this object for later use and invoke + * `respond` or `passThrough` again in order to change how a matched request is handled. + */ + +/** + * @ngdoc method + * @name $httpBackend#whenDELETE + * @module ngMockE2E + * @description + * Creates a new backend definition for DELETE requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. You can save this object for later use and invoke + * `respond` or `passThrough` again in order to change how a matched request is handled. + */ + +/** + * @ngdoc method + * @name $httpBackend#whenPOST + * @module ngMockE2E + * @description + * Creates a new backend definition for POST requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp)=} data HTTP request body. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. You can save this object for later use and invoke + * `respond` or `passThrough` again in order to change how a matched request is handled. + */ + +/** + * @ngdoc method + * @name $httpBackend#whenPUT + * @module ngMockE2E + * @description + * Creates a new backend definition for PUT requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp)=} data HTTP request body. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. You can save this object for later use and invoke + * `respond` or `passThrough` again in order to change how a matched request is handled. + */ + +/** + * @ngdoc method + * @name $httpBackend#whenPATCH + * @module ngMockE2E + * @description + * Creates a new backend definition for PATCH requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @param {(string|RegExp)=} data HTTP request body. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. You can save this object for later use and invoke + * `respond` or `passThrough` again in order to change how a matched request is handled. + */ + +/** + * @ngdoc method + * @name $httpBackend#whenJSONP + * @module ngMockE2E + * @description + * Creates a new backend definition for JSONP requests. For more info see `when()`. + * + * @param {string|RegExp|function(string)} url HTTP url or function that receives a url + * and returns true if the url matches the current definition. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. You can save this object for later use and invoke + * `respond` or `passThrough` again in order to change how a matched request is handled. + */ +angular.mock.e2e = {}; +angular.mock.e2e.$httpBackendDecorator = + ['$rootScope', '$timeout', '$delegate', '$browser', createHttpBackendMock]; + + +/** + * @ngdoc type + * @name $rootScope.Scope + * @module ngMock + * @description + * {@link ng.$rootScope.Scope Scope} type decorated with helper methods useful for testing. These + * methods are automatically available on any {@link ng.$rootScope.Scope Scope} instance when + * `ngMock` module is loaded. + * + * In addition to all the regular `Scope` methods, the following helper methods are available: + */ +angular.mock.$RootScopeDecorator = ['$delegate', function($delegate) { + + var $rootScopePrototype = Object.getPrototypeOf($delegate); + + $rootScopePrototype.$countChildScopes = countChildScopes; + $rootScopePrototype.$countWatchers = countWatchers; + + return $delegate; + + // ------------------------------------------------------------------------------------------ // + + /** + * @ngdoc method + * @name $rootScope.Scope#$countChildScopes + * @module ngMock + * @description + * Counts all the direct and indirect child scopes of the current scope. + * + * The current scope is excluded from the count. The count includes all isolate child scopes. + * + * @returns {number} Total number of child scopes. + */ + function countChildScopes() { + // jshint validthis: true + var count = 0; // exclude the current scope + var pendingChildHeads = [this.$$childHead]; + var currentScope; + + while (pendingChildHeads.length) { + currentScope = pendingChildHeads.shift(); + + while (currentScope) { + count += 1; + pendingChildHeads.push(currentScope.$$childHead); + currentScope = currentScope.$$nextSibling; + } + } + + return count; + } + + + /** + * @ngdoc method + * @name $rootScope.Scope#$countWatchers + * @module ngMock + * @description + * Counts all the watchers of direct and indirect child scopes of the current scope. + * + * The watchers of the current scope are included in the count and so are all the watchers of + * isolate child scopes. + * + * @returns {number} Total number of watchers. + */ + function countWatchers() { + // jshint validthis: true + var count = this.$$watchers ? this.$$watchers.length : 0; // include the current scope + var pendingChildHeads = [this.$$childHead]; + var currentScope; + + while (pendingChildHeads.length) { + currentScope = pendingChildHeads.shift(); + + while (currentScope) { + count += currentScope.$$watchers ? currentScope.$$watchers.length : 0; + pendingChildHeads.push(currentScope.$$childHead); + currentScope = currentScope.$$nextSibling; + } + } + + return count; + } +}]; + + +if (window.jasmine || window.mocha) { + + var currentSpec = null, + annotatedFunctions = [], + isSpecRunning = function() { + return !!currentSpec; + }; + + angular.mock.$$annotate = angular.injector.$$annotate; + angular.injector.$$annotate = function(fn) { + if (typeof fn === 'function' && !fn.$inject) { + annotatedFunctions.push(fn); + } + return angular.mock.$$annotate.apply(this, arguments); + }; + + + (window.beforeEach || window.setup)(function() { + annotatedFunctions = []; + currentSpec = this; + }); + + (window.afterEach || window.teardown)(function() { + var injector = currentSpec.$injector; + + annotatedFunctions.forEach(function(fn) { + delete fn.$inject; + }); + + angular.forEach(currentSpec.$modules, function(module) { + if (module && module.$$hashKey) { + module.$$hashKey = undefined; + } + }); + + currentSpec.$injector = null; + currentSpec.$modules = null; + currentSpec = null; + + if (injector) { + injector.get('$rootElement').off(); + } + + // clean up jquery's fragment cache + angular.forEach(angular.element.fragments, function(val, key) { + delete angular.element.fragments[key]; + }); + + MockXhr.$$lastInstance = null; + + angular.forEach(angular.callbacks, function(val, key) { + delete angular.callbacks[key]; + }); + angular.callbacks.counter = 0; + }); + + /** + * @ngdoc function + * @name angular.mock.module + * @description + * + * *NOTE*: This function is also published on window for easy access.
+ * *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha + * + * This function registers a module configuration code. It collects the configuration information + * which will be used when the injector is created by {@link angular.mock.inject inject}. + * + * See {@link angular.mock.inject inject} for usage example + * + * @param {...(string|Function|Object)} fns any number of modules which are represented as string + * aliases or as anonymous module initialization functions. The modules are used to + * configure the injector. The 'ng' and 'ngMock' modules are automatically loaded. If an + * object literal is passed they will be registered as values in the module, the key being + * the module name and the value being what is returned. + */ + window.module = angular.mock.module = function() { + var moduleFns = Array.prototype.slice.call(arguments, 0); + return isSpecRunning() ? workFn() : workFn; + ///////////////////// + function workFn() { + if (currentSpec.$injector) { + throw new Error('Injector already created, can not register a module!'); + } else { + var modules = currentSpec.$modules || (currentSpec.$modules = []); + angular.forEach(moduleFns, function(module) { + if (angular.isObject(module) && !angular.isArray(module)) { + modules.push(function($provide) { + angular.forEach(module, function(value, key) { + $provide.value(key, value); + }); + }); + } else { + modules.push(module); + } + }); + } + } + }; + + /** + * @ngdoc function + * @name angular.mock.inject + * @description + * + * *NOTE*: This function is also published on window for easy access.
+ * *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha + * + * The inject function wraps a function into an injectable function. The inject() creates new + * instance of {@link auto.$injector $injector} per test, which is then used for + * resolving references. + * + * + * ## Resolving References (Underscore Wrapping) + * Often, we would like to inject a reference once, in a `beforeEach()` block and reuse this + * in multiple `it()` clauses. To be able to do this we must assign the reference to a variable + * that is declared in the scope of the `describe()` block. Since we would, most likely, want + * the variable to have the same name of the reference we have a problem, since the parameter + * to the `inject()` function would hide the outer variable. + * + * To help with this, the injected parameters can, optionally, be enclosed with underscores. + * These are ignored by the injector when the reference name is resolved. + * + * For example, the parameter `_myService_` would be resolved as the reference `myService`. + * Since it is available in the function body as _myService_, we can then assign it to a variable + * defined in an outer scope. + * + * ``` + * // Defined out reference variable outside + * var myService; + * + * // Wrap the parameter in underscores + * beforeEach( inject( function(_myService_){ + * myService = _myService_; + * })); + * + * // Use myService in a series of tests. + * it('makes use of myService', function() { + * myService.doStuff(); + * }); + * + * ``` + * + * See also {@link angular.mock.module angular.mock.module} + * + * ## Example + * Example of what a typical jasmine tests looks like with the inject method. + * ```js + * + * angular.module('myApplicationModule', []) + * .value('mode', 'app') + * .value('version', 'v1.0.1'); + * + * + * describe('MyApp', function() { + * + * // You need to load modules that you want to test, + * // it loads only the "ng" module by default. + * beforeEach(module('myApplicationModule')); + * + * + * // inject() is used to inject arguments of all given functions + * it('should provide a version', inject(function(mode, version) { + * expect(version).toEqual('v1.0.1'); + * expect(mode).toEqual('app'); + * })); + * + * + * // The inject and module method can also be used inside of the it or beforeEach + * it('should override a version and test the new version is injected', function() { + * // module() takes functions or strings (module aliases) + * module(function($provide) { + * $provide.value('version', 'overridden'); // override version here + * }); + * + * inject(function(version) { + * expect(version).toEqual('overridden'); + * }); + * }); + * }); + * + * ``` + * + * @param {...Function} fns any number of functions which will be injected using the injector. + */ + + + + var ErrorAddingDeclarationLocationStack = function(e, errorForStack) { + this.message = e.message; + this.name = e.name; + if (e.line) this.line = e.line; + if (e.sourceId) this.sourceId = e.sourceId; + if (e.stack && errorForStack) + this.stack = e.stack + '\n' + errorForStack.stack; + if (e.stackArray) this.stackArray = e.stackArray; + }; + ErrorAddingDeclarationLocationStack.prototype.toString = Error.prototype.toString; + + window.inject = angular.mock.inject = function() { + var blockFns = Array.prototype.slice.call(arguments, 0); + var errorForStack = new Error('Declaration Location'); + return isSpecRunning() ? workFn.call(currentSpec) : workFn; + ///////////////////// + function workFn() { + var modules = currentSpec.$modules || []; + var strictDi = !!currentSpec.$injectorStrict; + modules.unshift('ngMock'); + modules.unshift('ng'); + var injector = currentSpec.$injector; + if (!injector) { + if (strictDi) { + // If strictDi is enabled, annotate the providerInjector blocks + angular.forEach(modules, function(moduleFn) { + if (typeof moduleFn === "function") { + angular.injector.$$annotate(moduleFn); + } + }); + } + injector = currentSpec.$injector = angular.injector(modules, strictDi); + currentSpec.$injectorStrict = strictDi; + } + for (var i = 0, ii = blockFns.length; i < ii; i++) { + if (currentSpec.$injectorStrict) { + // If the injector is strict / strictDi, and the spec wants to inject using automatic + // annotation, then annotate the function here. + injector.annotate(blockFns[i]); + } + try { + /* jshint -W040 *//* Jasmine explicitly provides a `this` object when calling functions */ + injector.invoke(blockFns[i] || angular.noop, this); + /* jshint +W040 */ + } catch (e) { + if (e.stack && errorForStack) { + throw new ErrorAddingDeclarationLocationStack(e, errorForStack); + } + throw e; + } finally { + errorForStack = null; + } + } + } + }; + + + angular.mock.inject.strictDi = function(value) { + value = arguments.length ? !!value : true; + return isSpecRunning() ? workFn() : workFn; + + function workFn() { + if (value !== currentSpec.$injectorStrict) { + if (currentSpec.$injector) { + throw new Error('Injector already created, can not modify strict annotations'); + } else { + currentSpec.$injectorStrict = value; + } + } + } + }; +} + + +})(window, window.angular); diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-resource.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-resource.js new file mode 100644 index 0000000000..99903d20ed --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-resource.js @@ -0,0 +1,669 @@ +/** + * @license AngularJS v1.4.4 + * (c) 2010-2015 Google, Inc. http://angularjs.org + * License: MIT + */ +(function(window, angular, undefined) {'use strict'; + +var $resourceMinErr = angular.$$minErr('$resource'); + +// Helper functions and regex to lookup a dotted path on an object +// stopping at undefined/null. The path must be composed of ASCII +// identifiers (just like $parse) +var MEMBER_NAME_REGEX = /^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/; + +function isValidDottedPath(path) { + return (path != null && path !== '' && path !== 'hasOwnProperty' && + MEMBER_NAME_REGEX.test('.' + path)); +} + +function lookupDottedPath(obj, path) { + if (!isValidDottedPath(path)) { + throw $resourceMinErr('badmember', 'Dotted member path "@{0}" is invalid.', path); + } + var keys = path.split('.'); + for (var i = 0, ii = keys.length; i < ii && obj !== undefined; i++) { + var key = keys[i]; + obj = (obj !== null) ? obj[key] : undefined; + } + return obj; +} + +/** + * Create a shallow copy of an object and clear other fields from the destination + */ +function shallowClearAndCopy(src, dst) { + dst = dst || {}; + + angular.forEach(dst, function(value, key) { + delete dst[key]; + }); + + for (var key in src) { + if (src.hasOwnProperty(key) && !(key.charAt(0) === '$' && key.charAt(1) === '$')) { + dst[key] = src[key]; + } + } + + return dst; +} + +/** + * @ngdoc module + * @name ngResource + * @description + * + * # ngResource + * + * The `ngResource` module provides interaction support with RESTful services + * via the $resource service. + * + * + *
+ * + * See {@link ngResource.$resource `$resource`} for usage. + */ + +/** + * @ngdoc service + * @name $resource + * @requires $http + * + * @description + * A factory which creates a resource object that lets you interact with + * [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) server-side data sources. + * + * The returned resource object has action methods which provide high-level behaviors without + * the need to interact with the low level {@link ng.$http $http} service. + * + * Requires the {@link ngResource `ngResource`} module to be installed. + * + * By default, trailing slashes will be stripped from the calculated URLs, + * which can pose problems with server backends that do not expect that + * behavior. This can be disabled by configuring the `$resourceProvider` like + * this: + * + * ```js + app.config(['$resourceProvider', function($resourceProvider) { + // Don't strip trailing slashes from calculated URLs + $resourceProvider.defaults.stripTrailingSlashes = false; + }]); + * ``` + * + * @param {string} url A parameterized URL template with parameters prefixed by `:` as in + * `/user/:username`. If you are using a URL with a port number (e.g. + * `http://example.com:8080/api`), it will be respected. + * + * If you are using a url with a suffix, just add the suffix, like this: + * `$resource('http://example.com/resource.json')` or `$resource('http://example.com/:id.json')` + * or even `$resource('http://example.com/resource/:resource_id.:format')` + * If the parameter before the suffix is empty, :resource_id in this case, then the `/.` will be + * collapsed down to a single `.`. If you need this sequence to appear and not collapse then you + * can escape it with `/\.`. + * + * @param {Object=} paramDefaults Default values for `url` parameters. These can be overridden in + * `actions` methods. If any of the parameter value is a function, it will be executed every time + * when a param value needs to be obtained for a request (unless the param was overridden). + * + * Each key value in the parameter object is first bound to url template if present and then any + * excess keys are appended to the url search query after the `?`. + * + * Given a template `/path/:verb` and parameter `{verb:'greet', salutation:'Hello'}` results in + * URL `/path/greet?salutation=Hello`. + * + * If the parameter value is prefixed with `@` then the value for that parameter will be extracted + * from the corresponding property on the `data` object (provided when calling an action method). For + * example, if the `defaultParam` object is `{someParam: '@someProp'}` then the value of `someParam` + * will be `data.someProp`. + * + * @param {Object.=} actions Hash with declaration of custom actions that should extend + * the default set of resource actions. The declaration should be created in the format of {@link + * ng.$http#usage $http.config}: + * + * {action1: {method:?, params:?, isArray:?, headers:?, ...}, + * action2: {method:?, params:?, isArray:?, headers:?, ...}, + * ...} + * + * Where: + * + * - **`action`** – {string} – The name of action. This name becomes the name of the method on + * your resource object. + * - **`method`** – {string} – Case insensitive HTTP method (e.g. `GET`, `POST`, `PUT`, + * `DELETE`, `JSONP`, etc). + * - **`params`** – {Object=} – Optional set of pre-bound parameters for this action. If any of + * the parameter value is a function, it will be executed every time when a param value needs to + * be obtained for a request (unless the param was overridden). + * - **`url`** – {string} – action specific `url` override. The url templating is supported just + * like for the resource-level urls. + * - **`isArray`** – {boolean=} – If true then the returned object for this action is an array, + * see `returns` section. + * - **`transformRequest`** – + * `{function(data, headersGetter)|Array.}` – + * transform function or an array of such functions. The transform function takes the http + * request body and headers and returns its transformed (typically serialized) version. + * By default, transformRequest will contain one function that checks if the request data is + * an object and serializes to using `angular.toJson`. To prevent this behavior, set + * `transformRequest` to an empty array: `transformRequest: []` + * - **`transformResponse`** – + * `{function(data, headersGetter)|Array.}` – + * transform function or an array of such functions. The transform function takes the http + * response body and headers and returns its transformed (typically deserialized) version. + * By default, transformResponse will contain one function that checks if the response looks like + * a JSON string and deserializes it using `angular.fromJson`. To prevent this behavior, set + * `transformResponse` to an empty array: `transformResponse: []` + * - **`cache`** – `{boolean|Cache}` – If true, a default $http cache will be used to cache the + * GET request, otherwise if a cache instance built with + * {@link ng.$cacheFactory $cacheFactory}, this cache will be used for + * caching. + * - **`timeout`** – `{number|Promise}` – timeout in milliseconds, or {@link ng.$q promise} that + * should abort the request when resolved. + * - **`withCredentials`** - `{boolean}` - whether to set the `withCredentials` flag on the + * XHR object. See + * [requests with credentials](https://developer.mozilla.org/en/http_access_control#section_5) + * for more information. + * - **`responseType`** - `{string}` - see + * [requestType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType). + * - **`interceptor`** - `{Object=}` - The interceptor object has two optional methods - + * `response` and `responseError`. Both `response` and `responseError` interceptors get called + * with `http response` object. See {@link ng.$http $http interceptors}. + * + * @param {Object} options Hash with custom settings that should extend the + * default `$resourceProvider` behavior. The only supported option is + * + * Where: + * + * - **`stripTrailingSlashes`** – {boolean} – If true then the trailing + * slashes from any calculated URL will be stripped. (Defaults to true.) + * + * @returns {Object} A resource "class" object with methods for the default set of resource actions + * optionally extended with custom `actions`. The default set contains these actions: + * ```js + * { 'get': {method:'GET'}, + * 'save': {method:'POST'}, + * 'query': {method:'GET', isArray:true}, + * 'remove': {method:'DELETE'}, + * 'delete': {method:'DELETE'} }; + * ``` + * + * Calling these methods invoke an {@link ng.$http} with the specified http method, + * destination and parameters. When the data is returned from the server then the object is an + * instance of the resource class. The actions `save`, `remove` and `delete` are available on it + * as methods with the `$` prefix. This allows you to easily perform CRUD operations (create, + * read, update, delete) on server-side data like this: + * ```js + * var User = $resource('/user/:userId', {userId:'@id'}); + * var user = User.get({userId:123}, function() { + * user.abc = true; + * user.$save(); + * }); + * ``` + * + * It is important to realize that invoking a $resource object method immediately returns an + * empty reference (object or array depending on `isArray`). Once the data is returned from the + * server the existing reference is populated with the actual data. This is a useful trick since + * usually the resource is assigned to a model which is then rendered by the view. Having an empty + * object results in no rendering, once the data arrives from the server then the object is + * populated with the data and the view automatically re-renders itself showing the new data. This + * means that in most cases one never has to write a callback function for the action methods. + * + * The action methods on the class object or instance object can be invoked with the following + * parameters: + * + * - HTTP GET "class" actions: `Resource.action([parameters], [success], [error])` + * - non-GET "class" actions: `Resource.action([parameters], postData, [success], [error])` + * - non-GET instance actions: `instance.$action([parameters], [success], [error])` + * + * + * Success callback is called with (value, responseHeaders) arguments, where the value is + * the populated resource instance or collection object. The error callback is called + * with (httpResponse) argument. + * + * Class actions return empty instance (with additional properties below). + * Instance actions return promise of the action. + * + * The Resource instances and collection have these additional properties: + * + * - `$promise`: the {@link ng.$q promise} of the original server interaction that created this + * instance or collection. + * + * On success, the promise is resolved with the same resource instance or collection object, + * updated with data from server. This makes it easy to use in + * {@link ngRoute.$routeProvider resolve section of $routeProvider.when()} to defer view + * rendering until the resource(s) are loaded. + * + * On failure, the promise is resolved with the {@link ng.$http http response} object, without + * the `resource` property. + * + * If an interceptor object was provided, the promise will instead be resolved with the value + * returned by the interceptor. + * + * - `$resolved`: `true` after first server interaction is completed (either with success or + * rejection), `false` before that. Knowing if the Resource has been resolved is useful in + * data-binding. + * + * @example + * + * # Credit card resource + * + * ```js + // Define CreditCard class + var CreditCard = $resource('/user/:userId/card/:cardId', + {userId:123, cardId:'@id'}, { + charge: {method:'POST', params:{charge:true}} + }); + + // We can retrieve a collection from the server + var cards = CreditCard.query(function() { + // GET: /user/123/card + // server returns: [ {id:456, number:'1234', name:'Smith'} ]; + + var card = cards[0]; + // each item is an instance of CreditCard + expect(card instanceof CreditCard).toEqual(true); + card.name = "J. Smith"; + // non GET methods are mapped onto the instances + card.$save(); + // POST: /user/123/card/456 {id:456, number:'1234', name:'J. Smith'} + // server returns: {id:456, number:'1234', name: 'J. Smith'}; + + // our custom method is mapped as well. + card.$charge({amount:9.99}); + // POST: /user/123/card/456?amount=9.99&charge=true {id:456, number:'1234', name:'J. Smith'} + }); + + // we can create an instance as well + var newCard = new CreditCard({number:'0123'}); + newCard.name = "Mike Smith"; + newCard.$save(); + // POST: /user/123/card {number:'0123', name:'Mike Smith'} + // server returns: {id:789, number:'0123', name: 'Mike Smith'}; + expect(newCard.id).toEqual(789); + * ``` + * + * The object returned from this function execution is a resource "class" which has "static" method + * for each action in the definition. + * + * Calling these methods invoke `$http` on the `url` template with the given `method`, `params` and + * `headers`. + * When the data is returned from the server then the object is an instance of the resource type and + * all of the non-GET methods are available with `$` prefix. This allows you to easily support CRUD + * operations (create, read, update, delete) on server-side data. + + ```js + var User = $resource('/user/:userId', {userId:'@id'}); + User.get({userId:123}, function(user) { + user.abc = true; + user.$save(); + }); + ``` + * + * It's worth noting that the success callback for `get`, `query` and other methods gets passed + * in the response that came from the server as well as $http header getter function, so one + * could rewrite the above example and get access to http headers as: + * + ```js + var User = $resource('/user/:userId', {userId:'@id'}); + User.get({userId:123}, function(u, getResponseHeaders){ + u.abc = true; + u.$save(function(u, putResponseHeaders) { + //u => saved user object + //putResponseHeaders => $http header getter + }); + }); + ``` + * + * You can also access the raw `$http` promise via the `$promise` property on the object returned + * + ``` + var User = $resource('/user/:userId', {userId:'@id'}); + User.get({userId:123}) + .$promise.then(function(user) { + $scope.user = user; + }); + ``` + + * # Creating a custom 'PUT' request + * In this example we create a custom method on our resource to make a PUT request + * ```js + * var app = angular.module('app', ['ngResource', 'ngRoute']); + * + * // Some APIs expect a PUT request in the format URL/object/ID + * // Here we are creating an 'update' method + * app.factory('Notes', ['$resource', function($resource) { + * return $resource('/notes/:id', null, + * { + * 'update': { method:'PUT' } + * }); + * }]); + * + * // In our controller we get the ID from the URL using ngRoute and $routeParams + * // We pass in $routeParams and our Notes factory along with $scope + * app.controller('NotesCtrl', ['$scope', '$routeParams', 'Notes', + function($scope, $routeParams, Notes) { + * // First get a note object from the factory + * var note = Notes.get({ id:$routeParams.id }); + * $id = note.id; + * + * // Now call update passing in the ID first then the object you are updating + * Notes.update({ id:$id }, note); + * + * // This will PUT /notes/ID with the note object in the request payload + * }]); + * ``` + */ +angular.module('ngResource', ['ng']). + provider('$resource', function() { + var provider = this; + + this.defaults = { + // Strip slashes by default + stripTrailingSlashes: true, + + // Default actions configuration + actions: { + 'get': {method: 'GET'}, + 'save': {method: 'POST'}, + 'query': {method: 'GET', isArray: true}, + 'remove': {method: 'DELETE'}, + 'delete': {method: 'DELETE'} + } + }; + + this.$get = ['$http', '$q', function($http, $q) { + + var noop = angular.noop, + forEach = angular.forEach, + extend = angular.extend, + copy = angular.copy, + isFunction = angular.isFunction; + + /** + * We need our custom method because encodeURIComponent is too aggressive and doesn't follow + * http://www.ietf.org/rfc/rfc3986.txt with regards to the character set + * (pchar) allowed in path segments: + * segment = *pchar + * pchar = unreserved / pct-encoded / sub-delims / ":" / "@" + * pct-encoded = "%" HEXDIG HEXDIG + * unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" + * sub-delims = "!" / "$" / "&" / "'" / "(" / ")" + * / "*" / "+" / "," / ";" / "=" + */ + function encodeUriSegment(val) { + return encodeUriQuery(val, true). + replace(/%26/gi, '&'). + replace(/%3D/gi, '='). + replace(/%2B/gi, '+'); + } + + + /** + * This method is intended for encoding *key* or *value* parts of query component. We need a + * custom method because encodeURIComponent is too aggressive and encodes stuff that doesn't + * have to be encoded per http://tools.ietf.org/html/rfc3986: + * query = *( pchar / "/" / "?" ) + * pchar = unreserved / pct-encoded / sub-delims / ":" / "@" + * unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" + * pct-encoded = "%" HEXDIG HEXDIG + * sub-delims = "!" / "$" / "&" / "'" / "(" / ")" + * / "*" / "+" / "," / ";" / "=" + */ + function encodeUriQuery(val, pctEncodeSpaces) { + return encodeURIComponent(val). + replace(/%40/gi, '@'). + replace(/%3A/gi, ':'). + replace(/%24/g, '$'). + replace(/%2C/gi, ','). + replace(/%20/g, (pctEncodeSpaces ? '%20' : '+')); + } + + function Route(template, defaults) { + this.template = template; + this.defaults = extend({}, provider.defaults, defaults); + this.urlParams = {}; + } + + Route.prototype = { + setUrlParams: function(config, params, actionUrl) { + var self = this, + url = actionUrl || self.template, + val, + encodedVal; + + var urlParams = self.urlParams = {}; + forEach(url.split(/\W/), function(param) { + if (param === 'hasOwnProperty') { + throw $resourceMinErr('badname', "hasOwnProperty is not a valid parameter name."); + } + if (!(new RegExp("^\\d+$").test(param)) && param && + (new RegExp("(^|[^\\\\]):" + param + "(\\W|$)").test(url))) { + urlParams[param] = true; + } + }); + url = url.replace(/\\:/g, ':'); + + params = params || {}; + forEach(self.urlParams, function(_, urlParam) { + val = params.hasOwnProperty(urlParam) ? params[urlParam] : self.defaults[urlParam]; + if (angular.isDefined(val) && val !== null) { + encodedVal = encodeUriSegment(val); + url = url.replace(new RegExp(":" + urlParam + "(\\W|$)", "g"), function(match, p1) { + return encodedVal + p1; + }); + } else { + url = url.replace(new RegExp("(\/?):" + urlParam + "(\\W|$)", "g"), function(match, + leadingSlashes, tail) { + if (tail.charAt(0) == '/') { + return tail; + } else { + return leadingSlashes + tail; + } + }); + } + }); + + // strip trailing slashes and set the url (unless this behavior is specifically disabled) + if (self.defaults.stripTrailingSlashes) { + url = url.replace(/\/+$/, '') || '/'; + } + + // then replace collapse `/.` if found in the last URL path segment before the query + // E.g. `http://url.com/id./format?q=x` becomes `http://url.com/id.format?q=x` + url = url.replace(/\/\.(?=\w+($|\?))/, '.'); + // replace escaped `/\.` with `/.` + config.url = url.replace(/\/\\\./, '/.'); + + + // set params - delegate param encoding to $http + forEach(params, function(value, key) { + if (!self.urlParams[key]) { + config.params = config.params || {}; + config.params[key] = value; + } + }); + } + }; + + + function resourceFactory(url, paramDefaults, actions, options) { + var route = new Route(url, options); + + actions = extend({}, provider.defaults.actions, actions); + + function extractParams(data, actionParams) { + var ids = {}; + actionParams = extend({}, paramDefaults, actionParams); + forEach(actionParams, function(value, key) { + if (isFunction(value)) { value = value(); } + ids[key] = value && value.charAt && value.charAt(0) == '@' ? + lookupDottedPath(data, value.substr(1)) : value; + }); + return ids; + } + + function defaultResponseInterceptor(response) { + return response.resource; + } + + function Resource(value) { + shallowClearAndCopy(value || {}, this); + } + + Resource.prototype.toJSON = function() { + var data = extend({}, this); + delete data.$promise; + delete data.$resolved; + return data; + }; + + forEach(actions, function(action, name) { + var hasBody = /^(POST|PUT|PATCH)$/i.test(action.method); + + Resource[name] = function(a1, a2, a3, a4) { + var params = {}, data, success, error; + + /* jshint -W086 */ /* (purposefully fall through case statements) */ + switch (arguments.length) { + case 4: + error = a4; + success = a3; + //fallthrough + case 3: + case 2: + if (isFunction(a2)) { + if (isFunction(a1)) { + success = a1; + error = a2; + break; + } + + success = a2; + error = a3; + //fallthrough + } else { + params = a1; + data = a2; + success = a3; + break; + } + case 1: + if (isFunction(a1)) success = a1; + else if (hasBody) data = a1; + else params = a1; + break; + case 0: break; + default: + throw $resourceMinErr('badargs', + "Expected up to 4 arguments [params, data, success, error], got {0} arguments", + arguments.length); + } + /* jshint +W086 */ /* (purposefully fall through case statements) */ + + var isInstanceCall = this instanceof Resource; + var value = isInstanceCall ? data : (action.isArray ? [] : new Resource(data)); + var httpConfig = {}; + var responseInterceptor = action.interceptor && action.interceptor.response || + defaultResponseInterceptor; + var responseErrorInterceptor = action.interceptor && action.interceptor.responseError || + undefined; + + forEach(action, function(value, key) { + if (key != 'params' && key != 'isArray' && key != 'interceptor') { + httpConfig[key] = copy(value); + } + }); + + if (hasBody) httpConfig.data = data; + route.setUrlParams(httpConfig, + extend({}, extractParams(data, action.params || {}), params), + action.url); + + var promise = $http(httpConfig).then(function(response) { + var data = response.data, + promise = value.$promise; + + if (data) { + // Need to convert action.isArray to boolean in case it is undefined + // jshint -W018 + if (angular.isArray(data) !== (!!action.isArray)) { + throw $resourceMinErr('badcfg', + 'Error in resource configuration for action `{0}`. Expected response to ' + + 'contain an {1} but got an {2} (Request: {3} {4})', name, action.isArray ? 'array' : 'object', + angular.isArray(data) ? 'array' : 'object', httpConfig.method, httpConfig.url); + } + // jshint +W018 + if (action.isArray) { + value.length = 0; + forEach(data, function(item) { + if (typeof item === "object") { + value.push(new Resource(item)); + } else { + // Valid JSON values may be string literals, and these should not be converted + // into objects. These items will not have access to the Resource prototype + // methods, but unfortunately there + value.push(item); + } + }); + } else { + shallowClearAndCopy(data, value); + value.$promise = promise; + } + } + + value.$resolved = true; + + response.resource = value; + + return response; + }, function(response) { + value.$resolved = true; + + (error || noop)(response); + + return $q.reject(response); + }); + + promise = promise.then( + function(response) { + var value = responseInterceptor(response); + (success || noop)(value, response.headers); + return value; + }, + responseErrorInterceptor); + + if (!isInstanceCall) { + // we are creating instance / collection + // - set the initial promise + // - return the instance / collection + value.$promise = promise; + value.$resolved = false; + + return value; + } + + // instance call + return promise; + }; + + + Resource.prototype['$' + name] = function(params, success, error) { + if (isFunction(params)) { + error = success; success = params; params = {}; + } + var result = Resource[name].call(this, params, this, success, error); + return result.$promise || result; + }; + }); + + Resource.bind = function(additionalParamDefaults) { + return resourceFactory(url, extend({}, paramDefaults, additionalParamDefaults), actions); + }; + + return Resource; + } + + return resourceFactory; + }]; + }); + + +})(window, window.angular); diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-route.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-route.js new file mode 100644 index 0000000000..353e86f22e --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-route.js @@ -0,0 +1,992 @@ +/** + * @license AngularJS v1.4.4 + * (c) 2010-2015 Google, Inc. http://angularjs.org + * License: MIT + */ +(function(window, angular, undefined) {'use strict'; + +/** + * @ngdoc module + * @name ngRoute + * @description + * + * # ngRoute + * + * The `ngRoute` module provides routing and deeplinking services and directives for angular apps. + * + * ## Example + * See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`. + * + * + *
+ */ + /* global -ngRouteModule */ +var ngRouteModule = angular.module('ngRoute', ['ng']). + provider('$route', $RouteProvider), + $routeMinErr = angular.$$minErr('ngRoute'); + +/** + * @ngdoc provider + * @name $routeProvider + * + * @description + * + * Used for configuring routes. + * + * ## Example + * See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`. + * + * ## Dependencies + * Requires the {@link ngRoute `ngRoute`} module to be installed. + */ +function $RouteProvider() { + function inherit(parent, extra) { + return angular.extend(Object.create(parent), extra); + } + + var routes = {}; + + /** + * @ngdoc method + * @name $routeProvider#when + * + * @param {string} path Route path (matched against `$location.path`). If `$location.path` + * contains redundant trailing slash or is missing one, the route will still match and the + * `$location.path` will be updated to add or drop the trailing slash to exactly match the + * route definition. + * + * * `path` can contain named groups starting with a colon: e.g. `:name`. All characters up + * to the next slash are matched and stored in `$routeParams` under the given `name` + * when the route matches. + * * `path` can contain named groups starting with a colon and ending with a star: + * e.g.`:name*`. All characters are eagerly stored in `$routeParams` under the given `name` + * when the route matches. + * * `path` can contain optional named groups with a question mark: e.g.`:name?`. + * + * For example, routes like `/color/:color/largecode/:largecode*\/edit` will match + * `/color/brown/largecode/code/with/slashes/edit` and extract: + * + * * `color: brown` + * * `largecode: code/with/slashes`. + * + * + * @param {Object} route Mapping information to be assigned to `$route.current` on route + * match. + * + * Object properties: + * + * - `controller` – `{(string|function()=}` – Controller fn that should be associated with + * newly created scope or the name of a {@link angular.Module#controller registered + * controller} if passed as a string. + * - `controllerAs` – `{string=}` – An identifier name for a reference to the controller. + * If present, the controller will be published to scope under the `controllerAs` name. + * - `template` – `{string=|function()=}` – html template as a string or a function that + * returns an html template as a string which should be used by {@link + * ngRoute.directive:ngView ngView} or {@link ng.directive:ngInclude ngInclude} directives. + * This property takes precedence over `templateUrl`. + * + * If `template` is a function, it will be called with the following parameters: + * + * - `{Array.}` - route parameters extracted from the current + * `$location.path()` by applying the current route + * + * - `templateUrl` – `{string=|function()=}` – path or function that returns a path to an html + * template that should be used by {@link ngRoute.directive:ngView ngView}. + * + * If `templateUrl` is a function, it will be called with the following parameters: + * + * - `{Array.}` - route parameters extracted from the current + * `$location.path()` by applying the current route + * + * - `resolve` - `{Object.=}` - An optional map of dependencies which should + * be injected into the controller. If any of these dependencies are promises, the router + * will wait for them all to be resolved or one to be rejected before the controller is + * instantiated. + * If all the promises are resolved successfully, the values of the resolved promises are + * injected and {@link ngRoute.$route#$routeChangeSuccess $routeChangeSuccess} event is + * fired. If any of the promises are rejected the + * {@link ngRoute.$route#$routeChangeError $routeChangeError} event is fired. The map object + * is: + * + * - `key` – `{string}`: a name of a dependency to be injected into the controller. + * - `factory` - `{string|function}`: If `string` then it is an alias for a service. + * Otherwise if function, then it is {@link auto.$injector#invoke injected} + * and the return value is treated as the dependency. If the result is a promise, it is + * resolved before its value is injected into the controller. Be aware that + * `ngRoute.$routeParams` will still refer to the previous route within these resolve + * functions. Use `$route.current.params` to access the new route parameters, instead. + * + * - `redirectTo` – {(string|function())=} – value to update + * {@link ng.$location $location} path with and trigger route redirection. + * + * If `redirectTo` is a function, it will be called with the following parameters: + * + * - `{Object.}` - route parameters extracted from the current + * `$location.path()` by applying the current route templateUrl. + * - `{string}` - current `$location.path()` + * - `{Object}` - current `$location.search()` + * + * The custom `redirectTo` function is expected to return a string which will be used + * to update `$location.path()` and `$location.search()`. + * + * - `[reloadOnSearch=true]` - {boolean=} - reload route when only `$location.search()` + * or `$location.hash()` changes. + * + * If the option is set to `false` and url in the browser changes, then + * `$routeUpdate` event is broadcasted on the root scope. + * + * - `[caseInsensitiveMatch=false]` - {boolean=} - match routes without being case sensitive + * + * If the option is set to `true`, then the particular route can be matched without being + * case sensitive + * + * @returns {Object} self + * + * @description + * Adds a new route definition to the `$route` service. + */ + this.when = function(path, route) { + //copy original route object to preserve params inherited from proto chain + var routeCopy = angular.copy(route); + if (angular.isUndefined(routeCopy.reloadOnSearch)) { + routeCopy.reloadOnSearch = true; + } + if (angular.isUndefined(routeCopy.caseInsensitiveMatch)) { + routeCopy.caseInsensitiveMatch = this.caseInsensitiveMatch; + } + routes[path] = angular.extend( + routeCopy, + path && pathRegExp(path, routeCopy) + ); + + // create redirection for trailing slashes + if (path) { + var redirectPath = (path[path.length - 1] == '/') + ? path.substr(0, path.length - 1) + : path + '/'; + + routes[redirectPath] = angular.extend( + {redirectTo: path}, + pathRegExp(redirectPath, routeCopy) + ); + } + + return this; + }; + + /** + * @ngdoc property + * @name $routeProvider#caseInsensitiveMatch + * @description + * + * A boolean property indicating if routes defined + * using this provider should be matched using a case insensitive + * algorithm. Defaults to `false`. + */ + this.caseInsensitiveMatch = false; + + /** + * @param path {string} path + * @param opts {Object} options + * @return {?Object} + * + * @description + * Normalizes the given path, returning a regular expression + * and the original path. + * + * Inspired by pathRexp in visionmedia/express/lib/utils.js. + */ + function pathRegExp(path, opts) { + var insensitive = opts.caseInsensitiveMatch, + ret = { + originalPath: path, + regexp: path + }, + keys = ret.keys = []; + + path = path + .replace(/([().])/g, '\\$1') + .replace(/(\/)?:(\w+)([\?\*])?/g, function(_, slash, key, option) { + var optional = option === '?' ? option : null; + var star = option === '*' ? option : null; + keys.push({ name: key, optional: !!optional }); + slash = slash || ''; + return '' + + (optional ? '' : slash) + + '(?:' + + (optional ? slash : '') + + (star && '(.+?)' || '([^/]+)') + + (optional || '') + + ')' + + (optional || ''); + }) + .replace(/([\/$\*])/g, '\\$1'); + + ret.regexp = new RegExp('^' + path + '$', insensitive ? 'i' : ''); + return ret; + } + + /** + * @ngdoc method + * @name $routeProvider#otherwise + * + * @description + * Sets route definition that will be used on route change when no other route definition + * is matched. + * + * @param {Object|string} params Mapping information to be assigned to `$route.current`. + * If called with a string, the value maps to `redirectTo`. + * @returns {Object} self + */ + this.otherwise = function(params) { + if (typeof params === 'string') { + params = {redirectTo: params}; + } + this.when(null, params); + return this; + }; + + + this.$get = ['$rootScope', + '$location', + '$routeParams', + '$q', + '$injector', + '$templateRequest', + '$sce', + function($rootScope, $location, $routeParams, $q, $injector, $templateRequest, $sce) { + + /** + * @ngdoc service + * @name $route + * @requires $location + * @requires $routeParams + * + * @property {Object} current Reference to the current route definition. + * The route definition contains: + * + * - `controller`: The controller constructor as define in route definition. + * - `locals`: A map of locals which is used by {@link ng.$controller $controller} service for + * controller instantiation. The `locals` contain + * the resolved values of the `resolve` map. Additionally the `locals` also contain: + * + * - `$scope` - The current route scope. + * - `$template` - The current route template HTML. + * + * @property {Object} routes Object with all route configuration Objects as its properties. + * + * @description + * `$route` is used for deep-linking URLs to controllers and views (HTML partials). + * It watches `$location.url()` and tries to map the path to an existing route definition. + * + * Requires the {@link ngRoute `ngRoute`} module to be installed. + * + * You can define routes through {@link ngRoute.$routeProvider $routeProvider}'s API. + * + * The `$route` service is typically used in conjunction with the + * {@link ngRoute.directive:ngView `ngView`} directive and the + * {@link ngRoute.$routeParams `$routeParams`} service. + * + * @example + * This example shows how changing the URL hash causes the `$route` to match a route against the + * URL, and the `ngView` pulls in the partial. + * + * + * + *
+ * Choose: + * Moby | + * Moby: Ch1 | + * Gatsby | + * Gatsby: Ch4 | + * Scarlet Letter
+ * + *
+ * + *
+ * + *
$location.path() = {{$location.path()}}
+ *
$route.current.templateUrl = {{$route.current.templateUrl}}
+ *
$route.current.params = {{$route.current.params}}
+ *
$route.current.scope.name = {{$route.current.scope.name}}
+ *
$routeParams = {{$routeParams}}
+ *
+ *
+ * + * + * controller: {{name}}
+ * Book Id: {{params.bookId}}
+ *
+ * + * + * controller: {{name}}
+ * Book Id: {{params.bookId}}
+ * Chapter Id: {{params.chapterId}} + *
+ * + * + * angular.module('ngRouteExample', ['ngRoute']) + * + * .controller('MainController', function($scope, $route, $routeParams, $location) { + * $scope.$route = $route; + * $scope.$location = $location; + * $scope.$routeParams = $routeParams; + * }) + * + * .controller('BookController', function($scope, $routeParams) { + * $scope.name = "BookController"; + * $scope.params = $routeParams; + * }) + * + * .controller('ChapterController', function($scope, $routeParams) { + * $scope.name = "ChapterController"; + * $scope.params = $routeParams; + * }) + * + * .config(function($routeProvider, $locationProvider) { + * $routeProvider + * .when('/Book/:bookId', { + * templateUrl: 'book.html', + * controller: 'BookController', + * resolve: { + * // I will cause a 1 second delay + * delay: function($q, $timeout) { + * var delay = $q.defer(); + * $timeout(delay.resolve, 1000); + * return delay.promise; + * } + * } + * }) + * .when('/Book/:bookId/ch/:chapterId', { + * templateUrl: 'chapter.html', + * controller: 'ChapterController' + * }); + * + * // configure html5 to get links working on jsfiddle + * $locationProvider.html5Mode(true); + * }); + * + * + * + * + * it('should load and compile correct template', function() { + * element(by.linkText('Moby: Ch1')).click(); + * var content = element(by.css('[ng-view]')).getText(); + * expect(content).toMatch(/controller\: ChapterController/); + * expect(content).toMatch(/Book Id\: Moby/); + * expect(content).toMatch(/Chapter Id\: 1/); + * + * element(by.partialLinkText('Scarlet')).click(); + * + * content = element(by.css('[ng-view]')).getText(); + * expect(content).toMatch(/controller\: BookController/); + * expect(content).toMatch(/Book Id\: Scarlet/); + * }); + * + *
+ */ + + /** + * @ngdoc event + * @name $route#$routeChangeStart + * @eventType broadcast on root scope + * @description + * Broadcasted before a route change. At this point the route services starts + * resolving all of the dependencies needed for the route change to occur. + * Typically this involves fetching the view template as well as any dependencies + * defined in `resolve` route property. Once all of the dependencies are resolved + * `$routeChangeSuccess` is fired. + * + * The route change (and the `$location` change that triggered it) can be prevented + * by calling `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on} + * for more details about event object. + * + * @param {Object} angularEvent Synthetic event object. + * @param {Route} next Future route information. + * @param {Route} current Current route information. + */ + + /** + * @ngdoc event + * @name $route#$routeChangeSuccess + * @eventType broadcast on root scope + * @description + * Broadcasted after a route change has happened successfully. + * The `resolve` dependencies are now available in the `current.locals` property. + * + * {@link ngRoute.directive:ngView ngView} listens for the directive + * to instantiate the controller and render the view. + * + * @param {Object} angularEvent Synthetic event object. + * @param {Route} current Current route information. + * @param {Route|Undefined} previous Previous route information, or undefined if current is + * first route entered. + */ + + /** + * @ngdoc event + * @name $route#$routeChangeError + * @eventType broadcast on root scope + * @description + * Broadcasted if any of the resolve promises are rejected. + * + * @param {Object} angularEvent Synthetic event object + * @param {Route} current Current route information. + * @param {Route} previous Previous route information. + * @param {Route} rejection Rejection of the promise. Usually the error of the failed promise. + */ + + /** + * @ngdoc event + * @name $route#$routeUpdate + * @eventType broadcast on root scope + * @description + * The `reloadOnSearch` property has been set to false, and we are reusing the same + * instance of the Controller. + * + * @param {Object} angularEvent Synthetic event object + * @param {Route} current Current/previous route information. + */ + + var forceReload = false, + preparedRoute, + preparedRouteIsUpdateOnly, + $route = { + routes: routes, + + /** + * @ngdoc method + * @name $route#reload + * + * @description + * Causes `$route` service to reload the current route even if + * {@link ng.$location $location} hasn't changed. + * + * As a result of that, {@link ngRoute.directive:ngView ngView} + * creates new scope and reinstantiates the controller. + */ + reload: function() { + forceReload = true; + $rootScope.$evalAsync(function() { + // Don't support cancellation of a reload for now... + prepareRoute(); + commitRoute(); + }); + }, + + /** + * @ngdoc method + * @name $route#updateParams + * + * @description + * Causes `$route` service to update the current URL, replacing + * current route parameters with those specified in `newParams`. + * Provided property names that match the route's path segment + * definitions will be interpolated into the location's path, while + * remaining properties will be treated as query params. + * + * @param {!Object} newParams mapping of URL parameter names to values + */ + updateParams: function(newParams) { + if (this.current && this.current.$$route) { + newParams = angular.extend({}, this.current.params, newParams); + $location.path(interpolate(this.current.$$route.originalPath, newParams)); + // interpolate modifies newParams, only query params are left + $location.search(newParams); + } else { + throw $routeMinErr('norout', 'Tried updating route when with no current route'); + } + } + }; + + $rootScope.$on('$locationChangeStart', prepareRoute); + $rootScope.$on('$locationChangeSuccess', commitRoute); + + return $route; + + ///////////////////////////////////////////////////// + + /** + * @param on {string} current url + * @param route {Object} route regexp to match the url against + * @return {?Object} + * + * @description + * Check if the route matches the current url. + * + * Inspired by match in + * visionmedia/express/lib/router/router.js. + */ + function switchRouteMatcher(on, route) { + var keys = route.keys, + params = {}; + + if (!route.regexp) return null; + + var m = route.regexp.exec(on); + if (!m) return null; + + for (var i = 1, len = m.length; i < len; ++i) { + var key = keys[i - 1]; + + var val = m[i]; + + if (key && val) { + params[key.name] = val; + } + } + return params; + } + + function prepareRoute($locationEvent) { + var lastRoute = $route.current; + + preparedRoute = parseRoute(); + preparedRouteIsUpdateOnly = preparedRoute && lastRoute && preparedRoute.$$route === lastRoute.$$route + && angular.equals(preparedRoute.pathParams, lastRoute.pathParams) + && !preparedRoute.reloadOnSearch && !forceReload; + + if (!preparedRouteIsUpdateOnly && (lastRoute || preparedRoute)) { + if ($rootScope.$broadcast('$routeChangeStart', preparedRoute, lastRoute).defaultPrevented) { + if ($locationEvent) { + $locationEvent.preventDefault(); + } + } + } + } + + function commitRoute() { + var lastRoute = $route.current; + var nextRoute = preparedRoute; + + if (preparedRouteIsUpdateOnly) { + lastRoute.params = nextRoute.params; + angular.copy(lastRoute.params, $routeParams); + $rootScope.$broadcast('$routeUpdate', lastRoute); + } else if (nextRoute || lastRoute) { + forceReload = false; + $route.current = nextRoute; + if (nextRoute) { + if (nextRoute.redirectTo) { + if (angular.isString(nextRoute.redirectTo)) { + $location.path(interpolate(nextRoute.redirectTo, nextRoute.params)).search(nextRoute.params) + .replace(); + } else { + $location.url(nextRoute.redirectTo(nextRoute.pathParams, $location.path(), $location.search())) + .replace(); + } + } + } + + $q.when(nextRoute). + then(function() { + if (nextRoute) { + var locals = angular.extend({}, nextRoute.resolve), + template, templateUrl; + + angular.forEach(locals, function(value, key) { + locals[key] = angular.isString(value) ? + $injector.get(value) : $injector.invoke(value, null, null, key); + }); + + if (angular.isDefined(template = nextRoute.template)) { + if (angular.isFunction(template)) { + template = template(nextRoute.params); + } + } else if (angular.isDefined(templateUrl = nextRoute.templateUrl)) { + if (angular.isFunction(templateUrl)) { + templateUrl = templateUrl(nextRoute.params); + } + if (angular.isDefined(templateUrl)) { + nextRoute.loadedTemplateUrl = $sce.valueOf(templateUrl); + template = $templateRequest(templateUrl); + } + } + if (angular.isDefined(template)) { + locals['$template'] = template; + } + return $q.all(locals); + } + }). + then(function(locals) { + // after route change + if (nextRoute == $route.current) { + if (nextRoute) { + nextRoute.locals = locals; + angular.copy(nextRoute.params, $routeParams); + } + $rootScope.$broadcast('$routeChangeSuccess', nextRoute, lastRoute); + } + }, function(error) { + if (nextRoute == $route.current) { + $rootScope.$broadcast('$routeChangeError', nextRoute, lastRoute, error); + } + }); + } + } + + + /** + * @returns {Object} the current active route, by matching it against the URL + */ + function parseRoute() { + // Match a route + var params, match; + angular.forEach(routes, function(route, path) { + if (!match && (params = switchRouteMatcher($location.path(), route))) { + match = inherit(route, { + params: angular.extend({}, $location.search(), params), + pathParams: params}); + match.$$route = route; + } + }); + // No route matched; fallback to "otherwise" route + return match || routes[null] && inherit(routes[null], {params: {}, pathParams:{}}); + } + + /** + * @returns {string} interpolation of the redirect path with the parameters + */ + function interpolate(string, params) { + var result = []; + angular.forEach((string || '').split(':'), function(segment, i) { + if (i === 0) { + result.push(segment); + } else { + var segmentMatch = segment.match(/(\w+)(?:[?*])?(.*)/); + var key = segmentMatch[1]; + result.push(params[key]); + result.push(segmentMatch[2] || ''); + delete params[key]; + } + }); + return result.join(''); + } + }]; +} + +ngRouteModule.provider('$routeParams', $RouteParamsProvider); + + +/** + * @ngdoc service + * @name $routeParams + * @requires $route + * + * @description + * The `$routeParams` service allows you to retrieve the current set of route parameters. + * + * Requires the {@link ngRoute `ngRoute`} module to be installed. + * + * The route parameters are a combination of {@link ng.$location `$location`}'s + * {@link ng.$location#search `search()`} and {@link ng.$location#path `path()`}. + * The `path` parameters are extracted when the {@link ngRoute.$route `$route`} path is matched. + * + * In case of parameter name collision, `path` params take precedence over `search` params. + * + * The service guarantees that the identity of the `$routeParams` object will remain unchanged + * (but its properties will likely change) even when a route change occurs. + * + * Note that the `$routeParams` are only updated *after* a route change completes successfully. + * This means that you cannot rely on `$routeParams` being correct in route resolve functions. + * Instead you can use `$route.current.params` to access the new route's parameters. + * + * @example + * ```js + * // Given: + * // URL: http://server.com/index.html#/Chapter/1/Section/2?search=moby + * // Route: /Chapter/:chapterId/Section/:sectionId + * // + * // Then + * $routeParams ==> {chapterId:'1', sectionId:'2', search:'moby'} + * ``` + */ +function $RouteParamsProvider() { + this.$get = function() { return {}; }; +} + +ngRouteModule.directive('ngView', ngViewFactory); +ngRouteModule.directive('ngView', ngViewFillContentFactory); + + +/** + * @ngdoc directive + * @name ngView + * @restrict ECA + * + * @description + * # Overview + * `ngView` is a directive that complements the {@link ngRoute.$route $route} service by + * including the rendered template of the current route into the main layout (`index.html`) file. + * Every time the current route changes, the included view changes with it according to the + * configuration of the `$route` service. + * + * Requires the {@link ngRoute `ngRoute`} module to be installed. + * + * @animations + * enter - animation is used to bring new content into the browser. + * leave - animation is used to animate existing content away. + * + * The enter and leave animation occur concurrently. + * + * @scope + * @priority 400 + * @param {string=} onload Expression to evaluate whenever the view updates. + * + * @param {string=} autoscroll Whether `ngView` should call {@link ng.$anchorScroll + * $anchorScroll} to scroll the viewport after the view is updated. + * + * - If the attribute is not set, disable scrolling. + * - If the attribute is set without value, enable scrolling. + * - Otherwise enable scrolling only if the `autoscroll` attribute value evaluated + * as an expression yields a truthy value. + * @example + + +
+ Choose: + Moby | + Moby: Ch1 | + Gatsby | + Gatsby: Ch4 | + Scarlet Letter
+ +
+
+
+
+ +
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$routeParams = {{main.$routeParams}}
+
+
+ + +
+ controller: {{book.name}}
+ Book Id: {{book.params.bookId}}
+
+
+ + +
+ controller: {{chapter.name}}
+ Book Id: {{chapter.params.bookId}}
+ Chapter Id: {{chapter.params.chapterId}} +
+
+ + + .view-animate-container { + position:relative; + height:100px!important; + background:white; + border:1px solid black; + height:40px; + overflow:hidden; + } + + .view-animate { + padding:10px; + } + + .view-animate.ng-enter, .view-animate.ng-leave { + -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s; + transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s; + + display:block; + width:100%; + border-left:1px solid black; + + position:absolute; + top:0; + left:0; + right:0; + bottom:0; + padding:10px; + } + + .view-animate.ng-enter { + left:100%; + } + .view-animate.ng-enter.ng-enter-active { + left:0; + } + .view-animate.ng-leave.ng-leave-active { + left:-100%; + } + + + + angular.module('ngViewExample', ['ngRoute', 'ngAnimate']) + .config(['$routeProvider', '$locationProvider', + function($routeProvider, $locationProvider) { + $routeProvider + .when('/Book/:bookId', { + templateUrl: 'book.html', + controller: 'BookCtrl', + controllerAs: 'book' + }) + .when('/Book/:bookId/ch/:chapterId', { + templateUrl: 'chapter.html', + controller: 'ChapterCtrl', + controllerAs: 'chapter' + }); + + $locationProvider.html5Mode(true); + }]) + .controller('MainCtrl', ['$route', '$routeParams', '$location', + function($route, $routeParams, $location) { + this.$route = $route; + this.$location = $location; + this.$routeParams = $routeParams; + }]) + .controller('BookCtrl', ['$routeParams', function($routeParams) { + this.name = "BookCtrl"; + this.params = $routeParams; + }]) + .controller('ChapterCtrl', ['$routeParams', function($routeParams) { + this.name = "ChapterCtrl"; + this.params = $routeParams; + }]); + + + + + it('should load and compile correct template', function() { + element(by.linkText('Moby: Ch1')).click(); + var content = element(by.css('[ng-view]')).getText(); + expect(content).toMatch(/controller\: ChapterCtrl/); + expect(content).toMatch(/Book Id\: Moby/); + expect(content).toMatch(/Chapter Id\: 1/); + + element(by.partialLinkText('Scarlet')).click(); + + content = element(by.css('[ng-view]')).getText(); + expect(content).toMatch(/controller\: BookCtrl/); + expect(content).toMatch(/Book Id\: Scarlet/); + }); + +
+ */ + + +/** + * @ngdoc event + * @name ngView#$viewContentLoaded + * @eventType emit on the current ngView scope + * @description + * Emitted every time the ngView content is reloaded. + */ +ngViewFactory.$inject = ['$route', '$anchorScroll', '$animate']; +function ngViewFactory($route, $anchorScroll, $animate) { + return { + restrict: 'ECA', + terminal: true, + priority: 400, + transclude: 'element', + link: function(scope, $element, attr, ctrl, $transclude) { + var currentScope, + currentElement, + previousLeaveAnimation, + autoScrollExp = attr.autoscroll, + onloadExp = attr.onload || ''; + + scope.$on('$routeChangeSuccess', update); + update(); + + function cleanupLastView() { + if (previousLeaveAnimation) { + $animate.cancel(previousLeaveAnimation); + previousLeaveAnimation = null; + } + + if (currentScope) { + currentScope.$destroy(); + currentScope = null; + } + if (currentElement) { + previousLeaveAnimation = $animate.leave(currentElement); + previousLeaveAnimation.then(function() { + previousLeaveAnimation = null; + }); + currentElement = null; + } + } + + function update() { + var locals = $route.current && $route.current.locals, + template = locals && locals.$template; + + if (angular.isDefined(template)) { + var newScope = scope.$new(); + var current = $route.current; + + // Note: This will also link all children of ng-view that were contained in the original + // html. If that content contains controllers, ... they could pollute/change the scope. + // However, using ng-view on an element with additional content does not make sense... + // Note: We can't remove them in the cloneAttchFn of $transclude as that + // function is called before linking the content, which would apply child + // directives to non existing elements. + var clone = $transclude(newScope, function(clone) { + $animate.enter(clone, null, currentElement || $element).then(function onNgViewEnter() { + if (angular.isDefined(autoScrollExp) + && (!autoScrollExp || scope.$eval(autoScrollExp))) { + $anchorScroll(); + } + }); + cleanupLastView(); + }); + + currentElement = clone; + currentScope = current.scope = newScope; + currentScope.$emit('$viewContentLoaded'); + currentScope.$eval(onloadExp); + } else { + cleanupLastView(); + } + } + } + }; +} + +// This directive is called during the $transclude call of the first `ngView` directive. +// It will replace and compile the content of the element with the loaded template. +// We need this directive so that the element content is already filled when +// the link function of another directive on the same element as ngView +// is called. +ngViewFillContentFactory.$inject = ['$compile', '$controller', '$route']; +function ngViewFillContentFactory($compile, $controller, $route) { + return { + restrict: 'ECA', + priority: -400, + link: function(scope, $element) { + var current = $route.current, + locals = current.locals; + + $element.html(locals.$template); + + var link = $compile($element.contents()); + + if (current.controller) { + locals.$scope = scope; + var controller = $controller(current.controller, locals); + if (current.controllerAs) { + scope[current.controllerAs] = controller; + } + $element.data('$ngControllerController', controller); + $element.children().data('$ngControllerController', controller); + } + + link(scope); + } + }; +} + + +})(window, window.angular); diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-sanitize.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-sanitize.js new file mode 100644 index 0000000000..06d558ccf9 --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-sanitize.js @@ -0,0 +1,683 @@ +/** + * @license AngularJS v1.4.4 + * (c) 2010-2015 Google, Inc. http://angularjs.org + * License: MIT + */ +(function(window, angular, undefined) {'use strict'; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Any commits to this file should be reviewed with security in mind. * + * Changes to this file can potentially create security vulnerabilities. * + * An approval from 2 Core members with history of modifying * + * this file is required. * + * * + * Does the change somehow allow for arbitrary javascript to be executed? * + * Or allows for someone to change the prototype of built-in objects? * + * Or gives undesired access to variables likes document or window? * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +var $sanitizeMinErr = angular.$$minErr('$sanitize'); + +/** + * @ngdoc module + * @name ngSanitize + * @description + * + * # ngSanitize + * + * The `ngSanitize` module provides functionality to sanitize HTML. + * + * + *
+ * + * See {@link ngSanitize.$sanitize `$sanitize`} for usage. + */ + +/* + * HTML Parser By Misko Hevery (misko@hevery.com) + * based on: HTML Parser By John Resig (ejohn.org) + * Original code by Erik Arvidsson, Mozilla Public License + * http://erik.eae.net/simplehtmlparser/simplehtmlparser.js + * + * // Use like so: + * htmlParser(htmlString, { + * start: function(tag, attrs, unary) {}, + * end: function(tag) {}, + * chars: function(text) {}, + * comment: function(text) {} + * }); + * + */ + + +/** + * @ngdoc service + * @name $sanitize + * @kind function + * + * @description + * The input is sanitized by parsing the HTML into tokens. All safe tokens (from a whitelist) are + * then serialized back to properly escaped html string. This means that no unsafe input can make + * it into the returned string, however, since our parser is more strict than a typical browser + * parser, it's possible that some obscure input, which would be recognized as valid HTML by a + * browser, won't make it through the sanitizer. The input may also contain SVG markup. + * The whitelist is configured using the functions `aHrefSanitizationWhitelist` and + * `imgSrcSanitizationWhitelist` of {@link ng.$compileProvider `$compileProvider`}. + * + * @param {string} html HTML input. + * @returns {string} Sanitized HTML. + * + * @example + + + +
+ Snippet: + + + + + + + + + + + + + + + + + + + + + + + + + +
DirectiveHowSourceRendered
ng-bind-htmlAutomatically uses $sanitize
<div ng-bind-html="snippet">
</div>
ng-bind-htmlBypass $sanitize by explicitly trusting the dangerous value +
<div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
ng-bindAutomatically escapes
<div ng-bind="snippet">
</div>
+
+
+ + it('should sanitize the html snippet by default', function() { + expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()). + toBe('

an html\nclick here\nsnippet

'); + }); + + it('should inline raw snippet if bound to a trusted value', function() { + expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()). + toBe("

an html\n" + + "click here\n" + + "snippet

"); + }); + + it('should escape snippet without any filter', function() { + expect(element(by.css('#bind-default div')).getInnerHtml()). + toBe("<p style=\"color:blue\">an html\n" + + "<em onmouseover=\"this.textContent='PWN3D!'\">click here</em>\n" + + "snippet</p>"); + }); + + it('should update', function() { + element(by.model('snippet')).clear(); + element(by.model('snippet')).sendKeys('new text'); + expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()). + toBe('new text'); + expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).toBe( + 'new text'); + expect(element(by.css('#bind-default div')).getInnerHtml()).toBe( + "new <b onclick=\"alert(1)\">text</b>"); + }); +
+
+ */ +function $SanitizeProvider() { + this.$get = ['$$sanitizeUri', function($$sanitizeUri) { + return function(html) { + var buf = []; + htmlParser(html, htmlSanitizeWriter(buf, function(uri, isImage) { + return !/^unsafe/.test($$sanitizeUri(uri, isImage)); + })); + return buf.join(''); + }; + }]; +} + +function sanitizeText(chars) { + var buf = []; + var writer = htmlSanitizeWriter(buf, angular.noop); + writer.chars(chars); + return buf.join(''); +} + + +// Regular Expressions for parsing tags and attributes +var START_TAG_REGEXP = + /^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/, + END_TAG_REGEXP = /^<\/\s*([\w:-]+)[^>]*>/, + ATTR_REGEXP = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g, + BEGIN_TAG_REGEXP = /^/g, + DOCTYPE_REGEXP = /]*?)>/i, + CDATA_REGEXP = //g, + SURROGATE_PAIR_REGEXP = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, + // Match everything outside of normal chars and " (quote character) + NON_ALPHANUMERIC_REGEXP = /([^\#-~| |!])/g; + + +// Good source of info about elements and attributes +// http://dev.w3.org/html5/spec/Overview.html#semantics +// http://simon.html5.org/html-elements + +// Safe Void Elements - HTML5 +// http://dev.w3.org/html5/spec/Overview.html#void-elements +var voidElements = makeMap("area,br,col,hr,img,wbr"); + +// Elements that you can, intentionally, leave open (and which close themselves) +// http://dev.w3.org/html5/spec/Overview.html#optional-tags +var optionalEndTagBlockElements = makeMap("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"), + optionalEndTagInlineElements = makeMap("rp,rt"), + optionalEndTagElements = angular.extend({}, + optionalEndTagInlineElements, + optionalEndTagBlockElements); + +// Safe Block Elements - HTML5 +var blockElements = angular.extend({}, optionalEndTagBlockElements, makeMap("address,article," + + "aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5," + + "h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")); + +// Inline Elements - HTML5 +var inlineElements = angular.extend({}, optionalEndTagInlineElements, makeMap("a,abbr,acronym,b," + + "bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s," + + "samp,small,span,strike,strong,sub,sup,time,tt,u,var")); + +// SVG Elements +// https://wiki.whatwg.org/wiki/Sanitization_rules#svg_Elements +// Note: the elements animate,animateColor,animateMotion,animateTransform,set are intentionally omitted. +// They can potentially allow for arbitrary javascript to be executed. See #11290 +var svgElements = makeMap("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph," + + "hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline," + + "radialGradient,rect,stop,svg,switch,text,title,tspan,use"); + +// Special Elements (can contain anything) +var specialElements = makeMap("script,style"); + +var validElements = angular.extend({}, + voidElements, + blockElements, + inlineElements, + optionalEndTagElements, + svgElements); + +//Attributes that have href and hence need to be sanitized +var uriAttrs = makeMap("background,cite,href,longdesc,src,usemap,xlink:href"); + +var htmlAttrs = makeMap('abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,' + + 'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,' + + 'ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,' + + 'scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,' + + 'valign,value,vspace,width'); + +// SVG attributes (without "id" and "name" attributes) +// https://wiki.whatwg.org/wiki/Sanitization_rules#svg_Attributes +var svgAttrs = makeMap('accent-height,accumulate,additive,alphabetic,arabic-form,ascent,' + + 'baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,' + + 'cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,' + + 'font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,' + + 'height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,' + + 'marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,' + + 'max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,' + + 'path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,' + + 'requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,' + + 'stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,' + + 'stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,' + + 'stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,' + + 'underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,' + + 'width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,' + + 'xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan', true); + +var validAttrs = angular.extend({}, + uriAttrs, + svgAttrs, + htmlAttrs); + +function makeMap(str, lowercaseKeys) { + var obj = {}, items = str.split(','), i; + for (i = 0; i < items.length; i++) { + obj[lowercaseKeys ? angular.lowercase(items[i]) : items[i]] = true; + } + return obj; +} + + +/** + * @example + * htmlParser(htmlString, { + * start: function(tag, attrs, unary) {}, + * end: function(tag) {}, + * chars: function(text) {}, + * comment: function(text) {} + * }); + * + * @param {string} html string + * @param {object} handler + */ +function htmlParser(html, handler) { + if (typeof html !== 'string') { + if (html === null || typeof html === 'undefined') { + html = ''; + } else { + html = '' + html; + } + } + var index, chars, match, stack = [], last = html, text; + stack.last = function() { return stack[stack.length - 1]; }; + + while (html) { + text = ''; + chars = true; + + // Make sure we're not in a script or style element + if (!stack.last() || !specialElements[stack.last()]) { + + // Comment + if (html.indexOf("", index) === index) { + if (handler.comment) handler.comment(html.substring(4, index)); + html = html.substring(index + 3); + chars = false; + } + // DOCTYPE + } else if (DOCTYPE_REGEXP.test(html)) { + match = html.match(DOCTYPE_REGEXP); + + if (match) { + html = html.replace(match[0], ''); + chars = false; + } + // end tag + } else if (BEGING_END_TAGE_REGEXP.test(html)) { + match = html.match(END_TAG_REGEXP); + + if (match) { + html = html.substring(match[0].length); + match[0].replace(END_TAG_REGEXP, parseEndTag); + chars = false; + } + + // start tag + } else if (BEGIN_TAG_REGEXP.test(html)) { + match = html.match(START_TAG_REGEXP); + + if (match) { + // We only have a valid start-tag if there is a '>'. + if (match[4]) { + html = html.substring(match[0].length); + match[0].replace(START_TAG_REGEXP, parseStartTag); + } + chars = false; + } else { + // no ending tag found --- this piece should be encoded as an entity. + text += '<'; + html = html.substring(1); + } + } + + if (chars) { + index = html.indexOf("<"); + + text += index < 0 ? html : html.substring(0, index); + html = index < 0 ? "" : html.substring(index); + + if (handler.chars) handler.chars(decodeEntities(text)); + } + + } else { + // IE versions 9 and 10 do not understand the regex '[^]', so using a workaround with [\W\w]. + html = html.replace(new RegExp("([\\W\\w]*)<\\s*\\/\\s*" + stack.last() + "[^>]*>", 'i'), + function(all, text) { + text = text.replace(COMMENT_REGEXP, "$1").replace(CDATA_REGEXP, "$1"); + + if (handler.chars) handler.chars(decodeEntities(text)); + + return ""; + }); + + parseEndTag("", stack.last()); + } + + if (html == last) { + throw $sanitizeMinErr('badparse', "The sanitizer was unable to parse the following block " + + "of html: {0}", html); + } + last = html; + } + + // Clean up any remaining tags + parseEndTag(); + + function parseStartTag(tag, tagName, rest, unary) { + tagName = angular.lowercase(tagName); + if (blockElements[tagName]) { + while (stack.last() && inlineElements[stack.last()]) { + parseEndTag("", stack.last()); + } + } + + if (optionalEndTagElements[tagName] && stack.last() == tagName) { + parseEndTag("", tagName); + } + + unary = voidElements[tagName] || !!unary; + + if (!unary) { + stack.push(tagName); + } + + var attrs = {}; + + rest.replace(ATTR_REGEXP, + function(match, name, doubleQuotedValue, singleQuotedValue, unquotedValue) { + var value = doubleQuotedValue + || singleQuotedValue + || unquotedValue + || ''; + + attrs[name] = decodeEntities(value); + }); + if (handler.start) handler.start(tagName, attrs, unary); + } + + function parseEndTag(tag, tagName) { + var pos = 0, i; + tagName = angular.lowercase(tagName); + if (tagName) { + // Find the closest opened tag of the same type + for (pos = stack.length - 1; pos >= 0; pos--) { + if (stack[pos] == tagName) break; + } + } + + if (pos >= 0) { + // Close all the open elements, up the stack + for (i = stack.length - 1; i >= pos; i--) + if (handler.end) handler.end(stack[i]); + + // Remove the open elements from the stack + stack.length = pos; + } + } +} + +var hiddenPre=document.createElement("pre"); +/** + * decodes all entities into regular string + * @param value + * @returns {string} A string with decoded entities. + */ +function decodeEntities(value) { + if (!value) { return ''; } + + hiddenPre.innerHTML = value.replace(//g, '>'); +} + +/** + * create an HTML/XML writer which writes to buffer + * @param {Array} buf use buf.jain('') to get out sanitized html string + * @returns {object} in the form of { + * start: function(tag, attrs, unary) {}, + * end: function(tag) {}, + * chars: function(text) {}, + * comment: function(text) {} + * } + */ +function htmlSanitizeWriter(buf, uriValidator) { + var ignore = false; + var out = angular.bind(buf, buf.push); + return { + start: function(tag, attrs, unary) { + tag = angular.lowercase(tag); + if (!ignore && specialElements[tag]) { + ignore = tag; + } + if (!ignore && validElements[tag] === true) { + out('<'); + out(tag); + angular.forEach(attrs, function(value, key) { + var lkey=angular.lowercase(key); + var isImage = (tag === 'img' && lkey === 'src') || (lkey === 'background'); + if (validAttrs[lkey] === true && + (uriAttrs[lkey] !== true || uriValidator(value, isImage))) { + out(' '); + out(key); + out('="'); + out(encodeEntities(value)); + out('"'); + } + }); + out(unary ? '/>' : '>'); + } + }, + end: function(tag) { + tag = angular.lowercase(tag); + if (!ignore && validElements[tag] === true) { + out(''); + } + if (tag == ignore) { + ignore = false; + } + }, + chars: function(chars) { + if (!ignore) { + out(encodeEntities(chars)); + } + } + }; +} + + +// define ngSanitize module and register $sanitize service +angular.module('ngSanitize', []).provider('$sanitize', $SanitizeProvider); + +/* global sanitizeText: false */ + +/** + * @ngdoc filter + * @name linky + * @kind function + * + * @description + * Finds links in text input and turns them into html links. Supports http/https/ftp/mailto and + * plain email address links. + * + * Requires the {@link ngSanitize `ngSanitize`} module to be installed. + * + * @param {string} text Input text. + * @param {string} target Window (_blank|_self|_parent|_top) or named frame to open links in. + * @returns {string} Html-linkified text. + * + * @usage + + * + * @example + + + +
+ Snippet: + + + + + + + + + + + + + + + + + + + + + +
FilterSourceRendered
linky filter +
<div ng-bind-html="snippet | linky">
</div>
+
+
+
linky target +
<div ng-bind-html="snippetWithTarget | linky:'_blank'">
</div>
+
+
+
no filter
<div ng-bind="snippet">
</div>
+ + + it('should linkify the snippet with urls', function() { + expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()). + toBe('Pretty text with some links: http://angularjs.org/, us@somewhere.org, ' + + 'another@somewhere.org, and one more: ftp://127.0.0.1/.'); + expect(element.all(by.css('#linky-filter a')).count()).toEqual(4); + }); + + it('should not linkify snippet without the linky filter', function() { + expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText()). + toBe('Pretty text with some links: http://angularjs.org/, mailto:us@somewhere.org, ' + + 'another@somewhere.org, and one more: ftp://127.0.0.1/.'); + expect(element.all(by.css('#escaped-html a')).count()).toEqual(0); + }); + + it('should update', function() { + element(by.model('snippet')).clear(); + element(by.model('snippet')).sendKeys('new http://link.'); + expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()). + toBe('new http://link.'); + expect(element.all(by.css('#linky-filter a')).count()).toEqual(1); + expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText()) + .toBe('new http://link.'); + }); + + it('should work with the target property', function() { + expect(element(by.id('linky-target')). + element(by.binding("snippetWithTarget | linky:'_blank'")).getText()). + toBe('http://angularjs.org/'); + expect(element(by.css('#linky-target a')).getAttribute('target')).toEqual('_blank'); + }); + + + */ +angular.module('ngSanitize').filter('linky', ['$sanitize', function($sanitize) { + var LINKY_URL_REGEXP = + /((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i, + MAILTO_REGEXP = /^mailto:/i; + + return function(text, target) { + if (!text) return text; + var match; + var raw = text; + var html = []; + var url; + var i; + while ((match = raw.match(LINKY_URL_REGEXP))) { + // We can not end in these as they are sometimes found at the end of the sentence + url = match[0]; + // if we did not match ftp/http/www/mailto then assume mailto + if (!match[2] && !match[4]) { + url = (match[3] ? 'http://' : 'mailto:') + url; + } + i = match.index; + addText(raw.substr(0, i)); + addLink(url, match[0].replace(MAILTO_REGEXP, '')); + raw = raw.substring(i + match[0].length); + } + addText(raw); + return $sanitize(html.join('')); + + function addText(text) { + if (!text) { + return; + } + html.push(sanitizeText(text)); + } + + function addLink(url, text) { + html.push(''); + addText(text); + html.push(''); + } + }; +}]); + + +})(window, window.angular); diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-scenario.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-scenario.js new file mode 100644 index 0000000000..705d70e65e --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/angular/angular-scenario.js @@ -0,0 +1,40024 @@ +/*! + * jQuery JavaScript Library v2.1.1 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-05-01T17:11Z + */ + +(function( global, factory ) {'use strict'; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var arr = []; + +var slice = arr.slice; + +var concat = arr.concat; + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var support = {}; + + + +var + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + version = "2.1.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android<4.1 + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return just the one element from the set + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return all the elements in a clean array + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray, + + isWindow: function( obj ) { + return obj != null && obj === obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return !jQuery.isArray( obj ) && obj - parseFloat( obj ) >= 0; + }, + + isPlainObject: function( obj ) { + // Not plain objects: + // - Any object or value whose internal [[Class]] property is not "[object Object]" + // - DOM nodes + // - window + if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.constructor && + !hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) { + return false; + } + + // If the function hasn't returned already, we're confident that + // |obj| is a plain object, created by {} or constructed with new Object + return true; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + // Support: Android < 4.0, iOS < 6 (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + globalEval: function( code ) { + var script, + indirect = eval; + + code = jQuery.trim( code ); + + if ( code ) { + // If the code includes a valid, prologue position + // strict mode pragma, execute code by injecting a + // script tag into the document. + if ( code.indexOf("use strict") === 1 ) { + script = document.createElement("script"); + script.text = code; + document.head.appendChild( script ).parentNode.removeChild( script ); + } else { + // Otherwise, avoid the DOM node creation, insertion + // and removal by using an indirect global eval + indirect( code ); + } + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Support: Android<4.1 + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var tmp, args, proxy; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: Date.now, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.19 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-04-18 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + characterEncoding + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
"; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [ m ] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( div.querySelectorAll("[msallowclip^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is no seed and only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + len = this.length, + ret = [], + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[0] === "<" && selector[ selector.length - 1 ] === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( (elem = elem[ dir ]) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; + }, + + sibling: function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter(function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + while ( (cur = cur[dir]) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return elem.contentDocument || jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.unique( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // Flag to know if list is currently firing + firing, + // First callback to fire (used internally by add and fireWith) + firingStart, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + } else if ( !( --remaining ) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.triggerHandler ) { + jQuery( document ).triggerHandler( "ready" ); + jQuery( document ).off( "ready" ); + } + } +}); + +/** + * The ready event handler and self cleanup method + */ +function completed() { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + jQuery.ready(); +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + } else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + } + } + return readyList.promise( obj ); +}; + +// Kick off the DOM ready check even if the user does not +jQuery.ready.promise(); + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + len ? fn( elems[0], key ) : emptyGet; +}; + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( owner ) { + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + /* jshint -W018 */ + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + +function Data() { + // Support: Android < 4, + // Old WebKit does not have Object.preventExtensions/freeze method, + // return new empty object instead with no [[set]] accessor + Object.defineProperty( this.cache = {}, 0, { + get: function() { + return {}; + } + }); + + this.expando = jQuery.expando + Math.random(); +} + +Data.uid = 1; +Data.accepts = jQuery.acceptData; + +Data.prototype = { + key: function( owner ) { + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return the key for a frozen object. + if ( !Data.accepts( owner ) ) { + return 0; + } + + var descriptor = {}, + // Check if the owner object already has a cache key + unlock = owner[ this.expando ]; + + // If not, create one + if ( !unlock ) { + unlock = Data.uid++; + + // Secure it in a non-enumerable, non-writable property + try { + descriptor[ this.expando ] = { value: unlock }; + Object.defineProperties( owner, descriptor ); + + // Support: Android < 4 + // Fallback to a less secure definition + } catch ( e ) { + descriptor[ this.expando ] = unlock; + jQuery.extend( owner, descriptor ); + } + } + + // Ensure the cache object + if ( !this.cache[ unlock ] ) { + this.cache[ unlock ] = {}; + } + + return unlock; + }, + set: function( owner, data, value ) { + var prop, + // There may be an unlock assigned to this node, + // if there is no entry for this "owner", create one inline + // and set the unlock as though an owner entry had always existed + unlock = this.key( owner ), + cache = this.cache[ unlock ]; + + // Handle: [ owner, key, value ] args + if ( typeof data === "string" ) { + cache[ data ] = value; + + // Handle: [ owner, { properties } ] args + } else { + // Fresh assignments by object are shallow copied + if ( jQuery.isEmptyObject( cache ) ) { + jQuery.extend( this.cache[ unlock ], data ); + // Otherwise, copy the properties one-by-one to the cache object + } else { + for ( prop in data ) { + cache[ prop ] = data[ prop ]; + } + } + } + return cache; + }, + get: function( owner, key ) { + // Either a valid cache is found, or will be created. + // New caches will be created and the unlock returned, + // allowing direct access to the newly created + // empty data object. A valid owner object must be provided. + var cache = this.cache[ this.key( owner ) ]; + + return key === undefined ? + cache : cache[ key ]; + }, + access: function( owner, key, value ) { + var stored; + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ((key && typeof key === "string") && value === undefined) ) { + + stored = this.get( owner, key ); + + return stored !== undefined ? + stored : this.get( owner, jQuery.camelCase(key) ); + } + + // [*]When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, name, camel, + unlock = this.key( owner ), + cache = this.cache[ unlock ]; + + if ( key === undefined ) { + this.cache[ unlock ] = {}; + + } else { + // Support array or space separated string of keys + if ( jQuery.isArray( key ) ) { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = key.concat( key.map( jQuery.camelCase ) ); + } else { + camel = jQuery.camelCase( key ); + // Try the string as a key before any manipulation + if ( key in cache ) { + name = [ key, camel ]; + } else { + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + name = camel; + name = name in cache ? + [ name ] : ( name.match( rnotwhite ) || [] ); + } + } + + i = name.length; + while ( i-- ) { + delete cache[ name[ i ] ]; + } + } + }, + hasData: function( owner ) { + return !jQuery.isEmptyObject( + this.cache[ owner[ this.expando ] ] || {} + ); + }, + discard: function( owner ) { + if ( owner[ this.expando ] ) { + delete this.cache[ owner[ this.expando ] ]; + } + } +}; +var data_priv = new Data(); + +var data_user = new Data(); + + + +/* + Implementation Summary + + 1. Enforce API surface and semantic compatibility with 1.9.x branch + 2. Improve the module's maintainability by reducing the storage + paths to a single mechanism. + 3. Use the same single mechanism to support "private" and "user" data. + 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) + 5. Avoid exposing implementation details on user objects (eg. expando properties) + 6. Provide a clear path for implementation upgrade to WeakMap in 2014 +*/ +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + data_user.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend({ + hasData: function( elem ) { + return data_user.hasData( elem ) || data_priv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return data_user.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + data_user.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to data_priv methods, these can be deprecated. + _data: function( elem, name, data ) { + return data_priv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + data_priv.remove( elem, name ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = data_user.get( elem ); + + if ( elem.nodeType === 1 && !data_priv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE11+ + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + data_priv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + data_user.set( this, key ); + }); + } + + return access( this, function( value ) { + var data, + camelKey = jQuery.camelCase( key ); + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + // Attempt to get data from the cache + // with the key as-is + data = data_user.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to get data from the cache + // with the key camelized + data = data_user.get( elem, camelKey ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, camelKey, undefined ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each(function() { + // First, attempt to store a copy or reference of any + // data that might've been store with a camelCased key. + var data = data_user.get( this, camelKey ); + + // For HTML5 data-* attribute interop, we have to + // store property names with dashes in a camelCase form. + // This might not apply to all properties...* + data_user.set( this, camelKey, value ); + + // *... In the case of properties that might _actually_ + // have dashes, we need to also store a copy of that + // unchanged property. + if ( key.indexOf("-") !== -1 && data !== undefined ) { + data_user.set( this, key, value ); + } + }); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each(function() { + data_user.remove( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = data_priv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray( data ) ) { + queue = data_priv.access( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return data_priv.get( elem, key ) || data_priv.access( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + data_priv.remove( elem, [ type + "queue", key ] ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = data_priv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // #11217 - WebKit loses check when the name is after the checked attribute + // Support: Windows Web Apps (WWA) + // `name` and `type` need .setAttribute for WWA + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE9-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +})(); +var strundefined = typeof undefined; + + + +support.focusinBubbles = "onfocusin" in window; + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = data_priv.get( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = data_priv.hasData( elem ) && data_priv.get( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + data_priv.remove( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( data_priv.get( cur, "events" ) || {} )[ event.type ] && data_priv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + elem[ type ](); + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, j, ret, matched, handleObj, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( data_priv.get( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, matches, sel, handleObj, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.disabled !== true || event.type !== "click" ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var eventDoc, doc, body, + button = original.button; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: Cordova 2.5 (WebKit) (#13255) + // All events should have a target; Cordova deviceready doesn't + if ( !event.target ) { + event.target = document; + } + + // Support: Safari 6.0+, Chrome < 28 + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + this.focus(); + return false; + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } +}; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + // Support: Android < 4.0 + src.returnValue === false ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && e.preventDefault ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && e.stopPropagation ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && e.stopImmediatePropagation ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +// Support: Chrome 15+ +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// Create "bubbling" focus and blur events +// Support: Firefox, Chrome, Safari +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = data_priv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + data_priv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = data_priv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + data_priv.remove( doc, fix ); + + } else { + data_priv.access( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +var + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rhtml = /<|&#?\w+;/, + rnoInnerhtml = /<(?:script|style|link)/i, + // checked="checked" or checked + rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, + rscriptType = /^$|\/(?:java|ecma)script/i, + rscriptTypeMasked = /^true\/(.*)/, + rcleanScript = /^\s*\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + + // Support: IE 9 + option: [ 1, "" ], + + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] + }; + +// Support: IE 9 +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: 1.x compatibility +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + + if ( match ) { + elem.type = match[ 1 ]; + } else { + elem.removeAttribute("type"); + } + + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + data_priv.set( + elems[ i ], "globalEval", !refElements || data_priv.get( refElements[ i ], "globalEval" ) + ); + } +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( data_priv.hasData( src ) ) { + pdataOld = data_priv.access( src ); + pdataCur = data_priv.set( dest, pdataOld ); + events = pdataOld.events; + + if ( events ) { + delete pdataCur.handle; + pdataCur.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( data_user.hasData( src ) ) { + udataOld = data_user.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + data_user.set( dest, udataCur ); + } +} + +function getAll( context, tag ) { + var ret = context.getElementsByTagName ? context.getElementsByTagName( tag || "*" ) : + context.querySelectorAll ? context.querySelectorAll( tag || "*" ) : + []; + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], ret ) : + ret; +} + +// Support: IE >= 9 +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = jQuery.contains( elem.ownerDocument, elem ); + + // Support: IE >= 9 + // Fix Cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var elem, tmp, tag, wrap, contains, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + // Support: QtWebKit + // jQuery.merge because push.apply(_, arraylike) throws + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: QtWebKit + // jQuery.merge because push.apply(_, arraylike) throws + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Fixes #12346 + // Support: Webkit, IE + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; + }, + + cleanData: function( elems ) { + var data, elem, type, key, + special = jQuery.event.special, + i = 0; + + for ( ; (elem = elems[ i ]) !== undefined; i++ ) { + if ( jQuery.acceptData( elem ) ) { + key = elem[ data_priv.expando ]; + + if ( key && (data = data_priv.cache[ key ]) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + if ( data_priv.cache[ key ] ) { + // Discard any remaining `private` data + delete data_priv.cache[ key ]; + } + } + } + // Discard any remaining `user` data + delete data_user.cache[ elem[ data_user.expando ] ]; + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each(function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + }); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[ 0 ], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + // Support: QtWebKit + // jQuery.merge because push.apply(_, arraylike) throws + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !data_priv.access( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) ); + } + } + } + } + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: QtWebKit + // .get() because push.apply(_, arraylike) throws + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var style, + elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle( elem[ 0 ] ) ) ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + style.display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( "',c.xhr.abort=function(){var a=e.getElementsByName("iframe")[0];if(a)try{a.stop?a.stop():a.contentWindow.stop?a.contentWindow.stop():a.contentWindow.document.execCommand("Stop")}catch(c){}e=null},j=e.getElementsByTagName("form")[0], +j.appendChild(f),k.log(j.parentNode.innerHTML),document.body.appendChild(e),c.xhr.node=e,a[q]=function(a,f,g){c.readyState=4;c.responseText=g;c.end(a,f);e=null},c.readyState=2,j.submit(),j=null):this.xhr&&this.xhr.aborted?k.log("Error: already aborted"):(e=c.xhr=k.getXHR(),f.params&&(j+=(0>j.indexOf("?")?"?":"&")+f.params.join("&")),e.open("POST",j,!0),k.withCredentials&&(e.withCredentials="true"),(!g.headers||!g.headers["X-Requested-With"])&&e.setRequestHeader("X-Requested-With","XMLHttpRequest"), +k.each(g.headers,function(a,c){e.setRequestHeader(c,a)}),g._chunked?(e.upload&&e.upload.addEventListener("progress",function(a){f.retry||g.progress({type:a.type,total:f.size,loaded:f.start+a.loaded,totalSize:f.size},c,g)},!1),e.onreadystatechange=function(){c.status=e.status;c.statusText=e.statusText;c.readyState=e.readyState;if(4==e.readyState){for(var a in{"":1,XML:1,Text:1,Body:1})c["response"+a]=e["response"+a];e.onreadystatechange=null;if(!e.status||0
').replace(/#(\w+)#/ig,function(c,e){return a[e]})},t=function(a,c){if(a&&a.style){var e,f;for(e in c){f=c[e];"number"==typeof f&&(f+="px");try{a.style[e]=f}catch(g){}}}},l=function(d,c){a.each(c,function(a,c){var e=d[c];d[c]=function(){this.parent=e;return a.apply(this,arguments)}})},A=function(d){var c=d.wid=a.uid();p._fn[c]=d;return"FileAPI.Flash._fn."+c}, +u=function(a){try{p._fn[a.wid]=null,delete p._fn[a.wid]}catch(c){}},C=function(a,c){if(!v.test(a)){if(/^\.\//.test(a)||"/"!=a.charAt(0)){var e=location.pathname,e=e.substr(0,e.lastIndexOf("/"));a=(e+"/"+a).replace("/./","/")}"//"!=a.substr(0,2)&&(a="//"+location.host+a);v.test(a)||(a=location.protocol+a)}c&&(a+=(/\?/.test(a)?"&":"?")+c);return a},s=a.uid(),y=0,r={},v=/^https?:/i,p={_fn:{},init:function(){var d=g.body&&g.body.firstChild;if(d){do if(1==d.nodeType){a.log("FlashAPI.Flash.init...");var c= +g.createElement("div");t(c,{top:1,right:1,width:5,height:5,position:"absolute"});d.parentNode.insertBefore(c,d);p.publish(c,s);return}while(d=d.nextSibling)}10>y&&setTimeout(p.init,50*++y)},publish:function(d,c){d.innerHTML=q({id:c,src:C(a.flashUrl,"r="+a.version),wmode:"transparent",flashvars:"callback=FileAPI.Flash.event&flashId="+c+"&storeKey="+navigator.userAgent.match(/\d/ig).join("")+"_"+a.version+(p.isReady||(a.pingUrl?"&ping="+a.pingUrl:""))})},ready:function(){p.ready=a.F;p.isReady=!0;p.patch(); +a.event.on(g,"mouseover",p.mouseover);a.event.on(g,"click",function(a){p.mouseover(a)&&(a.preventDefault?a.preventDefault():a.returnValue=!0)})},getWrapper:function(a){do if(/js-fileapi-wrapper/.test(a.className))return a;while((a=a.parentNode)&&a!==g.body)},mouseover:function(d){d=a.event.fix(d).target;if(/input/i.test(d.nodeName)&&"file"==d.type){var c=d.getAttribute(s);if("i"==c||"r"==c)return!1;if("p"!=c){d.setAttribute(s,"i");var c=g.createElement("div"),e=p.getWrapper(d);if(!e){a.log("flash.mouseover.error: js-fileapi-wrapper not found"); +return}t(c,{top:0,left:0,width:d.offsetWidth+100,height:d.offsetHeight+100,zIndex:"1000000",position:"absolute"});e.appendChild(c);p.publish(c,a.uid());d.setAttribute(s,"p")}return!0}},event:function(d){var c=d.type;if("ready"==c){try{p.getInput(d.flashId).setAttribute(s,"r")}catch(e){}p.ready();setTimeout(function(){p.mouseenter(d)},50);return!0}"ping"===c?a.log("(flash -> js).ping:",[d.status,d.savedStatus],d.error):"log"===c?a.log("(flash -> js).log:",d.target):c in p&&setTimeout(function(){a.log("Flash.event."+ +d.type+":",d);p[c](d)},1)},mouseenter:function(d){var c=p.getInput(d.flashId);if(c){p.cmd(d,"multiple",null!=c.getAttribute("multiple"));var e=[],f={};a.each((c.getAttribute("accept")||"").split(/,\s*/),function(d){a.accept[d]&&a.each(a.accept[d].split(" "),function(a){f[a]=1})});a.each(f,function(a,d){e.push(d)});p.cmd(d,"accept",e.length?e.join(",")+","+e.join(",").toUpperCase():"*")}},get:function(a){return g[a]||k[a]||g.embeds[a]},getInput:function(d){try{var c=p.getWrapper(p.get(d));if(c)return c.getElementsByTagName("input")[0]}catch(e){a.log('Can not find "input" by flashId:', +d,e)}},select:function(d){var c=p.getInput(d.flashId),e=a.uid(c);d=d.target.files;a.each(d,function(d){a.checkFileObj(d)});r[e]=d;g.createEvent?(e=g.createEvent("Event"),e.initEvent("change",!0,!1),c.dispatchEvent(e)):g.createEventObject&&(e=g.createEventObject(),c.fireEvent("onchange",e))},cmd:function(d,c,e,f){try{return a.log("(js -> flash)."+c+":",e),p.get(d.flashId||d).cmd(c,e)}catch(g){a.log("(js -> flash).onError:",g),f||setTimeout(function(){p.cmd(d,c,e,!0)},50)}},patch:function(){a.flashEngine= +a.support.transform=!0;l(a,{getFiles:function(d,c,e){if(e)return a.filterFiles(a.getFiles(d),c,e),null;var f=a.isArray(d)?d:r[a.uid(d.target||d.srcElement||d)];if(!f)return this.parent.apply(this,arguments);c&&(c=a.getFilesFilter(c),f=a.filter(f,function(a){return c.test(a.name)}));return f},getInfo:function(d,c){if(d&&!d.flashId)this.parent.apply(this,arguments);else{if(!d.__info){var e=d.__info=a.defer();p.cmd(d,"getFileInfo",{id:d.id,callback:A(function F(a,c){u(F);e.resolve(a,d.info=c)})})}d.__info.then(c)}}}); +a.support.transform=!0;a.Image&&l(a.Image.prototype,{get:function(a,c){this.set({scaleMode:c||"noScale"});this.parent(a)},_load:function(d,c){a.log("FileAPI.Image._load:",d);if(d&&!d.flashId)this.parent.apply(this,arguments);else{var e=this;a.getInfo(d,function(a){c.call(e,a,d)})}},_apply:function(d,c){a.log("FileAPI.Image._apply:",d);if(d&&!d.flashId)this.parent.apply(this,arguments);else{var e=this.getMatrix(d.info);p.cmd(d,"imageTransform",{id:d.id,matrix:e,callback:A(function F(f,k){a.log("FileAPI.Image._apply.callback:", +f);u(F);if(f)c(f);else if(!a.support.dataURI||3E4 + * @version 1.1.10 + */ +if (window.XMLHttpRequest) { + if (window.FormData) { + // allow access to Angular XHR private field: https://github.com/angular/angular.js/issues/1934 + XMLHttpRequest = (function(origXHR) { + return function() { + var xhr = new origXHR(); + xhr.send = (function(orig) { + return function() { + if (arguments[0] instanceof FormData && arguments[0].__setXHR_) { + var formData = arguments[0]; + formData.__setXHR_(xhr); + } + orig.apply(xhr, arguments); + } + })(xhr.send); + return xhr; + } + })(XMLHttpRequest); + } +} diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-html5-shim.min.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-html5-shim.min.js new file mode 100644 index 0000000000..64d918237d --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-html5-shim.min.js @@ -0,0 +1,2 @@ +/*! 1.1.10 */ +window.XMLHttpRequest&&window.FormData&&(XMLHttpRequest=function(a){return function(){var b=new a;return b.send=function(a){return function(){if(arguments[0]instanceof FormData&&arguments[0].__setXHR_){var c=arguments[0];c.__setXHR_(b)}a.apply(b,arguments)}}(b.send),b}}(XMLHttpRequest)); \ No newline at end of file diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-shim.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-shim.js new file mode 100644 index 0000000000..f526e58a83 --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-shim.js @@ -0,0 +1,215 @@ +/**! + * AngularJS file upload shim for HTML5 FormData + * @author Danial + * @version 1.1.10 + */ +(function() { + +if (window.XMLHttpRequest) { + if (window.FormData) { + // allow access to Angular XHR private field: https://github.com/angular/angular.js/issues/1934 + XMLHttpRequest = (function(origXHR) { + return function() { + var xhr = new origXHR(); + xhr.send = (function(orig) { + return function() { + if (arguments[0] instanceof FormData && arguments[0].__setXHR_) { + var formData = arguments[0]; + formData.__setXHR_(xhr); + } + orig.apply(xhr, arguments); + } + })(xhr.send); + return xhr; + } + })(XMLHttpRequest); + } else { + XMLHttpRequest = (function(origXHR) { + return function() { + var xhr = new origXHR(); + var origSend = xhr.send; + xhr.__requestHeaders = []; + xhr.open = (function(orig) { + xhr.upload = { + addEventListener: function(t, fn, b) { + if (t == 'progress') { + xhr.__progress = fn; + } + } + }; + return function(m, url, b) { + orig.apply(xhr, [m, url, b]); + xhr.__url = url; + } + })(xhr.open); + xhr.getResponseHeader = (function(orig) { + return function(h) { + return xhr.__fileApiXHR ? xhr.__fileApiXHR.getResponseHeader(h) : orig.apply(xhr, [h]); + } + })(xhr.getResponseHeader); + xhr.getAllResponseHeaders = (function(orig) { + return function() { + return xhr.__fileApiXHR ? xhr.__fileApiXHR.getAllResponseHeaders() : orig.apply(xhr); + } + })(xhr.getAllResponseHeaders); + xhr.abort = (function(orig) { + return function() { + return xhr.__fileApiXHR ? xhr.__fileApiXHR.abort() : (orig == null ? null : orig.apply(xhr)); + } + })(xhr.abort); + xhr.send = function() { + if (arguments[0] != null && arguments[0].__isShim && arguments[0].__setXHR_) { + var formData = arguments[0]; + if (arguments[0].__setXHR_) { + var formData = arguments[0]; + formData.__setXHR_(xhr); + } + var config = { + url: xhr.__url, + complete: function(err, fileApiXHR) { + Object.defineProperty(xhr, 'status', {get: function() {return fileApiXHR.status}}); + Object.defineProperty(xhr, 'statusText', {get: function() {return fileApiXHR.statusText}}); + Object.defineProperty(xhr, 'readyState', {get: function() {return 4}}); + Object.defineProperty(xhr, 'response', {get: function() {return fileApiXHR.response}}); + Object.defineProperty(xhr, 'responseText', {get: function() {return fileApiXHR.responseText}}); + xhr.__fileApiXHR = fileApiXHR; + xhr.onreadystatechange(); + }, + progress: function(e) { + xhr.__progress(e); + }, + headers: xhr.__requestHeaders + } + config.data = {}; + config.files = {} + for (var i = 0; i < formData.data.length; i++) { + var item = formData.data[i]; + if (item.val != null && item.val.name != null && item.val.size != null && item.val.type != null) { + config.files[item.key] = item.val; + } else { + config.data[item.key] = item.val; + } + } + + setTimeout(function() { + xhr.__fileApiXHR = FileAPI.upload(config); + }, 1); + } else { + origSend.apply(xhr, arguments); + } + } + return xhr; + } + })(XMLHttpRequest); + } +} + +if (!window.FormData) { + var hasFlash = false; + try { + var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash'); + if (fo) hasFlash = true; + } catch(e) { + if (navigator.mimeTypes["application/x-shockwave-flash"] != undefined) hasFlash = true; + } + var wrapFileApi = function(elem) { + if (!elem.__isWrapped && (elem.getAttribute('ng-file-select') != null || elem.getAttribute('data-ng-file-select') != null)) { + var wrap = document.createElement('div'); + wrap.innerHTML = '
'; + wrap = wrap.firstChild; + var parent = elem.parentNode; + parent.insertBefore(wrap, elem); + parent.removeChild(elem); + wrap.appendChild(elem); + if (!hasFlash) { + wrap.appendChild(document.createTextNode('Flash is required')); + } + elem.__isWrapped = true; + } + }; + var changeFnWrapper = function(fn) { + return function(evt) { + var files = FileAPI.getFiles(evt); + if (!evt.target) { + evt.target = {}; + } + evt.target.files = files; + evt.target.files.item = function(i) { + return evt.target.files[i] || null; + } + fn(evt); + }; + }; + var isFileChange = function(elem, e) { + return (e.toLowerCase() === 'change' || e.toLowerCase() === 'onchange') && elem.getAttribute('type') == 'file'; + } + if (HTMLInputElement.prototype.addEventListener) { + HTMLInputElement.prototype.addEventListener = (function(origAddEventListener) { + return function(e, fn, b, d) { + if (isFileChange(this, e)) { + wrapFileApi(this); + origAddEventListener.apply(this, [e, changeFnWrapper(fn), b, d]); + } else { + origAddEventListener.apply(this, [e, fn, b, d]); + } + } + })(HTMLInputElement.prototype.addEventListener); + } + if (HTMLInputElement.prototype.attachEvent) { + HTMLInputElement.prototype.attachEvent = (function(origAttachEvent) { + return function(e, fn) { + if (isFileChange(this, e)) { + wrapFileApi(this); + origAttachEvent.apply(this, [e, changeFnWrapper(fn)]); + } else { + origAttachEvent.apply(this, [e, fn]); + } + } + })(HTMLInputElement.prototype.attachEvent); + } + + window.FormData = FormData = function() { + return { + append: function(key, val, name) { + this.data.push({ + key: key, + val: val, + name: name + }); + }, + data: [], + __isShim: true + }; + }; + + (function () { + //load FileAPI + if (!window.FileAPI || !FileAPI.upload) { + var base = '', script = document.createElement('script'), allScripts = document.getElementsByTagName('script'), i, index, src; + if (window.FileAPI && window.FileAPI.jsPath) { + base = window.FileAPI.jsPath; + } else { + for (i = 0; i < allScripts.length; i++) { + src = allScripts[i].src; + index = src.indexOf('angular-file-upload-shim.js') + if (index == -1) { + index = src.indexOf('angular-file-upload-shim.min.js'); + } + if (index > -1) { + base = src.substring(0, index); + break; + } + } + } + + if (!window.FileAPI || FileAPI.staticPath == null) { + FileAPI = { + staticPath: base + } + } + + script.setAttribute('src', base + "FileAPI.min.js"); + document.getElementsByTagName('head')[0].appendChild(script); + } + })(); +}})(); \ No newline at end of file diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-shim.min.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-shim.min.js new file mode 100644 index 0000000000..e76e175e15 --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload-shim.min.js @@ -0,0 +1,2 @@ +/*! 1.1.10 */ +!function(){if(window.XMLHttpRequest&&(XMLHttpRequest=window.FormData?function(a){return function(){var b=new a;return b.send=function(a){return function(){if(arguments[0]instanceof FormData&&arguments[0].__setXHR_){var c=arguments[0];c.__setXHR_(b)}a.apply(b,arguments)}}(b.send),b}}(XMLHttpRequest):function(a){return function(){var b=new a,c=b.send;return b.__requestHeaders=[],b.open=function(a){return b.upload={addEventListener:function(a,c){"progress"==a&&(b.__progress=c)}},function(c,d,e){a.apply(b,[c,d,e]),b.__url=d}}(b.open),b.getResponseHeader=function(a){return function(c){return b.__fileApiXHR?b.__fileApiXHR.getResponseHeader(c):a.apply(b,[c])}}(b.getResponseHeader),b.getAllResponseHeaders=function(a){return function(){return b.__fileApiXHR?b.__fileApiXHR.getAllResponseHeaders():a.apply(b)}}(b.getAllResponseHeaders),b.abort=function(a){return function(){return b.__fileApiXHR?b.__fileApiXHR.abort():null==a?null:a.apply(b)}}(b.abort),b.send=function(){if(null!=arguments[0]&&arguments[0].__isShim&&arguments[0].__setXHR_){var a=arguments[0];if(arguments[0].__setXHR_){var a=arguments[0];a.__setXHR_(b)}var d={url:b.__url,complete:function(a,c){Object.defineProperty(b,"status",{get:function(){return c.status}}),Object.defineProperty(b,"statusText",{get:function(){return c.statusText}}),Object.defineProperty(b,"readyState",{get:function(){return 4}}),Object.defineProperty(b,"response",{get:function(){return c.response}}),Object.defineProperty(b,"responseText",{get:function(){return c.responseText}}),b.__fileApiXHR=c,b.onreadystatechange()},progress:function(a){b.__progress(a)},headers:b.__requestHeaders};d.data={},d.files={};for(var e=0;e',c=c.firstChild;var d=b.parentNode;d.insertBefore(c,b),d.removeChild(b),c.appendChild(b),a||c.appendChild(document.createTextNode("Flash is required")),b.__isWrapped=!0}},e=function(a){return function(b){var c=FileAPI.getFiles(b);b.target||(b.target={}),b.target.files=c,b.target.files.item=function(a){return b.target.files[a]||null},a(b)}},f=function(a,b){return("change"===b.toLowerCase()||"onchange"===b.toLowerCase())&&"file"==a.getAttribute("type")};HTMLInputElement.prototype.addEventListener&&(HTMLInputElement.prototype.addEventListener=function(a){return function(b,c,g,h){f(this,b)?(d(this),a.apply(this,[b,e(c),g,h])):a.apply(this,[b,c,g,h])}}(HTMLInputElement.prototype.addEventListener)),HTMLInputElement.prototype.attachEvent&&(HTMLInputElement.prototype.attachEvent=function(a){return function(b,c){f(this,b)?(d(this),a.apply(this,[b,e(c)])):a.apply(this,[b,c])}}(HTMLInputElement.prototype.attachEvent)),window.FormData=FormData=function(){return{append:function(a,b,c){this.data.push({key:a,val:b,name:c})},data:[],__isShim:!0}},function(){if(!window.FileAPI||!FileAPI.upload){var a,b,c,d="",e=document.createElement("script"),f=document.getElementsByTagName("script");if(window.FileAPI&&window.FileAPI.jsPath)d=window.FileAPI.jsPath;else for(a=0;a-1){d=c.substring(0,b);break}window.FileAPI&&null!=FileAPI.staticPath||(FileAPI={staticPath:d}),e.setAttribute("src",d+"FileAPI.min.js"),document.getElementsByTagName("head")[0].appendChild(e)}}()}}(); \ No newline at end of file diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload.js new file mode 100644 index 0000000000..0daaa69050 --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload.js @@ -0,0 +1,156 @@ +/**! + * AngularJS file upload/drop directive with http post and progress + * @author Danial + * @version 1.1.10 + */ +(function() { + +var angularFileUpload = angular.module('angularFileUpload', []); + +angularFileUpload.service('$upload', ['$http', '$rootScope', '$timeout', function($http, $rootScope, $timeout) { + this.upload = function(config) { + config.method = config.method || 'POST'; + config.headers = config.headers || {}; + config.headers['Content-Type'] = undefined; + config.transformRequest = config.transformRequest || $http.defaults.transformRequest; + var formData = new FormData(); + if (config.data) { + for (var key in config.data) { + var val = config.data[key]; + if (!config.formDataAppender) { + if (typeof config.transformRequest == 'function') { + val = config.transformRequest(val); + } else { + for (var i = 0; i < config.transformRequest.length; i++) { + var fn = config.transformRequest[i]; + if (typeof fn == 'function') { + val = fn(val); + } + } + } + formData.append(key, val); + } else { + config.formDataAppender(formData, key, val); + } + } + } + config.transformRequest = angular.identity; + formData.append(config.fileFormDataName || 'file', config.file, config.file.name); + + formData['__setXHR_'] = function(xhr) { + config.__XHR = xhr; + xhr.upload.addEventListener('progress', function(e) { + if (config.progress) { + $timeout(function() { + config.progress(e); + }); + } + }, false); + //fix for firefox not firing upload progress end + xhr.upload.addEventListener('load', function(e) { + if (e.lengthComputable) { + $timeout(function() { + config.progress(e); + }); + } + }, false); + }; + + config.data = formData; + + var promise = $http(config); + + promise.progress = function(fn) { + config.progress = fn; + return promise; + }; + + promise.abort = function() { + if (config.__XHR) { + $timeout(function() { + config.__XHR.abort(); + }); + } + return promise; + }; + promise.then = (function(promise, origThen) { + return function(s, e, p) { + config.progress = p || config.progress; + origThen.apply(promise, [s, e, p]); + return promise; + }; + })(promise, promise.then); + + return promise; + }; +}]); + +angularFileUpload.directive('ngFileSelect', [ '$parse', '$http', '$timeout', function($parse, $http, $timeout) { + return function(scope, elem, attr) { + var fn = $parse(attr['ngFileSelect']); + elem.bind('change', function(evt) { + var files = [], fileList, i; + fileList = evt.target.files; + if (fileList != null) { + for (i = 0; i < fileList.length; i++) { + files.push(fileList.item(i)); + } + } + $timeout(function() { + fn(scope, { + $files : files, + $event : evt + }); + }); + }); + elem.bind('click', function(){ + this.value = null; + }); + }; +} ]); + +angularFileUpload.directive('ngFileDropAvailable', [ '$parse', '$http', '$timeout', function($parse, $http, $timeout) { + return function(scope, elem, attr) { + if ('draggable' in document.createElement('span')) { + var fn = $parse(attr['ngFileDropAvailable']); + $timeout(function() { + fn(scope); + }); + } + }; +} ]); + +angularFileUpload.directive('ngFileDrop', [ '$parse', '$http', '$timeout', function($parse, $http, $timeout) { + return function(scope, elem, attr) { + if ('draggable' in document.createElement('span')) { + var fn = $parse(attr['ngFileDrop']); + elem[0].addEventListener("dragover", function(evt) { + evt.stopPropagation(); + evt.preventDefault(); + elem.addClass(attr['ngFileDragOverClass'] || "dragover"); + }, false); + elem[0].addEventListener("dragleave", function(evt) { + elem.removeClass(attr['ngFileDragOverClass'] || "dragover"); + }, false); + elem[0].addEventListener("drop", function(evt) { + evt.stopPropagation(); + evt.preventDefault(); + elem.removeClass(attr['ngFileDragOverClass'] || "dragover"); + var files = [], fileList = evt.dataTransfer.files, i; + if (fileList != null) { + for (i = 0; i < fileList.length; i++) { + files.push(fileList.item(i)); + } + } + $timeout(function() { + fn(scope, { + $files : files, + $event : evt + }); + }); + }, false); + } + }; +} ]); + +})(); diff --git a/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload.min.js b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload.min.js new file mode 100644 index 0000000000..ae51b1f3c7 --- /dev/null +++ b/forms/common-themes/src/main/resources/theme/rh-sso/common/resources/lib/fileupload/angular-file-upload.min.js @@ -0,0 +1,2 @@ +/*! 1.1.10 */ +!function(){var a=angular.module("angularFileUpload",[]);a.service("$upload",["$http","$rootScope","$timeout",function(a,b,c){this.upload=function(b){b.method=b.method||"POST",b.headers=b.headers||{},b.headers["Content-Type"]=void 0,b.transformRequest=b.transformRequest||a.defaults.transformRequest;var d=new FormData;if(b.data)for(var e in b.data){var f=b.data[e];if(b.formDataAppender)b.formDataAppender(d,e,f);else{if("function"==typeof b.transformRequest)f=b.transformRequest(f);else for(var g=0;g type pairs + class2type = {}, + + // List of deleted data cache ids, so we can reuse them + core_deletedIds = [], + + core_version = "1.10.2", + + // Save a reference to some core methods + core_concat = core_deletedIds.concat, + core_push = core_deletedIds.push, + core_slice = core_deletedIds.slice, + core_indexOf = core_deletedIds.indexOf, + core_toString = class2type.toString, + core_hasOwn = class2type.hasOwnProperty, + core_trim = core_version.trim, + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context, rootjQuery ); + }, + + // Used for matching numbers + core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, + + // Used for splitting on whitespace + core_rnotwhite = /\S+/g, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, + rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }, + + // The ready event handler + completed = function( event ) { + + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } + }, + // Clean-up method for dom ready events + detach = function() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: core_version, + + constructor: jQuery, + init: function( selector, context, rootjQuery ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return core_slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this[ this.length + num ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; + }, + + slice: function() { + return this.pushStack( core_slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: core_push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + // Non-digits removed to match rinlinejQuery + expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), + + noConflict: function( deep ) { + if ( window.$ === jQuery ) { + window.$ = _$; + } + + if ( deep && window.jQuery === jQuery ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + return !isNaN( parseFloat(obj) ) && isFinite( obj ); + }, + + type: function( obj ) { + if ( obj == null ) { + return String( obj ); + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ core_toString.call(obj) ] || "object" : + typeof obj; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !core_hasOwn.call(obj, "constructor") && + !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( jQuery.support.ownLast ) { + for ( key in obj ) { + return core_hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || core_hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw new Error( msg ); + }, + + // data: string of html + // context (optional): If specified, the fragment will be created in this context, defaults to document + // keepScripts (optional): If true, will include scripts passed in the html string + parseHTML: function( data, context, keepScripts ) { + if ( !data || typeof data !== "string" ) { + return null; + } + if ( typeof context === "boolean" ) { + keepScripts = context; + context = false; + } + context = context || document; + + var parsed = rsingleTag.exec( data ), + scripts = !keepScripts && []; + + // Single tag + if ( parsed ) { + return [ context.createElement( parsed[1] ) ]; + } + + parsed = jQuery.buildFragment( [ data ], context, scripts ); + if ( scripts ) { + jQuery( scripts ).remove(); + } + return jQuery.merge( [], parsed.childNodes ); + }, + + parseJSON: function( data ) { + // Attempt to parse using the native JSON parser first + if ( window.JSON && window.JSON.parse ) { + return window.JSON.parse( data ); + } + + if ( data === null ) { + return data; + } + + if ( typeof data === "string" ) { + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + if ( data ) { + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test( data.replace( rvalidescape, "@" ) + .replace( rvalidtokens, "]" ) + .replace( rvalidbraces, "")) ) { + + return ( new Function( "return " + data ) )(); + } + } + } + + jQuery.error( "Invalid JSON: " + data ); + }, + + // Cross-browser xml parsing + parseXML: function( data ) { + var xml, tmp; + if ( !data || typeof data !== "string" ) { + return null; + } + try { + if ( window.DOMParser ) { // Standard + tmp = new DOMParser(); + xml = tmp.parseFromString( data , "text/xml" ); + } else { // IE + xml = new ActiveXObject( "Microsoft.XMLDOM" ); + xml.async = "false"; + xml.loadXML( data ); + } + } catch( e ) { + xml = undefined; + } + if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; + }, + + noop: function() {}, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: core_trim && !core_trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + core_trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + core_push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( core_indexOf ) { + return core_indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var l = second.length, + i = first.length, + j = 0; + + if ( typeof l === "number" ) { + for ( ; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var retVal, + ret = [], + i = 0, + length = elems.length; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + } + + // Flatten any nested arrays + return core_concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = core_slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + // Multifunctional method to get and set values of a collection + // The value/s can optionally be executed if it's a function + access: function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; + }, + + now: function() { + return ( new Date() ).getTime(); + }, + + // A method for quickly swapping in/out CSS properties to get correct calculations. + // Note: this method belongs to the css module but it's needed here for the support module. + // If support gets modularized, this method should be moved back to the css module. + swap: function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; + } +}); + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || type !== "function" && + ( length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj ); +} + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); +/*! + * Sizzle CSS Selector Engine v1.10.2 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2013-07-03 + */ +(function( window, undefined ) { + +var i, + support, + cachedruns, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + hasDuplicate = false, + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + return 0; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rsibling = new RegExp( whitespace + "*[+~]" ), + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + // BMP codepoint + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && context.parentNode || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key += " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Detect xml + * @param {Element|Object} elem An element or a document + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent.attachEvent && parent !== parent.top ) { + parent.attachEvent( "onbeforeunload", function() { + setDocument(); + }); + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = assert(function( div ) { + div.innerHTML = "
"; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + + // Support: Opera 10-12/IE8 + // ^= $= *= and empty values + // Should not select anything + // Support: Windows 8 Native Apps + // The type attribute is restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "t", "" ); + + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = rnative.test( docElem.contains ) || docElem.compareDocumentPosition ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = docElem.compareDocumentPosition ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b ); + + if ( compare ) { + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } + + // Not directly comparable, sort on existence of method + return a.compareDocumentPosition ? -1 : 1; + } : + function( a, b ) { + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + + // Parentless nodes are either documents or disconnected + } else if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val === undefined ? + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null : + val; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + for ( ; (node = elem[i]); i++ ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (see #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), + // not comment, processing instructions, or others + // Thanks to Diego Perini for the nodeName shortcut + // Greater than "@" means alpha characters (specifically not starting with "#" or "?") + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) + // use getAttribute instead to test this case + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( tokens = [] ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var data, cache, outerCache, + dirkey = dirruns + " " + doneName; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { + if ( (data = cache[1]) === true || data === cachedruns ) { + return data === true; + } + } else { + cache = outerCache[ dir ] = [ dirkey ]; + cache[1] = matcher( elem, context, xml ) || cachedruns; + if ( cache[1] === true ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + // A counter to specify which element is currently being matched + var matcherCachedRuns = 0, + bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, expandContext ) { + var elem, j, matcher, + setMatched = [], + matchedCount = 0, + i = "0", + unmatched = seed && [], + outermost = expandContext != null, + contextBackup = outermostContext, + // We must always have either seed elements or context + elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); + + if ( outermost ) { + outermostContext = context !== document && context; + cachedruns = matcherCachedRuns; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + for ( ; (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + cachedruns = ++matcherCachedRuns; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && context.parentNode || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + elem[ name ] === true ? name.toLowerCase() : null; + } + }); +} + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})( window ); +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var action = tuple[ 0 ], + fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = core_slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; + if( values === progressValues ) { + deferred.notifyWith( contexts, values ); + } else if ( !( --remaining ) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); +jQuery.support = (function( support ) { + + var all, a, input, select, fragment, opt, eventName, isSupported, i, + div = document.createElement("div"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
a"; + + // Finish early in limited (non-browser) environments + all = div.getElementsByTagName("*") || []; + a = div.getElementsByTagName("a")[ 0 ]; + if ( !a || !a.style || !all.length ) { + return support; + } + + // First batch of tests + select = document.createElement("select"); + opt = select.appendChild( document.createElement("option") ); + input = div.getElementsByTagName("input")[ 0 ]; + + a.style.cssText = "top:1px;float:left;opacity:.5"; + + // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) + support.getSetAttribute = div.className !== "t"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName("tbody").length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName("link").length; + + // Get the style information from getAttribute + // (IE uses .cssText instead) + support.style = /top/.test( a.getAttribute("style") ); + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + support.hrefNormalized = a.getAttribute("href") === "/a"; + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + support.opacity = /^0.5/.test( a.style.opacity ); + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + support.cssFloat = !!a.style.cssFloat; + + // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) + support.checkOn = !!input.value; + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + support.optSelected = opt.selected; + + // Tests for enctype support on a form (#6743) + support.enctype = !!document.createElement("form").enctype; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>"; + + // Will be defined later + support.inlineBlockNeedsLayout = false; + support.shrinkWrapBlocks = false; + support.pixelPosition = false; + support.deleteExpando = true; + support.noCloneEvent = true; + support.reliableMarginRight = true; + support.boxSizingReliable = true; + + // Make sure checked status is properly cloned + input.checked = true; + support.noCloneChecked = input.cloneNode( true ).checked; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as disabled) + select.disabled = true; + support.optDisabled = !opt.disabled; + + // Support: IE<9 + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + + // Check if we can trust getAttribute("value") + input = document.createElement("input"); + input.setAttribute( "value", "" ); + support.input = input.getAttribute( "value" ) === ""; + + // Check if an input maintains its value after becoming a radio + input.value = "t"; + input.setAttribute( "type", "radio" ); + support.radioValue = input.value === "t"; + + // #11217 - WebKit loses check when the name is after the checked attribute + input.setAttribute( "checked", "t" ); + input.setAttribute( "name", "t" ); + + fragment = document.createDocumentFragment(); + fragment.appendChild( input ); + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + support.appendChecked = input.checked; + + // WebKit doesn't clone checked state correctly in fragments + support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + for ( i in { submit: true, change: true, focusin: true }) { + div.setAttribute( eventName = "on" + i, "t" ); + + support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; + } + + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + // Support: IE<9 + // Iteration over object's inherited properties before its own. + for ( i in jQuery( support ) ) { + break; + } + support.ownLast = i !== "0"; + + // Run tests that need a body at doc ready + jQuery(function() { + var container, marginDiv, tds, + divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + container = document.createElement("div"); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + body.appendChild( container ).appendChild( div ); + + // Support: IE8 + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + div.innerHTML = "
t
"; + tds = div.getElementsByTagName("td"); + tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; + isSupported = ( tds[ 0 ].offsetHeight === 0 ); + + tds[ 0 ].style.display = ""; + tds[ 1 ].style.display = "none"; + + // Support: IE8 + // Check if empty table cells still have offsetWidth/Height + support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); + + // Check box-sizing and margin behavior. + div.innerHTML = ""; + div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; + + // Workaround failing boxSizing test due to offsetWidth returning wrong value + // with some non-1 values of body zoom, ticket #13543 + jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() { + support.boxSizing = div.offsetWidth === 4; + }); + + // Use window.getComputedStyle because jsdom on node.js will break without it. + if ( window.getComputedStyle ) { + support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; + support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; + + // Check if div with explicit width and no margin-right incorrectly + // gets computed margin-right based on width of container. (#3333) + // Fails in WebKit before Feb 2011 nightlies + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + marginDiv = div.appendChild( document.createElement("div") ); + marginDiv.style.cssText = div.style.cssText = divReset; + marginDiv.style.marginRight = marginDiv.style.width = "0"; + div.style.width = "1px"; + + support.reliableMarginRight = + !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); + } + + if ( typeof div.style.zoom !== core_strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.innerHTML = ""; + div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; + support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); + + // Support: IE6 + // Check if elements with layout shrink-wrap their children + div.style.display = "block"; + div.innerHTML = "
"; + div.firstChild.style.width = "5px"; + support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); + + if ( support.inlineBlockNeedsLayout ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = tds = marginDiv = null; + }); + + // Null elements to avoid leaks in IE + all = select = fragment = opt = a = input = null; + + return support; +})({}); + +var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, + rmultiDash = /([A-Z])/g; + +function internalData( elem, name, data, pvt /* Internal Use Only */ ){ + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = core_deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( jQuery.support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "applet": true, + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + // Do not set data on non-element because it will not be cleared (#8335). + if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { + return false; + } + + var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; + + // nodes accept data unless otherwise specified; rejection can be conditional + return !noData || noData !== true && elem.getAttribute("classid") === noData; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var attrs, name, + data = null, + i = 0, + elem = this[0]; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + attrs = elem.attributes; + for ( ; i < attrs.length; i++ ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = setTimeout( next, time ); + hooks.stop = function() { + clearTimeout( timeout ); + }; + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var nodeHook, boolHook, + rclass = /[\t\r\n\f]/g, + rreturn = /\r/g, + rfocusable = /^(?:input|select|textarea|button|object)$/i, + rclickable = /^(?:a|area)$/i, + ruseDefault = /^(?:checked|selected)$/i, + getSetAttribute = jQuery.support.getSetAttribute, + getSetInput = jQuery.support.input; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each(function() { + jQuery.removeAttr( this, name ); + }); + }, + + prop: function( name, value ) { + return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; + return this.each(function() { + // try/catch handles cases where IE balks (such as removing a property on window) + try { + this[ name ] = undefined; + delete this[ name ]; + } catch( e ) {} + }); + }, + + addClass: function( value ) { + var classes, elem, cur, clazz, j, + i = 0, + len = this.length, + proceed = typeof value === "string" && value; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).addClass( value.call( this, j, this.className ) ); + }); + } + + if ( proceed ) { + // The disjunction here is for better compressibility (see removeClass) + classes = ( value || "" ).match( core_rnotwhite ) || []; + + for ( ; i < len; i++ ) { + elem = this[ i ]; + cur = elem.nodeType === 1 && ( elem.className ? + ( " " + elem.className + " " ).replace( rclass, " " ) : + " " + ); + + if ( cur ) { + j = 0; + while ( (clazz = classes[j++]) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + elem.className = jQuery.trim( cur ); + + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, clazz, j, + i = 0, + len = this.length, + proceed = arguments.length === 0 || typeof value === "string" && value; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).removeClass( value.call( this, j, this.className ) ); + }); + } + if ( proceed ) { + classes = ( value || "" ).match( core_rnotwhite ) || []; + + for ( ; i < len; i++ ) { + elem = this[ i ]; + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( elem.className ? + ( " " + elem.className + " " ).replace( rclass, " " ) : + "" + ); + + if ( cur ) { + j = 0; + while ( (clazz = classes[j++]) ) { + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + elem.className = value ? jQuery.trim( cur ) : ""; + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value; + + if ( typeof stateVal === "boolean" && type === "string" ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( jQuery.isFunction( value ) ) { + return this.each(function( i ) { + jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + classNames = value.match( core_rnotwhite ) || []; + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( type === core_strundefined || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery._data( this, "__className__", this.className ); + } + + // If the element has a class name or if we're passed "false", + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " ", + i = 0, + l = this.length; + for ( ; i < l; i++ ) { + if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + var ret, hooks, isFunction, + elem = this[0]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { + return ret; + } + + ret = elem.value; + + return typeof ret === "string" ? + // handle most common string cases + ret.replace(rreturn, "") : + // handle cases where value is null/undef or number + ret == null ? "" : ret; + } + + return; + } + + isFunction = jQuery.isFunction( value ); + + return this.each(function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray( val ) ) { + val = jQuery.map(val, function ( value ) { + return value == null ? "" : value + ""; + }); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + valHooks: { + option: { + get: function( elem ) { + // Use proper attribute retrieval(#6932, #12072) + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + elem.text; + } + }, + select: { + get: function( elem ) { + var value, option, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one" || index < 0, + values = one ? null : [], + max = one ? index + 1 : options.length, + i = index < 0 ? + max : + one ? index : 0; + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // oldIE doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + // Don't return options that are disabled or in a disabled optgroup + ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && + ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) { + optionSet = true; + } + } + + // force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + }, + + attr: function( elem, name, value ) { + var hooks, ret, + nType = elem.nodeType; + + // don't get/set attributes on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === core_strundefined ) { + return jQuery.prop( elem, name, value ); + } + + // All attributes are lowercase + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + name = name.toLowerCase(); + hooks = jQuery.attrHooks[ name ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook ); + } + + if ( value !== undefined ) { + + if ( value === null ) { + jQuery.removeAttr( elem, name ); + + } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + elem.setAttribute( name, value + "" ); + return value; + } + + } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? + undefined : + ret; + } + }, + + removeAttr: function( elem, value ) { + var name, propName, + i = 0, + attrNames = value && value.match( core_rnotwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( (name = attrNames[i++]) ) { + propName = jQuery.propFix[ name ] || name; + + // Boolean attributes get special treatment (#10870) + if ( jQuery.expr.match.bool.test( name ) ) { + // Set corresponding property to false + if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { + elem[ propName ] = false; + // Support: IE<9 + // Also clear defaultChecked/defaultSelected (if appropriate) + } else { + elem[ jQuery.camelCase( "default-" + name ) ] = + elem[ propName ] = false; + } + + // See #9699 for explanation of this approach (setting first, then removal) + } else { + jQuery.attr( elem, name, "" ); + } + + elem.removeAttribute( getSetAttribute ? name : propName ); + } + } + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { + // Setting the type on a radio button after the value resets the value in IE6-9 + // Reset value to default in case type is set after value during creation + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + }, + + prop: function( elem, name, value ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set properties on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + if ( notxml ) { + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ? + ret : + ( elem[ name ] = value ); + + } else { + return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ? + ret : + elem[ name ]; + } + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + return tabindex ? + parseInt( tabindex, 10 ) : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + -1; + } + } + } +}); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { + // IE<8 needs the *property* name + elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); + + // Use defaultChecked and defaultSelected for oldIE + } else { + elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; + } + + return name; + } +}; +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { + var getter = jQuery.expr.attrHandle[ name ] || jQuery.find.attr; + + jQuery.expr.attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ? + function( elem, name, isXML ) { + var fn = jQuery.expr.attrHandle[ name ], + ret = isXML ? + undefined : + /* jshint eqeqeq: false */ + (jQuery.expr.attrHandle[ name ] = undefined) != + getter( elem, name, isXML ) ? + + name.toLowerCase() : + null; + jQuery.expr.attrHandle[ name ] = fn; + return ret; + } : + function( elem, name, isXML ) { + return isXML ? + undefined : + elem[ jQuery.camelCase( "default-" + name ) ] ? + name.toLowerCase() : + null; + }; +}); + +// fix oldIE attroperties +if ( !getSetInput || !getSetAttribute ) { + jQuery.attrHooks.value = { + set: function( elem, value, name ) { + if ( jQuery.nodeName( elem, "input" ) ) { + // Does not return so that setAttribute is also used + elem.defaultValue = value; + } else { + // Use nodeHook if defined (#1954); otherwise setAttribute is fine + return nodeHook && nodeHook.set( elem, value, name ); + } + } + }; +} + +// IE6/7 do not support getting/setting some attributes with get/setAttribute +if ( !getSetAttribute ) { + + // Use this for any attribute in IE6/7 + // This fixes almost every IE6/7 issue + nodeHook = { + set: function( elem, value, name ) { + // Set the existing or create a new attribute node + var ret = elem.getAttributeNode( name ); + if ( !ret ) { + elem.setAttributeNode( + (ret = elem.ownerDocument.createAttribute( name )) + ); + } + + ret.value = value += ""; + + // Break association with cloned elements by also using setAttribute (#9646) + return name === "value" || value === elem.getAttribute( name ) ? + value : + undefined; + } + }; + jQuery.expr.attrHandle.id = jQuery.expr.attrHandle.name = jQuery.expr.attrHandle.coords = + // Some attributes are constructed with empty-string values when not defined + function( elem, name, isXML ) { + var ret; + return isXML ? + undefined : + (ret = elem.getAttributeNode( name )) && ret.value !== "" ? + ret.value : + null; + }; + jQuery.valHooks.button = { + get: function( elem, name ) { + var ret = elem.getAttributeNode( name ); + return ret && ret.specified ? + ret.value : + undefined; + }, + set: nodeHook.set + }; + + // Set contenteditable to false on removals(#10429) + // Setting to empty string throws an error as an invalid value + jQuery.attrHooks.contenteditable = { + set: function( elem, value, name ) { + nodeHook.set( elem, value === "" ? false : value, name ); + } + }; + + // Set width and height to auto instead of 0 on empty string( Bug #8150 ) + // This is for removals + jQuery.each([ "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = { + set: function( elem, value ) { + if ( value === "" ) { + elem.setAttribute( name, "auto" ); + return value; + } + } + }; + }); +} + + +// Some attributes require a special call on IE +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !jQuery.support.hrefNormalized ) { + // href/src property should get the full normalized URL (#10299/#12915) + jQuery.each([ "href", "src" ], function( i, name ) { + jQuery.propHooks[ name ] = { + get: function( elem ) { + return elem.getAttribute( name, 4 ); + } + }; + }); +} + +if ( !jQuery.support.style ) { + jQuery.attrHooks.style = { + get: function( elem ) { + // Return undefined in the case of empty string + // Note: IE uppercases css property names, but if we were to .toLowerCase() + // .cssText, that would destroy case senstitivity in URL's, like in "background" + return elem.style.cssText || undefined; + }, + set: function( elem, value ) { + return ( elem.style.cssText = value + "" ); + } + }; +} + +// Safari mis-reports the default selected property of an option +// Accessing the parent's selectedIndex property fixes it +if ( !jQuery.support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + var parent = elem.parentNode; + + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + return null; + } + }; +} + +jQuery.each([ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +}); + +// IE6/7 call enctype encoding +if ( !jQuery.support.enctype ) { + jQuery.propFix.enctype = "encoding"; +} + +// Radios and checkboxes getter/setter +jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( jQuery.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); + } + } + }; + if ( !jQuery.support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + // Support: Webkit + // "" is returned instead of "on" if a value isn't specified + return elem.getAttribute("value") === null ? "on" : elem.value; + }; + } +}); +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( core_rnotwhite ) || [""]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( core_rnotwhite ) || [""]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = core_hasOwn.call( event, "type" ) ? event.type : event, + namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { + event.preventDefault(); + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = core_slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === core_strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || + src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !jQuery.support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !jQuery.support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler while someone wants focusin/focusout + var attaches = 0, + handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + if ( attaches++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --attaches === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); +var isSimple = /^.[^:#\[\.,]*$/, + rparentsprev = /^(?:parents|prev(?:Until|All))/, + rneedsContext = jQuery.expr.match.needsContext, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + ret = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + cur = ret.push( cur ); + break; + } + } + } + + return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context ) : + jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( jQuery.unique(all) ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( isSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
", "
" ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
" ], + tr: [ 2, "", "
" ], + col: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
", "
" ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +jQuery.fn.extend({ + text: function( value ) { + return jQuery.access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + // keepData is for internal use only--do not document + remove: function( selector, keepData ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function () { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return jQuery.access( this, function( value ) { + var elem = this[0] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var + // Snapshot the DOM in case .domManip sweeps something relevant into its fragment + args = jQuery.map( this, function( elem ) { + return [ elem.nextSibling, elem.parentNode ]; + }), + i = 0; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + var next = args[ i++ ], + parent = args[ i++ ]; + + if ( parent ) { + // Don't use the snapshot next if it has moved (#13810) + if ( next && next.parentNode !== parent ) { + next = this.nextSibling; + } + jQuery( this ).remove(); + parent.insertBefore( elem, next ); + } + // Allow new content to include elements from the context set + }, true ); + + // Force removal if there was no new content (e.g., from empty arguments) + return i ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback, allowIntersection ) { + + // Flatten any nested arrays + args = core_concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback, allowIntersection ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, !allowIntersection && this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Hope ajax is available... + jQuery._evalUrl( node.src ); + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + core_push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( manipulation_rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !jQuery.support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
" && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !jQuery.support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = jQuery.support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== core_strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + core_deletedIds.push( id ); + } + } + } + } + }, + + _evalUrl: function( url ) { + return jQuery.ajax({ + url: url, + type: "GET", + dataType: "script", + async: false, + global: false, + "throws": true + }); + } +}); +jQuery.fn.extend({ + wrapAll: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapAll( html.call(this, i) ); + }); + } + + if ( this[0] ) { + // The elements to wrap the target around + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); + + if ( this[0].parentNode ) { + wrap.insertBefore( this[0] ); + } + + wrap.map(function() { + var elem = this; + + while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { + elem = elem.firstChild; + } + + return elem; + }).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapInner( html.call(this, i) ); + }); + } + + return this.each(function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + }); + }, + + wrap: function( html ) { + var isFunction = jQuery.isFunction( html ); + + return this.each(function(i) { + jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); + }); + }, + + unwrap: function() { + return this.parent().each(function() { + if ( !jQuery.nodeName( this, "body" ) ) { + jQuery( this ).replaceWith( this.childNodes ); + } + }).end(); + } +}); +var iframe, getStyles, curCSS, + ralpha = /alpha\([^)]*\)/i, + ropacity = /opacity\s*=\s*([^)]*)/, + rposition = /^(top|right|bottom|left)$/, + // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" + // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rmargin = /^margin/, + rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), + rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), + rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), + elemdisplay = { BODY: "block" }, + + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: 0, + fontWeight: 400 + }, + + cssExpand = [ "Top", "Right", "Bottom", "Left" ], + cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; + +// return a css property mapped to a potentially vendor prefixed property +function vendorPropName( style, name ) { + + // shortcut for names that are not vendor prefixed + if ( name in style ) { + return name; + } + + // check for vendor prefixed names + var capName = name.charAt(0).toUpperCase() + name.slice(1), + origName = name, + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in style ) { + return name; + } + } + + return origName; +} + +function isHidden( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); +} + +function showHide( elements, show ) { + var display, elem, hidden, + values = [], + index = 0, + length = elements.length; + + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + values[ index ] = jQuery._data( elem, "olddisplay" ); + display = elem.style.display; + if ( show ) { + // Reset the inline display of this element to learn if it is + // being hidden by cascaded rules or not + if ( !values[ index ] && display === "none" ) { + elem.style.display = ""; + } + + // Set elements which have been overridden with display: none + // in a stylesheet to whatever the default browser style is + // for such an element + if ( elem.style.display === "" && isHidden( elem ) ) { + values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); + } + } else { + + if ( !values[ index ] ) { + hidden = isHidden( elem ); + + if ( display && display !== "none" || !hidden ) { + jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); + } + } + } + } + + // Set the display of most of the elements in a second loop + // to avoid the constant reflow + for ( index = 0; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + if ( !show || elem.style.display === "none" || elem.style.display === "" ) { + elem.style.display = show ? values[ index ] || "" : "none"; + } + } + + return elements; +} + +jQuery.fn.extend({ + css: function( name, value ) { + return jQuery.access( this, function( elem, name, value ) { + var len, styles, + map = {}, + i = 0; + + if ( jQuery.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + }, + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each(function() { + if ( isHidden( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + }); + } +}); + +jQuery.extend({ + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "columnCount": true, + "fillOpacity": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: { + // normalize float css property + "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" + }, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = jQuery.camelCase( name ), + style = elem.style; + + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // convert relative number strings (+= or -=) to relative numbers. #7345 + if ( type === "string" && (ret = rrelNum.exec( value )) ) { + value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); + // Fixes bug #9237 + type = "number"; + } + + // Make sure that NaN and null values aren't set. See: #7116 + if ( value == null || type === "number" && isNaN( value ) ) { + return; + } + + // If a number was passed in, add 'px' to the (except for certain CSS properties) + if ( type === "number" && !jQuery.cssNumber[ origName ] ) { + value += "px"; + } + + // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, + // but it would mean to define eight (for every problematic property) identical functions + if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { + + // Wrapped to prevent IE from throwing errors when 'invalid' values are provided + // Fixes bug #5509 + try { + style[ name ] = value; + } catch(e) {} + } + + } else { + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var num, val, hooks, + origName = jQuery.camelCase( name ); + + // Make sure that we're working with the right name + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + //convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Return, converting to number if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; + } + return val; + } +}); + +// NOTE: we've included the "window" in window.getComputedStyle +// because jsdom on node.js will break without it. +if ( window.getComputedStyle ) { + getStyles = function( elem ) { + return window.getComputedStyle( elem, null ); + }; + + curCSS = function( elem, name, _computed ) { + var width, minWidth, maxWidth, + computed = _computed || getStyles( elem ), + + // getPropertyValue is only needed for .css('filter') in IE9, see #12537 + ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, + style = elem.style; + + if ( computed ) { + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right + // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels + // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values + if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret; + }; +} else if ( document.documentElement.currentStyle ) { + getStyles = function( elem ) { + return elem.currentStyle; + }; + + curCSS = function( elem, name, _computed ) { + var left, rs, rsLeft, + computed = _computed || getStyles( elem ), + ret = computed ? computed[ name ] : undefined, + style = elem.style; + + // Avoid setting ret to empty string here + // so we don't default to auto + if ( ret == null && style && style[ name ] ) { + ret = style[ name ]; + } + + // From the awesome hack by Dean Edwards + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 + + // If we're not dealing with a regular pixel number + // but a number that has a weird ending, we need to convert it to pixels + // but not position css attributes, as those are proportional to the parent element instead + // and we can't measure the parent instead because it might trigger a "stacking dolls" problem + if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { + + // Remember the original values + left = style.left; + rs = elem.runtimeStyle; + rsLeft = rs && rs.left; + + // Put in the new values to get a computed value out + if ( rsLeft ) { + rs.left = elem.currentStyle.left; + } + style.left = name === "fontSize" ? "1em" : ret; + ret = style.pixelLeft + "px"; + + // Revert the changed values + style.left = left; + if ( rsLeft ) { + rs.left = rsLeft; + } + } + + return ret === "" ? "auto" : ret; + }; +} + +function setPositiveNumber( elem, value, subtract ) { + var matches = rnumsplit.exec( value ); + return matches ? + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : + value; +} + +function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { + var i = extra === ( isBorderBox ? "border" : "content" ) ? + // If we already have the right measurement, avoid augmentation + 4 : + // Otherwise initialize for horizontal or vertical properties + name === "width" ? 1 : 0, + + val = 0; + + for ( ; i < 4; i += 2 ) { + // both box models exclude margin, so add it if we want it + if ( extra === "margin" ) { + val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); + } + + if ( isBorderBox ) { + // border-box includes padding, so remove it if we want content + if ( extra === "content" ) { + val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // at this point, extra isn't border nor margin, so remove border + if ( extra !== "margin" ) { + val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } else { + // at this point, extra isn't content, so add padding + val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // at this point, extra isn't content nor padding, so add border + if ( extra !== "padding" ) { + val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + return val; +} + +function getWidthOrHeight( elem, name, extra ) { + + // Start with offset property, which is equivalent to the border-box value + var valueIsBorderBox = true, + val = name === "width" ? elem.offsetWidth : elem.offsetHeight, + styles = getStyles( elem ), + isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // some non-html elements return undefined for offsetWidth, so check for null/undefined + // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 + // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 + if ( val <= 0 || val == null ) { + // Fall back to computed then uncomputed css if necessary + val = curCSS( elem, name, styles ); + if ( val < 0 || val == null ) { + val = elem.style[ name ]; + } + + // Computed unit is not pixels. Stop here and return. + if ( rnumnonpx.test(val) ) { + return val; + } + + // we need the check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); + + // Normalize "", auto, and prepare for extra + val = parseFloat( val ) || 0; + } + + // use the active box-sizing model to add/subtract irrelevant styles + return ( val + + augmentWidthOrHeight( + elem, + name, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles + ) + ) + "px"; +} + +// Try to determine the default display value of an element +function css_defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + // Use the already-created iframe if possible + iframe = ( iframe || + jQuery("