From 30921d6140451fe85522b0a2068218c0d5d370ba Mon Sep 17 00:00:00 2001 From: Apress Date: Wed, 19 Oct 2016 18:31:03 +0100 Subject: [PATCH] First commit --- 9781484200742.jpg | Bin 0 -> 9596 bytes LICENSE.txt | 27 + README.md | 15 + contributing.md | 14 + pro-vagrant-v1.0.1/LICENSE | 22 + pro-vagrant-v1.0.1/README.md | 88 + pro-vagrant-v1.0.1/build.sh | 7 + .../chapter-02/songs-app-angularjs/README.md | 35 + .../songs-app-angularjs/Vagrantfile | 8 + .../chapter-02/songs-app-angularjs/stamp.yml | 3 + .../songs-app-angularjs/version.txt | 1 + .../songs-app-angularjs/web/css/app.css | 2 + .../web/css/bootstrap-responsive.css | 808 + .../web/css/bootstrap-responsive.min.css | 9 + .../songs-app-angularjs/web/css/bootstrap.css | 4960 +++ .../web/css/bootstrap.min.css | 9 + .../songs-app-angularjs/web/data/song/1.json | 5 + .../songs-app-angularjs/web/data/song/2.json | 5 + .../songs-app-angularjs/web/data/song/3.json | 5 + .../songs-app-angularjs/web/data/songs.json | 14 + .../songs-app-angularjs/web/index.html | 34 + .../songs-app-angularjs/web/js/app.js | 3 + .../songs-app-angularjs/web/js/controllers.js | 39 + .../songs-app-angularjs/web/js/directives.js | 3 + .../songs-app-angularjs/web/js/filters.js | 9 + .../songs-app-angularjs/web/js/services.js | 4 + .../web/lib/angular/angular-animate.js | 1613 + .../web/lib/angular/angular-animate.min.js | 27 + .../lib/angular/angular-animate.min.js.map | 8 + .../web/lib/angular/angular-cookies.js | 196 + .../web/lib/angular/angular-cookies.min.js | 8 + .../lib/angular/angular-cookies.min.js.map | 8 + .../web/lib/angular/angular-csp.css | 18 + .../web/lib/angular/angular-loader.js | 412 + .../web/lib/angular/angular-loader.min.js | 9 + .../web/lib/angular/angular-loader.min.js.map | 8 + .../web/lib/angular/angular-mocks.js | 2183 + .../web/lib/angular/angular-resource.js | 607 + .../web/lib/angular/angular-resource.min.js | 13 + .../lib/angular/angular-resource.min.js.map | 8 + .../web/lib/angular/angular-route.js | 927 + .../web/lib/angular/angular-route.min.js | 14 + .../web/lib/angular/angular-route.min.js.map | 8 + .../web/lib/angular/angular-sanitize.js | 624 + .../web/lib/angular/angular-sanitize.min.js | 14 + .../lib/angular/angular-sanitize.min.js.map | 8 + .../web/lib/angular/angular-scenario.js | 33735 ++++++++++++++++ .../web/lib/angular/angular-touch.js | 575 + .../web/lib/angular/angular-touch.min.js | 13 + .../web/lib/angular/angular-touch.min.js.map | 8 + .../web/lib/angular/angular.js | 21735 ++++++++++ .../web/lib/angular/angular.min.js | 211 + .../web/lib/angular/angular.min.js.gzip | Bin 0 -> 36933 bytes .../web/lib/angular/angular.min.js.map | 8 + .../web/lib/angular/errors.json | 1 + .../lib/angular/i18n/angular-locale_af-na.js | 99 + .../lib/angular/i18n/angular-locale_af-za.js | 99 + .../web/lib/angular/i18n/angular-locale_af.js | 99 + .../lib/angular/i18n/angular-locale_am-et.js | 99 + .../web/lib/angular/i18n/angular-locale_am.js | 99 + .../lib/angular/i18n/angular-locale_ar-001.js | 99 + .../lib/angular/i18n/angular-locale_ar-ae.js | 99 + .../lib/angular/i18n/angular-locale_ar-bh.js | 99 + .../lib/angular/i18n/angular-locale_ar-dz.js | 99 + .../lib/angular/i18n/angular-locale_ar-eg.js | 99 + .../lib/angular/i18n/angular-locale_ar-iq.js | 99 + .../lib/angular/i18n/angular-locale_ar-jo.js | 99 + .../lib/angular/i18n/angular-locale_ar-kw.js | 99 + .../lib/angular/i18n/angular-locale_ar-lb.js | 99 + .../lib/angular/i18n/angular-locale_ar-ly.js | 99 + .../lib/angular/i18n/angular-locale_ar-ma.js | 99 + .../lib/angular/i18n/angular-locale_ar-om.js | 99 + .../lib/angular/i18n/angular-locale_ar-qa.js | 99 + .../lib/angular/i18n/angular-locale_ar-sa.js | 99 + .../lib/angular/i18n/angular-locale_ar-sd.js | 99 + .../lib/angular/i18n/angular-locale_ar-sy.js | 99 + .../lib/angular/i18n/angular-locale_ar-tn.js | 99 + .../lib/angular/i18n/angular-locale_ar-ye.js | 99 + .../web/lib/angular/i18n/angular-locale_ar.js | 99 + .../lib/angular/i18n/angular-locale_bg-bg.js | 99 + .../web/lib/angular/i18n/angular-locale_bg.js | 99 + .../lib/angular/i18n/angular-locale_bn-bd.js | 99 + .../lib/angular/i18n/angular-locale_bn-in.js | 99 + .../web/lib/angular/i18n/angular-locale_bn.js | 99 + .../lib/angular/i18n/angular-locale_ca-ad.js | 99 + .../lib/angular/i18n/angular-locale_ca-es.js | 99 + .../web/lib/angular/i18n/angular-locale_ca.js | 99 + .../lib/angular/i18n/angular-locale_cs-cz.js | 99 + .../web/lib/angular/i18n/angular-locale_cs.js | 99 + .../lib/angular/i18n/angular-locale_da-dk.js | 99 + .../web/lib/angular/i18n/angular-locale_da.js | 99 + .../lib/angular/i18n/angular-locale_de-at.js | 99 + .../lib/angular/i18n/angular-locale_de-be.js | 99 + .../lib/angular/i18n/angular-locale_de-ch.js | 99 + .../lib/angular/i18n/angular-locale_de-de.js | 99 + .../lib/angular/i18n/angular-locale_de-li.js | 99 + .../lib/angular/i18n/angular-locale_de-lu.js | 99 + .../web/lib/angular/i18n/angular-locale_de.js | 99 + .../lib/angular/i18n/angular-locale_el-cy.js | 99 + .../lib/angular/i18n/angular-locale_el-gr.js | 99 + .../web/lib/angular/i18n/angular-locale_el.js | 99 + .../lib/angular/i18n/angular-locale_en-as.js | 99 + .../lib/angular/i18n/angular-locale_en-au.js | 99 + .../lib/angular/i18n/angular-locale_en-bb.js | 99 + .../lib/angular/i18n/angular-locale_en-be.js | 99 + .../lib/angular/i18n/angular-locale_en-bm.js | 99 + .../lib/angular/i18n/angular-locale_en-bw.js | 99 + .../lib/angular/i18n/angular-locale_en-bz.js | 99 + .../lib/angular/i18n/angular-locale_en-ca.js | 99 + .../angular/i18n/angular-locale_en-dsrt-us.js | 99 + .../angular/i18n/angular-locale_en-dsrt.js | 99 + .../lib/angular/i18n/angular-locale_en-fm.js | 99 + .../lib/angular/i18n/angular-locale_en-gb.js | 99 + .../lib/angular/i18n/angular-locale_en-gu.js | 99 + .../lib/angular/i18n/angular-locale_en-gy.js | 99 + .../lib/angular/i18n/angular-locale_en-hk.js | 99 + .../lib/angular/i18n/angular-locale_en-ie.js | 99 + .../lib/angular/i18n/angular-locale_en-in.js | 99 + .../lib/angular/i18n/angular-locale_en-iso.js | 99 + .../lib/angular/i18n/angular-locale_en-jm.js | 99 + .../lib/angular/i18n/angular-locale_en-mh.js | 99 + .../lib/angular/i18n/angular-locale_en-mp.js | 99 + .../lib/angular/i18n/angular-locale_en-mt.js | 99 + .../lib/angular/i18n/angular-locale_en-mu.js | 99 + .../lib/angular/i18n/angular-locale_en-na.js | 99 + .../lib/angular/i18n/angular-locale_en-nz.js | 99 + .../lib/angular/i18n/angular-locale_en-ph.js | 99 + .../lib/angular/i18n/angular-locale_en-pk.js | 99 + .../lib/angular/i18n/angular-locale_en-pr.js | 99 + .../lib/angular/i18n/angular-locale_en-pw.js | 99 + .../lib/angular/i18n/angular-locale_en-sg.js | 99 + .../lib/angular/i18n/angular-locale_en-tc.js | 99 + .../lib/angular/i18n/angular-locale_en-tt.js | 99 + .../lib/angular/i18n/angular-locale_en-um.js | 99 + .../lib/angular/i18n/angular-locale_en-us.js | 99 + .../lib/angular/i18n/angular-locale_en-vg.js | 99 + .../lib/angular/i18n/angular-locale_en-vi.js | 99 + .../lib/angular/i18n/angular-locale_en-za.js | 99 + .../lib/angular/i18n/angular-locale_en-zw.js | 99 + .../web/lib/angular/i18n/angular-locale_en.js | 99 + .../lib/angular/i18n/angular-locale_es-419.js | 99 + .../lib/angular/i18n/angular-locale_es-ar.js | 99 + .../lib/angular/i18n/angular-locale_es-bo.js | 99 + .../lib/angular/i18n/angular-locale_es-cl.js | 99 + .../lib/angular/i18n/angular-locale_es-co.js | 99 + .../lib/angular/i18n/angular-locale_es-cr.js | 99 + .../lib/angular/i18n/angular-locale_es-do.js | 99 + .../lib/angular/i18n/angular-locale_es-ea.js | 99 + .../lib/angular/i18n/angular-locale_es-ec.js | 99 + .../lib/angular/i18n/angular-locale_es-es.js | 99 + .../lib/angular/i18n/angular-locale_es-gq.js | 99 + .../lib/angular/i18n/angular-locale_es-gt.js | 99 + .../lib/angular/i18n/angular-locale_es-hn.js | 99 + .../lib/angular/i18n/angular-locale_es-ic.js | 99 + .../lib/angular/i18n/angular-locale_es-mx.js | 99 + .../lib/angular/i18n/angular-locale_es-ni.js | 99 + .../lib/angular/i18n/angular-locale_es-pa.js | 99 + .../lib/angular/i18n/angular-locale_es-pe.js | 99 + .../lib/angular/i18n/angular-locale_es-pr.js | 99 + .../lib/angular/i18n/angular-locale_es-py.js | 99 + .../lib/angular/i18n/angular-locale_es-sv.js | 99 + .../lib/angular/i18n/angular-locale_es-us.js | 99 + .../lib/angular/i18n/angular-locale_es-uy.js | 99 + .../lib/angular/i18n/angular-locale_es-ve.js | 99 + .../web/lib/angular/i18n/angular-locale_es.js | 99 + .../lib/angular/i18n/angular-locale_et-ee.js | 99 + .../web/lib/angular/i18n/angular-locale_et.js | 99 + .../lib/angular/i18n/angular-locale_eu-es.js | 99 + .../web/lib/angular/i18n/angular-locale_eu.js | 99 + .../lib/angular/i18n/angular-locale_fa-af.js | 99 + .../lib/angular/i18n/angular-locale_fa-ir.js | 99 + .../web/lib/angular/i18n/angular-locale_fa.js | 99 + .../lib/angular/i18n/angular-locale_fi-fi.js | 99 + .../web/lib/angular/i18n/angular-locale_fi.js | 99 + .../lib/angular/i18n/angular-locale_fil-ph.js | 99 + .../lib/angular/i18n/angular-locale_fil.js | 99 + .../lib/angular/i18n/angular-locale_fr-be.js | 99 + .../lib/angular/i18n/angular-locale_fr-bf.js | 99 + .../lib/angular/i18n/angular-locale_fr-bi.js | 99 + .../lib/angular/i18n/angular-locale_fr-bj.js | 99 + .../lib/angular/i18n/angular-locale_fr-bl.js | 99 + .../lib/angular/i18n/angular-locale_fr-ca.js | 99 + .../lib/angular/i18n/angular-locale_fr-cd.js | 99 + .../lib/angular/i18n/angular-locale_fr-cf.js | 99 + .../lib/angular/i18n/angular-locale_fr-cg.js | 99 + .../lib/angular/i18n/angular-locale_fr-ch.js | 99 + .../lib/angular/i18n/angular-locale_fr-ci.js | 99 + .../lib/angular/i18n/angular-locale_fr-cm.js | 99 + .../lib/angular/i18n/angular-locale_fr-dj.js | 99 + .../lib/angular/i18n/angular-locale_fr-fr.js | 99 + .../lib/angular/i18n/angular-locale_fr-ga.js | 99 + .../lib/angular/i18n/angular-locale_fr-gf.js | 99 + .../lib/angular/i18n/angular-locale_fr-gn.js | 99 + .../lib/angular/i18n/angular-locale_fr-gp.js | 99 + .../lib/angular/i18n/angular-locale_fr-gq.js | 99 + .../lib/angular/i18n/angular-locale_fr-km.js | 99 + .../lib/angular/i18n/angular-locale_fr-lu.js | 99 + .../lib/angular/i18n/angular-locale_fr-mc.js | 99 + .../lib/angular/i18n/angular-locale_fr-mf.js | 99 + .../lib/angular/i18n/angular-locale_fr-mg.js | 99 + .../lib/angular/i18n/angular-locale_fr-ml.js | 99 + .../lib/angular/i18n/angular-locale_fr-mq.js | 99 + .../lib/angular/i18n/angular-locale_fr-ne.js | 99 + .../lib/angular/i18n/angular-locale_fr-re.js | 99 + .../lib/angular/i18n/angular-locale_fr-yt.js | 99 + .../web/lib/angular/i18n/angular-locale_fr.js | 99 + .../lib/angular/i18n/angular-locale_gl-es.js | 99 + .../web/lib/angular/i18n/angular-locale_gl.js | 99 + .../lib/angular/i18n/angular-locale_gsw-ch.js | 99 + .../lib/angular/i18n/angular-locale_gsw.js | 99 + .../lib/angular/i18n/angular-locale_gu-in.js | 99 + .../web/lib/angular/i18n/angular-locale_gu.js | 99 + .../lib/angular/i18n/angular-locale_he-il.js | 99 + .../web/lib/angular/i18n/angular-locale_he.js | 99 + .../lib/angular/i18n/angular-locale_hi-in.js | 99 + .../web/lib/angular/i18n/angular-locale_hi.js | 99 + .../lib/angular/i18n/angular-locale_hr-hr.js | 99 + .../web/lib/angular/i18n/angular-locale_hr.js | 99 + .../lib/angular/i18n/angular-locale_hu-hu.js | 99 + .../web/lib/angular/i18n/angular-locale_hu.js | 99 + .../lib/angular/i18n/angular-locale_id-id.js | 99 + .../web/lib/angular/i18n/angular-locale_id.js | 99 + .../web/lib/angular/i18n/angular-locale_in.js | 99 + .../lib/angular/i18n/angular-locale_is-is.js | 99 + .../web/lib/angular/i18n/angular-locale_is.js | 99 + .../lib/angular/i18n/angular-locale_it-it.js | 99 + .../lib/angular/i18n/angular-locale_it-sm.js | 99 + .../web/lib/angular/i18n/angular-locale_it.js | 99 + .../web/lib/angular/i18n/angular-locale_iw.js | 99 + .../lib/angular/i18n/angular-locale_ja-jp.js | 99 + .../web/lib/angular/i18n/angular-locale_ja.js | 99 + .../lib/angular/i18n/angular-locale_kn-in.js | 99 + .../web/lib/angular/i18n/angular-locale_kn.js | 99 + .../lib/angular/i18n/angular-locale_ko-kr.js | 99 + .../web/lib/angular/i18n/angular-locale_ko.js | 99 + .../lib/angular/i18n/angular-locale_ln-cd.js | 99 + .../web/lib/angular/i18n/angular-locale_ln.js | 99 + .../lib/angular/i18n/angular-locale_lt-lt.js | 99 + .../web/lib/angular/i18n/angular-locale_lt.js | 99 + .../lib/angular/i18n/angular-locale_lv-lv.js | 99 + .../web/lib/angular/i18n/angular-locale_lv.js | 99 + .../lib/angular/i18n/angular-locale_ml-in.js | 99 + .../web/lib/angular/i18n/angular-locale_ml.js | 99 + .../lib/angular/i18n/angular-locale_mr-in.js | 99 + .../web/lib/angular/i18n/angular-locale_mr.js | 99 + .../lib/angular/i18n/angular-locale_ms-my.js | 99 + .../web/lib/angular/i18n/angular-locale_ms.js | 99 + .../lib/angular/i18n/angular-locale_mt-mt.js | 99 + .../web/lib/angular/i18n/angular-locale_mt.js | 99 + .../lib/angular/i18n/angular-locale_nl-cw.js | 99 + .../lib/angular/i18n/angular-locale_nl-nl.js | 99 + .../lib/angular/i18n/angular-locale_nl-sx.js | 99 + .../web/lib/angular/i18n/angular-locale_nl.js | 99 + .../web/lib/angular/i18n/angular-locale_no.js | 99 + .../lib/angular/i18n/angular-locale_or-in.js | 99 + .../web/lib/angular/i18n/angular-locale_or.js | 99 + .../lib/angular/i18n/angular-locale_pl-pl.js | 99 + .../web/lib/angular/i18n/angular-locale_pl.js | 99 + .../lib/angular/i18n/angular-locale_pt-br.js | 99 + .../lib/angular/i18n/angular-locale_pt-pt.js | 99 + .../web/lib/angular/i18n/angular-locale_pt.js | 99 + .../lib/angular/i18n/angular-locale_ro-ro.js | 99 + .../web/lib/angular/i18n/angular-locale_ro.js | 99 + .../lib/angular/i18n/angular-locale_ru-ru.js | 99 + .../web/lib/angular/i18n/angular-locale_ru.js | 99 + .../lib/angular/i18n/angular-locale_sk-sk.js | 99 + .../web/lib/angular/i18n/angular-locale_sk.js | 99 + .../lib/angular/i18n/angular-locale_sl-si.js | 99 + .../web/lib/angular/i18n/angular-locale_sl.js | 99 + .../lib/angular/i18n/angular-locale_sq-al.js | 99 + .../web/lib/angular/i18n/angular-locale_sq.js | 99 + .../angular/i18n/angular-locale_sr-cyrl-rs.js | 99 + .../angular/i18n/angular-locale_sr-latn-rs.js | 99 + .../web/lib/angular/i18n/angular-locale_sr.js | 99 + .../lib/angular/i18n/angular-locale_sv-se.js | 99 + .../web/lib/angular/i18n/angular-locale_sv.js | 99 + .../lib/angular/i18n/angular-locale_sw-tz.js | 99 + .../web/lib/angular/i18n/angular-locale_sw.js | 99 + .../lib/angular/i18n/angular-locale_ta-in.js | 99 + .../web/lib/angular/i18n/angular-locale_ta.js | 99 + .../lib/angular/i18n/angular-locale_te-in.js | 99 + .../web/lib/angular/i18n/angular-locale_te.js | 99 + .../lib/angular/i18n/angular-locale_th-th.js | 99 + .../web/lib/angular/i18n/angular-locale_th.js | 99 + .../web/lib/angular/i18n/angular-locale_tl.js | 99 + .../lib/angular/i18n/angular-locale_tr-tr.js | 99 + .../web/lib/angular/i18n/angular-locale_tr.js | 99 + .../lib/angular/i18n/angular-locale_uk-ua.js | 99 + .../web/lib/angular/i18n/angular-locale_uk.js | 99 + .../lib/angular/i18n/angular-locale_ur-pk.js | 99 + .../web/lib/angular/i18n/angular-locale_ur.js | 99 + .../lib/angular/i18n/angular-locale_vi-vn.js | 99 + .../web/lib/angular/i18n/angular-locale_vi.js | 99 + .../lib/angular/i18n/angular-locale_zh-cn.js | 99 + .../angular/i18n/angular-locale_zh-hans-cn.js | 99 + .../lib/angular/i18n/angular-locale_zh-hk.js | 99 + .../lib/angular/i18n/angular-locale_zh-tw.js | 99 + .../web/lib/angular/i18n/angular-locale_zh.js | 99 + .../lib/angular/i18n/angular-locale_zu-za.js | 99 + .../web/lib/angular/i18n/angular-locale_zu.js | 99 + .../web/lib/angular/version.json | 1 + .../web/lib/angular/version.txt | 1 + .../web/lib/jquery/jquery-1.10.2.js | 9789 +++++ .../web/lib/jquery/jquery-1.10.2.min.js | 6 + .../web/lib/jquery/jquery-1.10.2.min.map | 1 + .../chapter-02/songs-app-django/README.md | 36 + .../chapter-02/songs-app-django/Vagrantfile | 18 + .../songs-app-django/songs/manage.py | 10 + .../songs-app-django/songs/songs/__init__.py | 0 .../songs-app-django/songs/songs/settings.py | 87 + .../songs/songs/templates/baa.html | 17 + .../songs/songs/templates/base.html | 20 + .../songs/songs/templates/hush.html | 35 + .../songs/songs/templates/sixpence.html | 29 + .../songs-app-django/songs/songs/urls.py | 14 + .../songs-app-django/songs/songs/views.py | 20 + .../songs-app-django/songs/songs/wsgi.py | 14 + .../chapter-02/songs-app-django/stamp.yml | 3 + .../chapter-02/songs-app-django/version.txt | 1 + .../chapter-02/songs-app-rails/Gemfile | 45 + .../chapter-02/songs-app-rails/Gemfile.lock | 163 + .../chapter-02/songs-app-rails/README.md | 35 + .../chapter-02/songs-app-rails/Rakefile | 6 + .../chapter-02/songs-app-rails/Vagrantfile | 18 + .../songs-app-rails/app/assets/images/.keep | 0 .../app/assets/javascripts/application.js | 16 + .../app/assets/javascripts/lyrics.coffee | 3 + .../app/assets/stylesheets/application.css | 15 + .../app/assets/stylesheets/lyrics.scss | 3 + .../app/controllers/application_controller.rb | 5 + .../app/controllers/concerns/.keep | 0 .../app/controllers/lyrics_controller.rb | 12 + .../app/helpers/application_helper.rb | 2 + .../app/helpers/lyrics_helper.rb | 2 + .../songs-app-rails/app/mailers/.keep | 0 .../songs-app-rails/app/models/.keep | 0 .../songs-app-rails/app/models/concerns/.keep | 0 .../app/views/layouts/application.html.erb | 23 + .../app/views/lyrics/baa.html.erb | 11 + .../app/views/lyrics/hush.html.erb | 29 + .../app/views/lyrics/sixpence.html.erb | 20 + .../chapter-02/songs-app-rails/bin/bundle | 3 + .../chapter-02/songs-app-rails/bin/rails | 8 + .../chapter-02/songs-app-rails/bin/rake | 8 + .../chapter-02/songs-app-rails/bin/setup | 29 + .../chapter-02/songs-app-rails/bin/spring | 15 + .../chapter-02/songs-app-rails/config.ru | 4 + .../songs-app-rails/config/application.rb | 26 + .../chapter-02/songs-app-rails/config/boot.rb | 3 + .../songs-app-rails/config/database.yml | 25 + .../songs-app-rails/config/environment.rb | 5 + .../config/environments/development.rb | 41 + .../config/environments/production.rb | 79 + .../config/environments/test.rb | 42 + .../config/initializers/assets.rb | 11 + .../initializers/backtrace_silencers.rb | 7 + .../config/initializers/cookies_serializer.rb | 3 + .../initializers/filter_parameter_logging.rb | 4 + .../config/initializers/inflections.rb | 16 + .../config/initializers/mime_types.rb | 4 + .../config/initializers/session_store.rb | 3 + .../config/initializers/wrap_parameters.rb | 14 + .../songs-app-rails/config/locales/en.yml | 23 + .../songs-app-rails/config/routes.rb | 7 + .../songs-app-rails/config/secrets.yml | 22 + .../chapter-02/songs-app-rails/db/seeds.rb | 7 + .../songs-app-rails/lib/assets/.keep | 0 .../songs-app-rails/lib/tasks/.keep | 0 .../chapter-02/songs-app-rails/log/.keep | 0 .../songs-app-rails/public/404.html | 67 + .../songs-app-rails/public/422.html | 67 + .../songs-app-rails/public/500.html | 66 + .../songs-app-rails/public/favicon.ico | 0 .../songs-app-rails/public/robots.txt | 5 + .../chapter-02/songs-app-rails/stamp.yml | 3 + .../songs-app-rails/test/controllers/.keep | 0 .../controllers/lyrics_controller_test.rb | 7 + .../songs-app-rails/test/fixtures/.keep | 0 .../songs-app-rails/test/helpers/.keep | 0 .../songs-app-rails/test/integration/.keep | 0 .../songs-app-rails/test/mailers/.keep | 0 .../songs-app-rails/test/models/.keep | 0 .../songs-app-rails/test/test_helper.rb | 10 + .../vendor/assets/javascripts/.keep | 0 .../vendor/assets/stylesheets/.keep | 0 .../chapter-02/songs-app-rails/version.txt | 1 + .../chapter-02/songs-app-symfony/.travis.yml | 107 + .../DataFixtures/ORM/LoadUserData.php | 25 + .../00-extra/db/create-empty-database.sql | 4 + .../chapter-02/songs-app-symfony/LICENSE | 19 + .../chapter-02/songs-app-symfony/README.md | 35 + .../chapter-02/songs-app-symfony/Vagrantfile | 16 + .../songs-app-symfony/app/.htaccess | 7 + .../songs-app-symfony/app/AppCache.php | 9 + .../songs-app-symfony/app/AppKernel.php | 65 + .../views/Exception/error404.html.twig | 10 + .../views/Exception/error500.html.twig | 13 + .../app/Resources/views/base.html.twig | 20 + .../Resources/views/default/index.html.twig | 5 + .../app/SymfonyRequirements.php | 739 + .../songs-app-symfony/app/autoload.php | 14 + .../songs-app-symfony/app/check.php | 142 + .../songs-app-symfony/app/config/config.yml | 162 + .../app/config/config_dev.yml | 54 + .../app/config/config_prod.yml | 25 + .../app/config/config_test.yml | 16 + .../app/config/parameters.yml | 14 + .../app/config/parameters.yml.dist | 24 + .../songs-app-symfony/app/config/routing.yml | 22 + .../app/config/routing_dev.yml | 18 + .../songs-app-symfony/app/config/security.yml | 56 + .../songs-app-symfony/app/config/services.yml | 9 + .../chapter-02/songs-app-symfony/app/console | 27 + .../songs-app-symfony/app/phpunit.xml.dist | 37 + .../chapter-02/songs-app-symfony/behat.yml | 19 + .../songs-app-symfony/composer.json | 97 + .../songs-app-symfony/composer.lock | 3917 ++ .../bootstrap/Context/FeatureContext.php | 35 + .../features/homepage.feature | 6 + .../songs-app-symfony/initialize.bash | 36 + .../songs-app-symfony/puppet/travis.pp | 19 + .../chapter-02/songs-app-symfony/reload.bash | 30 + .../songs-app-symfony/run-tests.bash | 16 + .../songs-app-symfony/src/.htaccess | 7 + .../src/AppBundle/AppBundle.php | 9 + .../Controller/DefaultController.php | 37 + .../src/AppBundle/Entity/User.php | 27 + .../Resources/views/Default/baa.html.twig | 17 + .../Resources/views/Default/hush.html.twig | 35 + .../views/Default/sixpence.html.twig | 29 + .../Controller/DefaultControllerTest.php | 18 + .../songs-app-symfony/web/.htaccess | 56 + .../chapter-02/songs-app-symfony/web/app.php | 30 + .../songs-app-symfony/web/app_dev.php | 20 + .../web/apple-touch-icon.png | Bin 0 -> 10784 bytes .../songs-app-symfony/web/config.php | 124 + .../songs-app-symfony/web/favicon.ico | Bin 0 -> 6518 bytes .../songs-app-symfony/web/robots.txt | 4 + .../chapter-03/songs-app-sinatra/README.md | 28 + .../chapter-03/songs-app-sinatra/Vagrantfile | 4 + .../chapter-03/songs-app-sinatra/app.rb | 14 + .../chapter-03/songs-app-sinatra/stamp.yml | 3 + .../chapter-03/songs-app-sinatra/version.txt | 1 + .../songs-app-sinatra/views/baa.erb | 11 + .../songs-app-sinatra/views/hush.erb | 29 + .../songs-app-sinatra/views/layout.erb | 20 + .../songs-app-sinatra/views/sixpence.erb | 20 + .../new-project-chapter-04/Vagrantfile | 3 + .../chapter-05/corporate-blog/README.md | 16 + .../chapter-05/corporate-blog/Vagrantfile | 4 + .../chapter-05/corporate-blog/_config.yml | 14 + .../corporate-blog/_includes/footer.html | 55 + .../corporate-blog/_includes/head.html | 12 + .../corporate-blog/_includes/header.html | 27 + .../corporate-blog/_layouts/default.html | 20 + .../corporate-blog/_layouts/page.html | 14 + .../corporate-blog/_layouts/post.html | 15 + .../2015-04-18-welcome-to-jekyll.markdown | 25 + .../corporate-blog/_sass/_base.scss | 204 + .../corporate-blog/_sass/_layout.scss | 236 + .../_sass/_syntax-highlighting.scss | 67 + .../chapter-05/corporate-blog/about.md | 11 + .../chapter-05/corporate-blog/css/main.scss | 52 + .../chapter-05/corporate-blog/feed.xml | 30 + .../chapter-05/corporate-blog/index.html | 23 + .../chapter-05/first-box-factory/README.md | 19 + .../chapter-05/first-box-factory/Vagrantfile | 3 + .../flowers-vagrant-jekyll-shell/README.md | 33 + .../flowers-vagrant-jekyll-shell/Vagrantfile | 16 + .../flowers-vagrant-jekyll-shell/_config.yml | 14 + .../_includes/footer.html | 55 + .../_includes/head.html | 12 + .../_includes/header.html | 27 + .../_layouts/default.html | 20 + .../_layouts/page.html | 14 + .../_layouts/post.html | 15 + .../2015-03-11-welcome-to-jekyll.markdown | 25 + .../_sass/_base.scss | 204 + .../_sass/_layout.scss | 236 + .../_sass/_syntax-highlighting.scss | 67 + .../flowers-vagrant-jekyll-shell/about.md | 11 + .../css/main.scss | 52 + .../flowers-vagrant-jekyll-shell/feed.xml | 30 + .../flowers-vagrant-jekyll-shell/index.html | 23 + .../vagrant-jekyll-ansible/README.md | 13 + .../vagrant-jekyll-ansible/Vagrantfile | 6 + .../vagrant-jekyll-ansible/playbook.yml | 19 + .../chapter-06/vagrant-jekyll-chef/README.md | 13 + .../vagrant-jekyll-chef/Vagrantfile | 8 + .../cookbooks/jekyll/recipes/default.rb | 6 + .../vagrant-jekyll-puppet/README.md | 13 + .../vagrant-jekyll-puppet/Vagrantfile | 6 + .../manifests/default.pp | 20 + .../chapter-06/vagrant-jekyll-shell/README.md | 33 + .../vagrant-jekyll-shell/Vagrantfile | 16 + .../vagrant-jekyll-shell/_config.yml | 14 + .../_includes/footer.html | 55 + .../vagrant-jekyll-shell/_includes/head.html | 12 + .../_includes/header.html | 27 + .../_layouts/default.html | 20 + .../vagrant-jekyll-shell/_layouts/page.html | 14 + .../vagrant-jekyll-shell/_layouts/post.html | 15 + .../2015-03-11-welcome-to-jekyll.markdown | 25 + .../vagrant-jekyll-shell/_sass/_base.scss | 204 + .../vagrant-jekyll-shell/_sass/_layout.scss | 236 + .../_sass/_syntax-highlighting.scss | 67 + .../chapter-06/vagrant-jekyll-shell/about.md | 11 + .../vagrant-jekyll-shell/css/main.scss | 52 + .../chapter-06/vagrant-jekyll-shell/feed.xml | 30 + .../vagrant-jekyll-shell/index.html | 23 + .../chapter-07/boxcutter/ubuntu/AUTHORS | 17 + .../chapter-07/boxcutter/ubuntu/CHANGELOG.md | 79 + .../chapter-07/boxcutter/ubuntu/LICENSE | 201 + .../chapter-07/boxcutter/ubuntu/Makefile | 285 + .../chapter-07/boxcutter/ubuntu/README.md | 164 + .../chapter-07/boxcutter/ubuntu/VERSION | 1 + .../ubuntu/bin/Makefile.local.caroline | 41 + .../boxcutter/ubuntu/bin/Makefile.local.winry | 14 + .../chapter-07/boxcutter/ubuntu/bin/bump.sh | 94 + .../boxcutter/ubuntu/bin/register_atlas.sh | 157 + .../ubuntu/bin/register_atlas_box_cutter.sh | 157 + .../boxcutter/ubuntu/bin/ssh-box.sh | 24 + .../boxcutter/ubuntu/bin/test-box.sh | 38 + .../ubuntu/bin/test-vagrantcloud-box.sh | 39 + .../boxcutter/ubuntu/http/preseed-1504.cfg | 53 + .../boxcutter/ubuntu/http/preseed-desktop.cfg | 50 + .../boxcutter/ubuntu/http/preseed.cfg | 51 + .../boxcutter/ubuntu/script/cleanup.sh | 69 + .../boxcutter/ubuntu/script/cmtool.sh | 111 + .../boxcutter/ubuntu/script/desktop.sh | 46 + .../boxcutter/ubuntu/script/docker.sh | 82 + .../boxcutter/ubuntu/script/minimize.sh | 55 + .../boxcutter/ubuntu/script/sshd.sh | 3 + .../boxcutter/ubuntu/script/update.sh | 12 + .../boxcutter/ubuntu/script/vagrant.sh | 33 + .../boxcutter/ubuntu/script/vmtool.sh | 49 + .../boxcutter/ubuntu/test/spec_helper.rb | 7 + .../boxcutter/ubuntu/test/ubuntu_spec.rb | 12 + .../tpl/vagrantfile-ubuntu1204-desktop.tpl | 34 + .../tpl/vagrantfile-ubuntu1404-desktop.tpl | 34 + .../tpl/vagrantfile-ubuntu1410-desktop.tpl | 34 + .../tpl/vagrantfile-ubuntu1504-desktop.tpl | 34 + .../boxcutter/ubuntu/ubuntu1004-i386.json | 230 + .../boxcutter/ubuntu/ubuntu1004.json | 230 + .../boxcutter/ubuntu/ubuntu1204-desktop.json | 211 + .../boxcutter/ubuntu/ubuntu1204-docker.json | 210 + .../boxcutter/ubuntu/ubuntu1204-i386.json | 210 + .../boxcutter/ubuntu/ubuntu1204.json | 210 + .../boxcutter/ubuntu/ubuntu1404-desktop.json | 211 + .../boxcutter/ubuntu/ubuntu1404-docker.json | 210 + .../boxcutter/ubuntu/ubuntu1404-i386.json | 210 + .../boxcutter/ubuntu/ubuntu1404.json | 219 + .../boxcutter/ubuntu/ubuntu1410-docker.json | 209 + .../boxcutter/ubuntu/ubuntu1410-i386.json | 209 + .../boxcutter/ubuntu/ubuntu1410.json | 220 + .../boxcutter/ubuntu/ubuntu1504-desktop.json | 209 + .../boxcutter/ubuntu/ubuntu1504-docker.json | 218 + .../boxcutter/ubuntu/ubuntu1504-i386.json | 208 + .../boxcutter/ubuntu/ubuntu1504.json | 218 + .../chapter-07/chef/bento/.travis.yml | 7 + .../chapter-07/chef/bento/Gemfile | 11 + .../chapter-07/chef/bento/LICENSE | 201 + .../chapter-07/chef/bento/NOTICE.md | 13 + .../chapter-07/chef/bento/OLD-BOXES.md | 120 + .../chapter-07/chef/bento/README.md | 203 + .../chapter-07/chef/bento/Thorfile | 63 + .../bento/definitions/.common/minimize.sh | 4 + .../chef/bento/definitions/.common/session.rb | 26 + .../chef/bento/definitions/.common/sshd.sh | 3 + .../chef/bento/definitions/.common/vagrant.sh | 33 + .../definitions/.windows/install-chef.bat | 47 + .../definitions/.windows/install-vbox.bat | 4 + .../definitions/.windows/mount-validation.bat | 3 + .../definitions/.windows/oracle-cert.cer | Bin 0 -> 1398 bytes .../bento/definitions/.windows/session.rb | 21 + .../windows-2008r2-standard/Autounattend.xml | 230 + .../windows-2008r2-standard/README.md | 87 + .../windows-2008r2-standard/definition.rb | 18 + .../windows-2008r2-standard/install-chef.bat | 1 + .../windows-2008r2-standard/install-vbox.bat | 1 + .../mount-validation.bat | 1 + .../windows-2008r2-standard/oracle-cert.cer | 1 + .../windows-2012-standard/Autounattend.xml | 163 + .../windows-2012-standard/README.md | 58 + .../windows-2012-standard/definition.rb | 21 + .../windows-2012-standard/install-chef.bat | 1 + .../windows-2012-standard/install-vbox.bat | 1 + .../mount-validation.bat | 1 + .../windows-2012-standard/oracle-cert.cer | 1 + .../windows-2012r2-standard/Autounattend.xml | 164 + .../windows-2012r2-standard/README.md | 58 + .../windows-2012r2-standard/definition.rb | 20 + .../windows-2012r2-standard/install-chef.bat | 47 + .../windows-2012r2-standard/install-vbox.bat | 4 + .../mount-validation.bat | 3 + .../windows-2012r2-standard/oracle-cert.cer | Bin 0 -> 1398 bytes .../windows-7-enterprise/Autounattend.xml | 233 + .../windows-7-enterprise/README.md | 52 + .../windows-7-enterprise/definition.rb | 15 + .../windows-7-enterprise/install-chef.bat | 1 + .../windows-7-enterprise/install-vbox.bat | 1 + .../windows-7-enterprise/mount-validation.bat | 1 + .../windows-7-enterprise/oracle-cert.cer | 1 + .../windows-8-enterprise/Autounattend.xml | 235 + .../windows-8-enterprise/README.md | 87 + .../windows-8-enterprise/definition.rb | 17 + .../windows-8-enterprise/install-chef.bat | 1 + .../windows-8-enterprise/install-vbox.bat | 1 + .../windows-8-enterprise/mount-validation.bat | 1 + .../windows-8-enterprise/oracle-cert.cer | 1 + .../chef/bento/packer/centos-5.11-i386.json | 131 + .../chef/bento/packer/centos-5.11-x86_64.json | 132 + .../chef/bento/packer/centos-6.6-i386.json | 131 + .../chef/bento/packer/centos-6.6-x86_64.json | 132 + .../chef/bento/packer/centos-7.0-x86_64.json | 131 + .../bento/packer/debian-6.0.10-amd64.json | 153 + .../chef/bento/packer/debian-6.0.10-i386.json | 153 + .../chef/bento/packer/debian-7.8-amd64.json | 152 + .../chef/bento/packer/debian-7.8-i386.json | 153 + .../chef/bento/packer/fedora-20-i386.json | 132 + .../chef/bento/packer/fedora-20-x86_64.json | 131 + .../chef/bento/packer/fedora-21-i386.json | 132 + .../chef/bento/packer/fedora-21-x86_64.json | 131 + .../bento/packer/floppy/omnios/README.TXT | 1 + .../packer/floppy/solaris10/S99startup.sh | 55 + .../packer/floppy/solaris10/awesome_prof | 23 + .../bento/packer/floppy/solaris10/finish.sh | 32 + .../bento/packer/floppy/solaris10/rules.ok | 2 + .../bento/packer/floppy/solaris10/sysidcfg | 10 + .../chef/bento/packer/freebsd-10.1-amd64.json | 139 + .../chef/bento/packer/freebsd-10.1-i386.json | 139 + .../chef/bento/packer/freebsd-9.3-amd64.json | 164 + .../chef/bento/packer/freebsd-9.3-i386.json | 160 + .../chef/bento/packer/http/centos-5.11/ks.cfg | 76 + .../chef/bento/packer/http/centos-6.6/ks.cfg | 71 + .../chef/bento/packer/http/centos-7.0/ks.cfg | 82 + .../bento/packer/http/debian-6.0/preseed.cfg | 48 + .../bento/packer/http/debian-7/preseed.cfg | 48 + .../chef/bento/packer/http/fedora-20/ks.cfg | 48 + .../chef/bento/packer/http/fedora-21/ks.cfg | 48 + .../bento/packer/http/freebsd-10.1/install.sh | 103 + .../bento/packer/http/freebsd-9.3/install.sh | 103 + .../packer/http/opensuse-13.2/autoinst.xml | 219 + .../sles-11/sles-11-sp2-i386-autoinst.xml | 2562 ++ .../sles-11/sles-11-sp2-x86_64-autoinst.xml | 2562 ++ .../sles-11/sles-11-sp3-i386-autoinst.xml | 2562 ++ .../sles-11/sles-11-sp3-x86_64-autoinst.xml | 2562 ++ .../http/sles-12/sles-12-x86_64-autoinst.xml | 984 + .../bento/packer/http/solaris-11/default.xml | 66 + .../bento/packer/http/solaris-11/profile.xml | 87 + .../packer/http/ubuntu-10.04/preseed.cfg | 31 + .../packer/http/ubuntu-12.04/preseed.cfg | 31 + .../packer/http/ubuntu-14.04/preseed.cfg | 31 + .../packer/http/ubuntu-14.10/preseed.cfg | 31 + .../chef/bento/packer/macosx-10.7.json | 130 + .../chef/bento/packer/macosx-10.8.json | 130 + .../chef/bento/packer/macosx-10.9.json | 130 + .../chef/bento/packer/omnios-r151010j.json | 200 + .../chef/bento/packer/opensuse-13.2-i386.json | 144 + .../bento/packer/opensuse-13.2-x86_64.json | 145 + .../chef/bento/packer/oracle-5.11-i386.json | 131 + .../chef/bento/packer/oracle-5.11-x86_64.json | 131 + .../chef/bento/packer/oracle-6.6-i386.json | 131 + .../chef/bento/packer/oracle-6.6-x86_64.json | 130 + .../chef/bento/packer/rhel-5.11-i386.json | 131 + .../chef/bento/packer/rhel-5.11-x86_64.json | 131 + .../chef/bento/packer/rhel-6.6-i386.json | 132 + .../chef/bento/packer/rhel-6.6-x86_64.json | 131 + .../chef/bento/packer/rhel-7.0-x86_64.json | 132 + .../bento/packer/scripts/centos/cleanup.sh | 13 + .../packer/scripts/centos/fix-slow-dns.sh | 11 + .../chef/bento/packer/scripts/common/chef.sh | 199 + .../bento/packer/scripts/common/minimize.sh | 15 + .../bento/packer/scripts/common/shutdown.sh | 1 + .../chef/bento/packer/scripts/common/sshd.sh | 4 + .../bento/packer/scripts/common/sudoers.sh | 4 + .../bento/packer/scripts/common/vagrant.sh | 8 + .../bento/packer/scripts/common/vmtools.sh | 41 + .../bento/packer/scripts/debian/cleanup.sh | 6 + .../bento/packer/scripts/debian/networking.sh | 7 + .../bento/packer/scripts/debian/preseed.cfg | 47 + .../bento/packer/scripts/debian/sudoers.sh | 9 + .../bento/packer/scripts/debian/update.sh | 4 + .../bento/packer/scripts/fedora/cleanup.sh | 5 + .../packer/scripts/fedora/fix-slow-dns.sh | 21 + .../chef/bento/packer/scripts/fedora/ks.cfg | 51 + .../bento/packer/scripts/fedora/shutdown.sh | 1 + .../bento/packer/scripts/fedora/sudoers.sh | 4 + .../bento/packer/scripts/freebsd/cleanup.sh | 11 + .../bento/packer/scripts/freebsd/minimize.sh | 7 + .../packer/scripts/freebsd/postinstall.sh | 59 + .../bento/packer/scripts/freebsd/vmtools.sh | 52 + .../bento/packer/scripts/macosx/builder.sh | 9 + .../bento/packer/scripts/macosx/cleanup.sh | 4 + .../bento/packer/scripts/macosx/hostname.sh | 10 + .../packer/scripts/macosx/support/kcpassword | 1 + .../bento/packer/scripts/macosx/update.sh | 3 + .../bento/packer/scripts/macosx/vagrant.sh | 38 + .../packer/scripts/omnios/postinstall.sh | 54 + .../bento/packer/scripts/omnios/vmtools.sh | 30 + .../bento/packer/scripts/opensuse/cleanup.sh | 3 + .../scripts/opensuse/remove-dvd-source.sh | 8 + .../bento/packer/scripts/opensuse/sudoers.sh | 5 + .../packer/scripts/opensuse/zypper-locks.sh | 4 + .../chef/bento/packer/scripts/sles/cleanup.sh | 6 + .../packer/scripts/sles/remove-dvd-source.sh | 29 + .../chef/bento/packer/scripts/sles/sudoers.sh | 3 + .../scripts/sles/unsupported-modules.sh | 4 + .../bento/packer/scripts/sles/zypper-locks.sh | 4 + .../bento/packer/scripts/solaris/minimize.sh | 7 + .../bento/packer/scripts/solaris/update.sh | 4 + .../bento/packer/scripts/solaris/vmtools.sh | 26 + .../packer/scripts/solaris10/minimize.sh | 7 + .../packer/scripts/solaris10/post_install.sh | 4 + .../bento/packer/scripts/solaris10/vmtools.sh | 40 + .../bento/packer/scripts/ubuntu/cleanup.sh | 34 + .../bento/packer/scripts/ubuntu/networking.sh | 7 + .../bento/packer/scripts/ubuntu/preseed.cfg | 31 + .../bento/packer/scripts/ubuntu/sudoers.sh | 17 + .../bento/packer/scripts/ubuntu/update.sh | 30 + .../packer/scripts/windows/install-chef.bat | 47 + .../packer/scripts/windows/install-vbox.bat | 4 + .../scripts/windows/mount-validation.bat | 3 + .../packer/scripts/windows/oracle-cert.cer | Bin 0 -> 1398 bytes .../chef/bento/packer/sles-11-sp2-i386.json | 145 + .../chef/bento/packer/sles-11-sp2-x86_64.json | 144 + .../chef/bento/packer/sles-11-sp3-i386.json | 145 + .../chef/bento/packer/sles-11-sp3-x86_64.json | 144 + .../chef/bento/packer/sles-12-x86_64.json | 146 + .../chef/bento/packer/solaris-10.11-x86.json | 118 + .../chef/bento/packer/solaris-10.5-x86.json | 118 + .../chef/bento/packer/solaris-11-x86.json | 142 + .../chef/bento/packer/ubuntu-10.04-amd64.json | 197 + .../chef/bento/packer/ubuntu-10.04-i386.json | 197 + .../chef/bento/packer/ubuntu-12.04-amd64.json | 197 + .../chef/bento/packer/ubuntu-12.04-i386.json | 197 + .../chef/bento/packer/ubuntu-14.04-amd64.json | 196 + .../chef/bento/packer/ubuntu-14.04-i386.json | 196 + .../chef/bento/packer/ubuntu-14.10-amd64.json | 196 + .../chef/bento/packer/ubuntu-14.10-i386.json | 196 + .../packer/vagrantfile_templates/macosx.rb | 5 + .../parallels/freebsd.rb | 17 + .../vagrantfile_templates/parallels/omnios.rb | 15 + .../using-bento-ubuntu-box/Vagrantfile | 3 + .../using-boxcutter-ubuntu-box/Vagrantfile | 3 + .../chapter-08/08-01-v.name/Vagrantfile | 6 + .../chapter-08/08-02-v.gui/Vagrantfile | 6 + .../08-03-v.memory-machine-1/Vagrantfile | 7 + .../08-03-v.memory-machine-2/Vagrantfile | 7 + .../08-03-v.memory-machine-3/Vagrantfile | 7 + .../chapter-08/08-03-v.memory/Vagrantfile | 6 + .../chapter-08/08-04-v.cpus/Vagrantfile | 6 + .../08-05-v.customize-modifyvm/Vagrantfile | 6 + .../chapter-08/08-06-vm.hostname/Vagrantfile | 4 + .../08-07-vm.post_up_message/Vagrantfile | 4 + .../08-08-vm.boot_timeout/Vagrantfile | 5 + .../08-09-ssh.insert_key/Vagrantfile | 4 + .../08-10-ssh.forward_x11/Vagrantfile | 5 + .../08-11-box-ubuntu-trusty32/Vagrantfile | 3 + .../08-12-box-http-apache/Vagrantfile | 3 + .../chapter-08/08-13-box-apache/Vagrantfile | 3 + .../chapter-08/08-14-box-box_url/Vagrantfile | 4 + .../08-15-vm.box-checksum/Vagrantfile | 5 + .../08-16-forward-many-ports/Vagrantfile | 11 + .../08-16-forwarded-port/Vagrantfile | 4 + .../1/Vagrantfile | 4 + .../2/Vagrantfile | 4 + .../private-net-1/Vagrantfile | 4 + .../private-net-2/Vagrantfile | 4 + .../private-net-3/Vagrantfile | 4 + .../chapter-08/08-19-dhcp/Vagrantfile | 4 + .../08-20-public-network/Vagrantfile | 4 + .../chapter-08/08-21-sync-folder/Vagrantfile | 5 + .../08-22-sync-multiple-folders/Vagrantfile | 6 + .../chapter-08/08-27-sync-default/Vagrantfile | 3 + .../chapter-08/08-28-sync-nfs/Vagrantfile | 6 + .../chapter-08/08-29-sync-rsync/Vagrantfile | 5 + .../chapter-08/08-30-sync-smb/Vagrantfile | 4 + .../chapter-08/08-31-platform/Vagrantfile | 15 + .../songs-app-rails-antipattern/Gemfile | 45 + .../songs-app-rails-antipattern/Gemfile.lock | 163 + .../songs-app-rails-antipattern/README.md | 23 + .../songs-app-rails-antipattern/Rakefile | 6 + .../songs-app-rails-antipattern/Vagrantfile | 26 + .../app/assets/images/.keep | 0 .../app/assets/javascripts/application.js | 16 + .../app/assets/javascripts/lyrics.coffee | 3 + .../app/assets/stylesheets/application.css | 15 + .../app/assets/stylesheets/lyrics.scss | 3 + .../app/controllers/application_controller.rb | 5 + .../app/controllers/concerns/.keep | 0 .../app/controllers/lyrics_controller.rb | 12 + .../app/helpers/application_helper.rb | 2 + .../app/helpers/lyrics_helper.rb | 2 + .../app/mailers/.keep | 0 .../app/models/.keep | 0 .../app/models/concerns/.keep | 0 .../app/views/layouts/application.html.erb | 23 + .../app/views/lyrics/baa.html.erb | 11 + .../app/views/lyrics/hush.html.erb | 29 + .../app/views/lyrics/sixpence.html.erb | 20 + .../songs-app-rails-antipattern/bin/bundle | 3 + .../songs-app-rails-antipattern/bin/rails | 8 + .../songs-app-rails-antipattern/bin/rake | 8 + .../songs-app-rails-antipattern/bin/setup | 29 + .../songs-app-rails-antipattern/bin/spring | 15 + .../songs-app-rails-antipattern/config.ru | 4 + .../config/application.rb | 26 + .../config/boot.rb | 3 + .../config/database.yml | 25 + .../config/environment.rb | 5 + .../config/environments/development.rb | 41 + .../config/environments/production.rb | 79 + .../config/environments/test.rb | 42 + .../config/initializers/assets.rb | 11 + .../initializers/backtrace_silencers.rb | 7 + .../config/initializers/cookies_serializer.rb | 3 + .../initializers/filter_parameter_logging.rb | 4 + .../config/initializers/inflections.rb | 16 + .../config/initializers/mime_types.rb | 4 + .../config/initializers/session_store.rb | 3 + .../config/initializers/wrap_parameters.rb | 14 + .../config/locales/en.yml | 23 + .../config/routes.rb | 7 + .../config/secrets.yml | 22 + .../songs-app-rails-antipattern/db/seeds.rb | 7 + .../install-puppet-modules.sh | 13 + .../lib/assets/.keep | 0 .../lib/tasks/.keep | 0 .../songs-app-rails-antipattern/log/.keep | 0 .../public/404.html | 67 + .../public/422.html | 67 + .../public/500.html | 66 + .../public/favicon.ico | 0 .../public/robots.txt | 5 + .../puppet/manifests/default.pp | 17 + .../test/controllers/.keep | 0 .../controllers/lyrics_controller_test.rb | 7 + .../test/fixtures/.keep | 0 .../test/helpers/.keep | 0 .../test/integration/.keep | 0 .../test/mailers/.keep | 0 .../test/models/.keep | 0 .../test/test_helper.rb | 10 + .../vendor/assets/javascripts/.keep | 0 .../vendor/assets/stylesheets/.keep | 0 .../LICENSE | 19 + .../README.md | 28 + .../Vagrantfile | 23 + .../VagrantfileToInclude | 6 + .../box-author.txt | 1 + .../box-name.txt | 1 + .../box-version.txt | 1 + .../build.sh | 13 + .../guestvm | 14 + .../puppet/manifests/default.pp | 15 + .../puppet/modules/apache/.fixtures.yml | 7 + .../puppet/modules/apache/.geppetto-rc.json | 9 + .../puppet/modules/apache/.nodeset.yml | 31 + .../puppet/modules/apache/.puppet-lint.rc | 5 + .../puppet/modules/apache/.sync.yml | 12 + .../puppet/modules/apache/.travis.yml | 21 + .../puppet/modules/apache/CHANGELOG.md | 492 + .../puppet/modules/apache/CONTRIBUTING.md | 220 + .../puppet/modules/apache/Gemfile | 31 + .../puppet/modules/apache/LICENSE | 15 + .../puppet/modules/apache/README.md | 2577 ++ .../puppet/modules/apache/README.passenger.md | 287 + .../puppet/modules/apache/Rakefile | 11 + .../puppet/modules/apache/files/httpd | 24 + .../lib/puppet/parser/functions/bool2httpd.rb | 30 + .../apache/lib/puppet/provider/a2mod.rb | 34 + .../apache/lib/puppet/provider/a2mod/a2mod.rb | 35 + .../lib/puppet/provider/a2mod/gentoo.rb | 116 + .../lib/puppet/provider/a2mod/modfix.rb | 12 + .../lib/puppet/provider/a2mod/redhat.rb | 60 + .../modules/apache/lib/puppet/type/a2mod.rb | 30 + .../modules/apache/manifests/balancer.pp | 82 + .../apache/manifests/balancermember.pp | 53 + .../modules/apache/manifests/confd/no_accf.pp | 10 + .../modules/apache/manifests/custom_config.pp | 67 + .../apache/manifests/default_confd_files.pp | 15 + .../modules/apache/manifests/default_mods.pp | 174 + .../apache/manifests/default_mods/load.pp | 8 + .../puppet/modules/apache/manifests/dev.pp | 11 + .../apache/manifests/fastcgi/server.pp | 24 + .../puppet/modules/apache/manifests/init.pp | 380 + .../puppet/modules/apache/manifests/listen.pp | 10 + .../puppet/modules/apache/manifests/mod.pp | 130 + .../modules/apache/manifests/mod/actions.pp | 3 + .../modules/apache/manifests/mod/alias.pp | 26 + .../apache/manifests/mod/auth_basic.pp | 3 + .../modules/apache/manifests/mod/auth_cas.pp | 48 + .../modules/apache/manifests/mod/auth_kerb.pp | 5 + .../apache/manifests/mod/authn_file.pp | 3 + .../apache/manifests/mod/authnz_ldap.pp | 19 + .../apache/manifests/mod/authz_default.pp | 3 + .../apache/manifests/mod/authz_user.pp | 3 + .../modules/apache/manifests/mod/autoindex.pp | 12 + .../modules/apache/manifests/mod/cache.pp | 3 + .../modules/apache/manifests/mod/cgi.pp | 10 + .../modules/apache/manifests/mod/cgid.pp | 28 + .../modules/apache/manifests/mod/dav.pp | 3 + .../modules/apache/manifests/mod/dav_fs.pp | 20 + .../modules/apache/manifests/mod/dav_svn.pp | 20 + .../modules/apache/manifests/mod/deflate.pp | 24 + .../modules/apache/manifests/mod/dev.pp | 5 + .../modules/apache/manifests/mod/dir.pp | 21 + .../apache/manifests/mod/disk_cache.pp | 31 + .../modules/apache/manifests/mod/event.pp | 71 + .../modules/apache/manifests/mod/expires.pp | 3 + .../modules/apache/manifests/mod/fastcgi.pp | 24 + .../modules/apache/manifests/mod/fcgid.pp | 24 + .../modules/apache/manifests/mod/filter.pp | 3 + .../modules/apache/manifests/mod/headers.pp | 3 + .../modules/apache/manifests/mod/include.pp | 3 + .../modules/apache/manifests/mod/info.pp | 18 + .../modules/apache/manifests/mod/itk.pp | 60 + .../modules/apache/manifests/mod/ldap.pp | 14 + .../modules/apache/manifests/mod/mime.pp | 21 + .../apache/manifests/mod/mime_magic.pp | 14 + .../apache/manifests/mod/negotiation.pp | 25 + .../modules/apache/manifests/mod/nss.pp | 25 + .../modules/apache/manifests/mod/pagespeed.pp | 55 + .../modules/apache/manifests/mod/passenger.pp | 77 + .../modules/apache/manifests/mod/perl.pp | 3 + .../modules/apache/manifests/mod/peruser.pp | 76 + .../modules/apache/manifests/mod/php.pp | 62 + .../modules/apache/manifests/mod/prefork.pp | 77 + .../modules/apache/manifests/mod/proxy.pp | 16 + .../modules/apache/manifests/mod/proxy_ajp.pp | 4 + .../apache/manifests/mod/proxy_balancer.pp | 10 + .../apache/manifests/mod/proxy_connect.pp | 8 + .../apache/manifests/mod/proxy_html.pp | 37 + .../apache/manifests/mod/proxy_http.pp | 4 + .../modules/apache/manifests/mod/python.pp | 5 + .../apache/manifests/mod/reqtimeout.pp | 14 + .../modules/apache/manifests/mod/rewrite.pp | 4 + .../modules/apache/manifests/mod/rpaf.pp | 20 + .../modules/apache/manifests/mod/security.pp | 75 + .../modules/apache/manifests/mod/setenvif.pp | 12 + .../modules/apache/manifests/mod/shib.pp | 15 + .../modules/apache/manifests/mod/speling.pp | 3 + .../modules/apache/manifests/mod/ssl.pp | 66 + .../modules/apache/manifests/mod/status.pp | 46 + .../modules/apache/manifests/mod/suexec.pp | 3 + .../modules/apache/manifests/mod/suphp.pp | 14 + .../modules/apache/manifests/mod/userdir.pp | 18 + .../modules/apache/manifests/mod/version.pp | 10 + .../apache/manifests/mod/vhost_alias.pp | 3 + .../modules/apache/manifests/mod/worker.pp | 79 + .../modules/apache/manifests/mod/wsgi.pp | 41 + .../modules/apache/manifests/mod/xsendfile.pp | 4 + .../puppet/modules/apache/manifests/mpm.pp | 75 + .../apache/manifests/namevirtualhost.pp | 10 + .../modules/apache/manifests/package.pp | 59 + .../puppet/modules/apache/manifests/params.pp | 422 + .../apache/manifests/peruser/multiplexer.pp | 17 + .../apache/manifests/peruser/processor.pp | 17 + .../puppet/modules/apache/manifests/php.pp | 18 + .../puppet/modules/apache/manifests/proxy.pp | 15 + .../puppet/modules/apache/manifests/python.pp | 18 + .../apache/manifests/security/rule_link.pp | 13 + .../modules/apache/manifests/service.pp | 47 + .../puppet/modules/apache/manifests/ssl.pp | 18 + .../modules/apache/manifests/version.pp | 40 + .../puppet/modules/apache/manifests/vhost.pp | 889 + .../puppet/modules/apache/metadata.json | 73 + .../spec/acceptance/apache_parameters_spec.rb | 475 + .../apache/spec/acceptance/apache_ssl_spec.rb | 100 + .../apache/spec/acceptance/basic_spec.rb | 12 + .../apache/spec/acceptance/class_spec.rb | 88 + .../spec/acceptance/custom_config_spec.rb | 55 + .../spec/acceptance/default_mods_spec.rb | 123 + .../apache/spec/acceptance/itk_spec.rb | 33 + .../spec/acceptance/mod_dav_svn_spec.rb | 62 + .../spec/acceptance/mod_deflate_spec.rb | 43 + .../apache/spec/acceptance/mod_fcgid_spec.rb | 57 + .../apache/spec/acceptance/mod_mime_spec.rb | 37 + .../spec/acceptance/mod_negotiation_spec.rb | 84 + .../spec/acceptance/mod_pagespeed_spec.rb | 89 + .../spec/acceptance/mod_passenger_spec.rb | 308 + .../apache/spec/acceptance/mod_php_spec.rb | 143 + .../spec/acceptance/mod_proxy_html_spec.rb | 41 + .../spec/acceptance/mod_security_spec.rb | 228 + .../apache/spec/acceptance/mod_suphp_spec.rb | 55 + .../acceptance/nodesets/centos-59-x64.yml | 10 + .../acceptance/nodesets/centos-64-x64-pe.yml | 12 + .../acceptance/nodesets/centos-64-x64.yml | 11 + .../acceptance/nodesets/centos-65-x64.yml | 10 + .../acceptance/nodesets/centos-70-x64.yml | 11 + .../acceptance/nodesets/debian-607-x64.yml | 11 + .../acceptance/nodesets/debian-70rc1-x64.yml | 11 + .../acceptance/nodesets/debian-73-i386.yml | 11 + .../acceptance/nodesets/debian-73-x64.yml | 11 + .../spec/acceptance/nodesets/default.yml | 11 + .../acceptance/nodesets/fedora-18-x64.yml | 11 + .../nodesets/ubuntu-server-10044-x64.yml | 10 + .../nodesets/ubuntu-server-12042-x64.yml | 10 + .../nodesets/ubuntu-server-1310-x64.yml | 11 + .../nodesets/ubuntu-server-1404-x64.yml | 11 + .../spec/acceptance/prefork_worker_spec.rb | 81 + .../apache/spec/acceptance/service_spec.rb | 19 + .../spec/acceptance/unsupported_spec.rb | 13 + .../modules/apache/spec/acceptance/version.rb | 75 + .../apache/spec/acceptance/vhost_spec.rb | 1274 + .../apache/spec/classes/apache_spec.rb | 801 + .../modules/apache/spec/classes/dev_spec.rb | 73 + .../apache/spec/classes/mod/alias_spec.rb | 96 + .../apache/spec/classes/mod/auth_cas_spec.rb | 54 + .../apache/spec/classes/mod/auth_kerb_spec.rb | 76 + .../spec/classes/mod/authnz_ldap_spec.rb | 78 + .../apache/spec/classes/mod/dav_svn_spec.rb | 79 + .../apache/spec/classes/mod/deflate_spec.rb | 126 + .../apache/spec/classes/mod/dev_spec.rb | 27 + .../apache/spec/classes/mod/dir_spec.rb | 138 + .../apache/spec/classes/mod/event_spec.rb | 154 + .../apache/spec/classes/mod/fastcgi_spec.rb | 45 + .../apache/spec/classes/mod/fcgid_spec.rb | 136 + .../apache/spec/classes/mod/info_spec.rb | 222 + .../apache/spec/classes/mod/itk_spec.rb | 73 + .../spec/classes/mod/mime_magic_spec.rb | 112 + .../apache/spec/classes/mod/mime_spec.rb | 54 + .../spec/classes/mod/negotiation_spec.rb | 65 + .../apache/spec/classes/mod/pagespeed_spec.rb | 45 + .../apache/spec/classes/mod/passenger_spec.rb | 288 + .../apache/spec/classes/mod/perl_spec.rb | 76 + .../apache/spec/classes/mod/peruser_spec.rb | 43 + .../apache/spec/classes/mod/php_spec.rb | 289 + .../apache/spec/classes/mod/prefork_spec.rb | 134 + .../spec/classes/mod/proxy_connect_spec.rb | 51 + .../spec/classes/mod/proxy_html_spec.rb | 105 + .../apache/spec/classes/mod/python_spec.rb | 76 + .../spec/classes/mod/reqtimeout_spec.rb | 150 + .../apache/spec/classes/mod/rpaf_spec.rb | 130 + .../apache/spec/classes/mod/security_spec.rb | 95 + .../apache/spec/classes/mod/shib_spec.rb | 42 + .../apache/spec/classes/mod/speling_spec.rb | 39 + .../apache/spec/classes/mod/ssl_spec.rb | 140 + .../apache/spec/classes/mod/status_spec.rb | 206 + .../apache/spec/classes/mod/suphp_spec.rb | 40 + .../apache/spec/classes/mod/worker_spec.rb | 186 + .../apache/spec/classes/mod/wsgi_spec.rb | 147 + .../apache/spec/classes/params_spec.rb | 27 + .../apache/spec/classes/service_spec.rb | 163 + .../spec/defines/balancermember_spec.rb | 37 + .../apache/spec/defines/custom_config_spec.rb | 138 + .../spec/defines/fastcgi_server_spec.rb | 133 + .../modules/apache/spec/defines/mod_spec.rb | 152 + .../apache/spec/defines/modsec_link_spec.rb | 53 + .../modules/apache/spec/defines/vhost_spec.rb | 882 + .../spec/fixtures/files/negotiation.conf | 4 + .../modules/apache/spec/fixtures/files/spec | 1 + .../site_apache/templates/fake.conf.erb | 1 + .../fixtures/templates/negotiation.conf.erb | 4 + .../puppet/modules/apache/spec/spec.opts | 6 + .../puppet/modules/apache/spec/spec_helper.rb | 25 + .../apache/spec/spec_helper_acceptance.rb | 47 + .../spec/unit/provider/a2mod/gentoo_spec.rb | 184 + .../parser/functions/bool2httpd_spec.rb | 54 + .../apache/templates/confd/no-accf.conf.erb | 4 + .../apache/templates/fastcgi/server.erb | 3 + .../modules/apache/templates/httpd.conf.erb | 122 + .../modules/apache/templates/listen.erb | 6 + .../apache/templates/mod/alias.conf.erb | 13 + .../apache/templates/mod/auth_cas.conf.erb | 40 + .../apache/templates/mod/authnz_ldap.conf.erb | 5 + .../apache/templates/mod/autoindex.conf.erb | 56 + .../apache/templates/mod/cgid.conf.erb | 1 + .../apache/templates/mod/dav_fs.conf.erb | 1 + .../apache/templates/mod/deflate.conf.erb | 7 + .../modules/apache/templates/mod/dir.conf.erb | 1 + .../apache/templates/mod/disk_cache.conf.erb | 8 + .../apache/templates/mod/event.conf.erb | 13 + .../apache/templates/mod/fastcgi.conf.erb | 6 + .../apache/templates/mod/fcgid.conf.erb | 5 + .../apache/templates/mod/info.conf.erb | 19 + .../modules/apache/templates/mod/itk.conf.erb | 8 + .../apache/templates/mod/ldap.conf.erb | 11 + .../modules/apache/templates/mod/load.erb | 7 + .../apache/templates/mod/mime.conf.erb | 36 + .../apache/templates/mod/mime_magic.conf.erb | 1 + .../apache/templates/mod/mpm_event.conf.erb | 9 + .../apache/templates/mod/negotiation.conf.erb | 2 + .../modules/apache/templates/mod/nss.conf.erb | 228 + .../apache/templates/mod/pagespeed.conf.erb | 98 + .../apache/templates/mod/passenger.conf.erb | 43 + .../apache/templates/mod/peruser.conf.erb | 12 + .../apache/templates/mod/php5.conf.erb | 30 + .../apache/templates/mod/prefork.conf.erb | 8 + .../apache/templates/mod/proxy.conf.erb | 27 + .../apache/templates/mod/proxy_html.conf.erb | 18 + .../apache/templates/mod/reqtimeout.conf.erb | 3 + .../apache/templates/mod/rpaf.conf.erb | 15 + .../apache/templates/mod/security.conf.erb | 68 + .../templates/mod/security_crs.conf.erb | 428 + .../apache/templates/mod/setenvif.conf.erb | 34 + .../modules/apache/templates/mod/ssl.conf.erb | 28 + .../apache/templates/mod/status.conf.erb | 16 + .../apache/templates/mod/suphp.conf.erb | 19 + .../apache/templates/mod/userdir.conf.erb | 27 + .../apache/templates/mod/worker.conf.erb | 10 + .../apache/templates/mod/wsgi.conf.erb | 13 + .../apache/templates/namevirtualhost.erb | 8 + .../modules/apache/templates/ports_header.erb | 5 + .../apache/templates/vhost/_access_log.erb | 21 + .../apache/templates/vhost/_action.erb | 4 + .../templates/vhost/_additional_includes.erb | 10 + .../apache/templates/vhost/_aliases.erb | 16 + .../vhost/_allow_encoded_slashes.erb | 4 + .../modules/apache/templates/vhost/_block.erb | 14 + .../apache/templates/vhost/_charsets.erb | 4 + .../templates/vhost/_custom_fragment.erb | 5 + .../apache/templates/vhost/_directories.erb | 255 + .../apache/templates/vhost/_docroot.erb | 7 + .../templates/vhost/_error_document.erb | 7 + .../templates/vhost/_fallbackresource.erb | 4 + .../apache/templates/vhost/_fastcgi.erb | 22 + .../apache/templates/vhost/_file_footer.erb | 1 + .../apache/templates/vhost/_file_header.erb | 10 + .../apache/templates/vhost/_header.erb | 10 + .../modules/apache/templates/vhost/_itk.erb | 29 + .../apache/templates/vhost/_logging.erb | 10 + .../apache/templates/vhost/_passenger.erb | 18 + .../modules/apache/templates/vhost/_php.erb | 12 + .../apache/templates/vhost/_php_admin.erb | 12 + .../modules/apache/templates/vhost/_proxy.erb | 75 + .../modules/apache/templates/vhost/_rack.erb | 7 + .../apache/templates/vhost/_redirect.erb | 25 + .../apache/templates/vhost/_requestheader.erb | 10 + .../apache/templates/vhost/_rewrite.erb | 50 + .../apache/templates/vhost/_scriptalias.erb | 24 + .../apache/templates/vhost/_security.erb | 20 + .../apache/templates/vhost/_serveralias.erb | 7 + .../templates/vhost/_serversignature.erb | 1 + .../apache/templates/vhost/_setenv.erb | 12 + .../modules/apache/templates/vhost/_ssl.erb | 46 + .../apache/templates/vhost/_suexec.erb | 4 + .../modules/apache/templates/vhost/_suphp.erb | 11 + .../modules/apache/templates/vhost/_wsgi.erb | 27 + .../puppet/modules/apache/tests/apache.pp | 6 + .../puppet/modules/apache/tests/dev.pp | 1 + .../puppet/modules/apache/tests/init.pp | 1 + .../modules/apache/tests/mod_load_params.pp | 11 + .../puppet/modules/apache/tests/mods.pp | 9 + .../modules/apache/tests/mods_custom.pp | 16 + .../puppet/modules/apache/tests/php.pp | 4 + .../puppet/modules/apache/tests/vhost.pp | 253 + .../modules/apache/tests/vhost_directories.pp | 44 + .../modules/apache/tests/vhost_ip_based.pp | 25 + .../modules/apache/tests/vhost_proxypass.pp | 66 + .../puppet/modules/apache/tests/vhost_ssl.pp | 23 + .../apache/tests/vhosts_without_listen.pp | 53 + .../puppet/modules/concat/.fixtures.yml | 7 + .../puppet/modules/concat/.sync.yml | 9 + .../puppet/modules/concat/.travis.yml | 15 + .../puppet/modules/concat/CHANGELOG.md | 226 + .../puppet/modules/concat/CONTRIBUTING.md | 220 + .../puppet/modules/concat/Gemfile | 46 + .../puppet/modules/concat/LICENSE | 14 + .../puppet/modules/concat/README.md | 445 + .../puppet/modules/concat/Rakefile | 10 + .../modules/concat/files/concatfragments.rb | 153 + .../modules/concat/files/concatfragments.sh | 140 + .../concat/lib/facter/concat_basedir.rb | 11 + .../parser/functions/concat_getparam.rb | 35 + .../puppet/parser/functions/concat_is_bool.rb | 22 + .../modules/concat/manifests/fragment.pp | 124 + .../puppet/modules/concat/manifests/init.pp | 264 + .../puppet/modules/concat/manifests/setup.pp | 64 + .../puppet/modules/concat/metadata.json | 110 + .../concat/spec/acceptance/backup_spec.rb | 115 + .../concat/spec/acceptance/concat_spec.rb | 217 + .../acceptance/deprecation_warnings_spec.rb | 238 + .../concat/spec/acceptance/empty_spec.rb | 23 + .../spec/acceptance/fragment_source_spec.rb | 157 + .../fragments_are_always_replaced_spec.rb | 139 + .../concat/spec/acceptance/newline_spec.rb | 67 + .../acceptance/nodesets/aix-71-vcloud.yml | 19 + .../acceptance/nodesets/centos-59-x64.yml | 10 + .../acceptance/nodesets/centos-64-x64-pe.yml | 12 + .../acceptance/nodesets/centos-64-x64.yml | 10 + .../acceptance/nodesets/centos-65-x64.yml | 10 + .../acceptance/nodesets/debian-607-x64.yml | 10 + .../acceptance/nodesets/debian-70rc1-x64.yml | 10 + .../acceptance/nodesets/debian-73-x64.yml | 11 + .../spec/acceptance/nodesets/default.yml | 10 + .../acceptance/nodesets/fedora-18-x64.yml | 10 + .../spec/acceptance/nodesets/sles-11-x64.yml | 10 + .../acceptance/nodesets/sles-11sp1-x64.yml | 10 + .../nodesets/ubuntu-server-10044-x64.yml | 10 + .../nodesets/ubuntu-server-12042-x64.yml | 10 + .../nodesets/ubuntu-server-1404-x64.yml | 11 + .../concat/spec/acceptance/order_spec.rb | 123 + .../spec/acceptance/quoted_paths_spec.rb | 42 + .../concat/spec/acceptance/replace_spec.rb | 262 + .../concat/spec/acceptance/specinfra_stubs.rb | 19 + .../spec/acceptance/symbolic_name_spec.rb | 35 + .../concat/spec/acceptance/validation_spec.rb | 35 + .../concat/spec/acceptance/warn_spec.rb | 104 + .../puppet/modules/concat/spec/spec.opts | 6 + .../puppet/modules/concat/spec/spec_helper.rb | 1 + .../concat/spec/spec_helper_acceptance.rb | 61 + .../spec/unit/classes/concat_setup_spec.rb | 96 + .../spec/unit/defines/concat_fragment_spec.rb | 296 + .../concat/spec/unit/defines/concat_spec.rb | 416 + .../spec/unit/facts/concat_basedir_spec.rb | 18 + .../puppet/modules/concat/tests/fragment.pp | 19 + .../puppet/modules/concat/tests/init.pp | 7 + .../modules/diverse_functions/README.md | 88 + .../diverse_functions/examples/default.pp | 5 + .../examples/inside-a-class.pp | 9 + .../parser/functions/validate_platform.rb | 51 + .../modules/diverse_functions/metadata.json | 32 + .../diverse_functions/spec/spec_helper.rb | 17 + .../modules/diverse_functions/stamp.yml | 6 + .../modules/diverse_functions/tests/init.pp | 11 + .../puppet/modules/environment/LICENSE | 19 + .../puppet/modules/environment/README.md | 42 + .../puppet/modules/environment/Rakefile | 18 + .../modules/environment/examples/default.pp | 6 + .../modules/environment/manifests/init.pp | 49 + .../puppet/modules/environment/metadata.json | 43 + .../environment/spec/classes/init_spec.rb | 7 + .../modules/environment/spec/spec_helper.rb | 17 + .../puppet/modules/environment/stamp.yml | 6 + .../puppet/modules/environment/tests/init.pp | 12 + .../puppet/modules/stdlib/.gemspec | 40 + .../puppet/modules/stdlib/.project | 23 + .../puppet/modules/stdlib/.rspec | 4 + .../puppet/modules/stdlib/.sync.yml | 9 + .../puppet/modules/stdlib/.travis.yml | 17 + .../puppet/modules/stdlib/CHANGELOG.md | 485 + .../puppet/modules/stdlib/CONTRIBUTING.md | 220 + .../puppet/modules/stdlib/Gemfile | 35 + .../puppet/modules/stdlib/LICENSE | 19 + .../puppet/modules/stdlib/README.markdown | 715 + .../modules/stdlib/README_DEVELOPER.markdown | 35 + .../modules/stdlib/README_SPECS.markdown | 7 + .../modules/stdlib/RELEASE_PROCESS.markdown | 24 + .../puppet/modules/stdlib/Rakefile | 18 + .../modules/stdlib/lib/facter/facter_dot_d.rb | 202 + .../modules/stdlib/lib/facter/pe_version.rb | 53 + .../stdlib/lib/facter/puppet_vardir.rb | 26 + .../modules/stdlib/lib/facter/root_home.rb | 32 + .../stdlib/lib/facter/util/puppet_settings.rb | 21 + .../stdlib/lib/puppet/parser/functions/abs.rb | 36 + .../lib/puppet/parser/functions/any2array.rb | 33 + .../lib/puppet/parser/functions/base64.rb | 37 + .../lib/puppet/parser/functions/bool2num.rb | 26 + .../lib/puppet/parser/functions/bool2str.rb | 27 + .../lib/puppet/parser/functions/camelcase.rb | 33 + .../lib/puppet/parser/functions/capitalize.rb | 33 + .../lib/puppet/parser/functions/chomp.rb | 34 + .../lib/puppet/parser/functions/chop.rb | 36 + .../lib/puppet/parser/functions/concat.rb | 37 + .../lib/puppet/parser/functions/count.rb | 22 + .../lib/puppet/parser/functions/deep_merge.rb | 44 + .../parser/functions/defined_with_params.rb | 35 + .../lib/puppet/parser/functions/delete.rb | 46 + .../lib/puppet/parser/functions/delete_at.rb | 49 + .../parser/functions/delete_undef_values.rb | 34 + .../puppet/parser/functions/delete_values.rb | 26 + .../lib/puppet/parser/functions/difference.rb | 36 + .../lib/puppet/parser/functions/dirname.rb | 15 + .../lib/puppet/parser/functions/downcase.rb | 32 + .../lib/puppet/parser/functions/empty.rb | 27 + .../parser/functions/ensure_packages.rb | 35 + .../parser/functions/ensure_resource.rb | 45 + .../lib/puppet/parser/functions/flatten.rb | 33 + .../lib/puppet/parser/functions/floor.rb | 25 + .../puppet/parser/functions/fqdn_rotate.rb | 45 + .../parser/functions/get_module_path.rb | 17 + .../lib/puppet/parser/functions/getparam.rb | 35 + .../lib/puppet/parser/functions/getvar.rb | 29 + .../lib/puppet/parser/functions/grep.rb | 33 + .../parser/functions/has_interface_with.rb | 68 + .../puppet/parser/functions/has_ip_address.rb | 25 + .../puppet/parser/functions/has_ip_network.rb | 25 + .../lib/puppet/parser/functions/has_key.rb | 28 + .../lib/puppet/parser/functions/hash.rb | 41 + .../puppet/parser/functions/intersection.rb | 34 + .../lib/puppet/parser/functions/is_array.rb | 22 + .../lib/puppet/parser/functions/is_bool.rb | 22 + .../puppet/parser/functions/is_domain_name.rb | 50 + .../lib/puppet/parser/functions/is_float.rb | 30 + .../parser/functions/is_function_available.rb | 26 + .../lib/puppet/parser/functions/is_hash.rb | 22 + .../lib/puppet/parser/functions/is_integer.rb | 45 + .../puppet/parser/functions/is_ip_address.rb | 32 + .../puppet/parser/functions/is_mac_address.rb | 27 + .../lib/puppet/parser/functions/is_numeric.rb | 75 + .../lib/puppet/parser/functions/is_string.rb | 26 + .../lib/puppet/parser/functions/join.rb | 41 + .../parser/functions/join_keys_to_values.rb | 47 + .../lib/puppet/parser/functions/keys.rb | 26 + .../lib/puppet/parser/functions/loadyaml.rb | 20 + .../lib/puppet/parser/functions/lstrip.rb | 32 + .../stdlib/lib/puppet/parser/functions/max.rb | 21 + .../lib/puppet/parser/functions/member.rb | 62 + .../lib/puppet/parser/functions/merge.rb | 34 + .../stdlib/lib/puppet/parser/functions/min.rb | 21 + .../lib/puppet/parser/functions/num2bool.rb | 43 + .../lib/puppet/parser/functions/parsejson.rb | 24 + .../lib/puppet/parser/functions/parseyaml.rb | 24 + .../lib/puppet/parser/functions/pick.rb | 29 + .../puppet/parser/functions/pick_default.rb | 35 + .../lib/puppet/parser/functions/prefix.rb | 45 + .../lib/puppet/parser/functions/private.rb | 29 + .../lib/puppet/parser/functions/range.rb | 88 + .../lib/puppet/parser/functions/reject.rb | 31 + .../lib/puppet/parser/functions/reverse.rb | 27 + .../lib/puppet/parser/functions/rstrip.rb | 31 + .../lib/puppet/parser/functions/shuffle.rb | 45 + .../lib/puppet/parser/functions/size.rb | 48 + .../lib/puppet/parser/functions/sort.rb | 27 + .../lib/puppet/parser/functions/squeeze.rb | 36 + .../lib/puppet/parser/functions/str2bool.rb | 46 + .../parser/functions/str2saltedsha512.rb | 32 + .../lib/puppet/parser/functions/strftime.rb | 107 + .../lib/puppet/parser/functions/strip.rb | 38 + .../lib/puppet/parser/functions/suffix.rb | 45 + .../lib/puppet/parser/functions/swapcase.rb | 38 + .../lib/puppet/parser/functions/time.rb | 49 + .../lib/puppet/parser/functions/to_bytes.rb | 31 + .../lib/puppet/parser/functions/type.rb | 50 + .../lib/puppet/parser/functions/union.rb | 34 + .../lib/puppet/parser/functions/unique.rb | 50 + .../lib/puppet/parser/functions/upcase.rb | 40 + .../lib/puppet/parser/functions/uriescape.rb | 34 + .../functions/validate_absolute_path.rb | 56 + .../puppet/parser/functions/validate_array.rb | 33 + .../parser/functions/validate_augeas.rb | 83 + .../puppet/parser/functions/validate_bool.rb | 34 + .../puppet/parser/functions/validate_cmd.rb | 52 + .../puppet/parser/functions/validate_hash.rb | 33 + .../parser/functions/validate_ipv4_address.rb | 48 + .../parser/functions/validate_ipv6_address.rb | 49 + .../puppet/parser/functions/validate_re.rb | 40 + .../parser/functions/validate_slength.rb | 71 + .../parser/functions/validate_string.rb | 38 + .../lib/puppet/parser/functions/values.rb | 39 + .../lib/puppet/parser/functions/values_at.rb | 99 + .../stdlib/lib/puppet/parser/functions/zip.rb | 39 + .../lib/puppet/provider/file_line/ruby.rb | 85 + .../modules/stdlib/lib/puppet/type/anchor.rb | 46 + .../stdlib/lib/puppet/type/file_line.rb | 75 + .../puppet/modules/stdlib/manifests/init.pp | 20 + .../puppet/modules/stdlib/manifests/stages.pp | 43 + .../puppet/modules/stdlib/metadata.json | 113 + .../stdlib/spec/acceptance/abs_spec.rb | 30 + .../stdlib/spec/acceptance/any2array_spec.rb | 49 + .../stdlib/spec/acceptance/base64_spec.rb | 18 + .../stdlib/spec/acceptance/bool2num_spec.rb | 34 + .../stdlib/spec/acceptance/build_csv.rb | 83 + .../stdlib/spec/acceptance/capitalize_spec.rb | 33 + .../stdlib/spec/acceptance/chomp_spec.rb | 21 + .../stdlib/spec/acceptance/chop_spec.rb | 45 + .../stdlib/spec/acceptance/concat_spec.rb | 18 + .../stdlib/spec/acceptance/count_spec.rb | 30 + .../stdlib/spec/acceptance/deep_merge_spec.rb | 20 + .../acceptance/defined_with_params_spec.rb | 22 + .../stdlib/spec/acceptance/delete_at_spec.rb | 19 + .../stdlib/spec/acceptance/delete_spec.rb | 19 + .../acceptance/delete_undef_values_spec.rb | 19 + .../spec/acceptance/delete_values_spec.rb | 25 + .../stdlib/spec/acceptance/difference_spec.rb | 26 + .../stdlib/spec/acceptance/dirname_spec.rb | 42 + .../stdlib/spec/acceptance/downcase_spec.rb | 39 + .../stdlib/spec/acceptance/empty_spec.rb | 39 + .../spec/acceptance/ensure_packages_spec.rb | 22 + .../spec/acceptance/ensure_resource_spec.rb | 22 + .../stdlib/spec/acceptance/flatten_spec.rb | 39 + .../stdlib/spec/acceptance/floor_spec.rb | 39 + .../spec/acceptance/fqdn_rotate_spec.rb | 47 + .../spec/acceptance/get_module_path_spec.rb | 27 + .../stdlib/spec/acceptance/getparam_spec.rb | 24 + .../stdlib/spec/acceptance/getvar_spec.rb | 26 + .../stdlib/spec/acceptance/grep_spec.rb | 26 + .../acceptance/has_interface_with_spec.rb | 54 + .../spec/acceptance/has_ip_address_spec.rb | 33 + .../spec/acceptance/has_ip_network_spec.rb | 33 + .../stdlib/spec/acceptance/has_key_spec.rb | 41 + .../stdlib/spec/acceptance/hash_spec.rb | 26 + .../spec/acceptance/intersection_spec.rb | 27 + .../stdlib/spec/acceptance/is_array_spec.rb | 67 + .../stdlib/spec/acceptance/is_bool_spec.rb | 81 + .../spec/acceptance/is_domain_name_spec.rb | 83 + .../stdlib/spec/acceptance/is_float_spec.rb | 86 + .../acceptance/is_function_available_spec.rb | 58 + .../stdlib/spec/acceptance/is_hash_spec.rb | 63 + .../stdlib/spec/acceptance/is_integer_spec.rb | 95 + .../spec/acceptance/is_ip_address_spec.rb | 80 + .../spec/acceptance/is_mac_address_spec.rb | 38 + .../stdlib/spec/acceptance/is_numeric_spec.rb | 95 + .../stdlib/spec/acceptance/is_string_spec.rb | 102 + .../acceptance/join_keys_to_values_spec.rb | 24 + .../stdlib/spec/acceptance/join_spec.rb | 26 + .../stdlib/spec/acceptance/keys_spec.rb | 23 + .../stdlib/spec/acceptance/loadyaml_spec.rb | 33 + .../stdlib/spec/acceptance/lstrip_spec.rb | 34 + .../stdlib/spec/acceptance/max_spec.rb | 20 + .../stdlib/spec/acceptance/member_spec.rb | 54 + .../stdlib/spec/acceptance/merge_spec.rb | 23 + .../stdlib/spec/acceptance/min_spec.rb | 20 + .../acceptance/nodesets/centos-59-x64.yml | 10 + .../acceptance/nodesets/centos-6-vcloud.yml | 15 + .../acceptance/nodesets/centos-64-x64-pe.yml | 12 + .../acceptance/nodesets/centos-64-x64.yml | 10 + .../acceptance/nodesets/centos-65-x64.yml | 10 + .../spec/acceptance/nodesets/default.yml | 10 + .../acceptance/nodesets/fedora-18-x64.yml | 10 + .../spec/acceptance/nodesets/sles-11-x64.yml | 10 + .../nodesets/ubuntu-server-10044-x64.yml | 10 + .../nodesets/ubuntu-server-12042-x64.yml | 10 + .../nodesets/ubuntu-server-1404-x64.yml | 11 + .../acceptance/nodesets/windows-2003-i386.yml | 26 + .../nodesets/windows-2003-x86_64.yml | 26 + .../nodesets/windows-2008-x86_64.yml | 26 + .../nodesets/windows-2008r2-x86_64.yml | 26 + .../nodesets/windows-2012-x86_64.yml | 26 + .../nodesets/windows-2012r2-x86_64.yml | 26 + .../stdlib/spec/acceptance/num2bool_spec.rb | 76 + .../stdlib/spec/acceptance/parsejson_spec.rb | 34 + .../stdlib/spec/acceptance/parseyaml_spec.rb | 35 + .../spec/acceptance/pick_default_spec.rb | 54 + .../stdlib/spec/acceptance/pick_spec.rb | 44 + .../stdlib/spec/acceptance/prefix_spec.rb | 42 + .../stdlib/spec/acceptance/range_spec.rb | 36 + .../stdlib/spec/acceptance/reject_spec.rb | 42 + .../stdlib/spec/acceptance/reverse_spec.rb | 23 + .../stdlib/spec/acceptance/rstrip_spec.rb | 34 + .../stdlib/spec/acceptance/shuffle_spec.rb | 34 + .../stdlib/spec/acceptance/size_spec.rb | 55 + .../stdlib/spec/acceptance/sort_spec.rb | 34 + .../stdlib/spec/acceptance/squeeze_spec.rb | 47 + .../stdlib/spec/acceptance/str2bool_spec.rb | 31 + .../spec/acceptance/str2saltedsha512_spec.rb | 22 + .../stdlib/spec/acceptance/strftime_spec.rb | 22 + .../stdlib/spec/acceptance/strip_spec.rb | 34 + .../stdlib/spec/acceptance/suffix_spec.rb | 42 + .../stdlib/spec/acceptance/swapcase_spec.rb | 22 + .../stdlib/spec/acceptance/time_spec.rb | 36 + .../stdlib/spec/acceptance/to_bytes_spec.rb | 27 + .../stdlib/spec/acceptance/type_spec.rb | 37 + .../stdlib/spec/acceptance/union_spec.rb | 24 + .../stdlib/spec/acceptance/unique_spec.rb | 33 + .../spec/acceptance/unsupported_spec.rb | 11 + .../stdlib/spec/acceptance/upcase_spec.rb | 33 + .../stdlib/spec/acceptance/uriescape_spec.rb | 23 + .../acceptance/validate_absolute_path_spec.rb | 31 + .../spec/acceptance/validate_array_spec.rb | 37 + .../spec/acceptance/validate_augeas_spec.rb | 63 + .../spec/acceptance/validate_bool_spec.rb | 37 + .../spec/acceptance/validate_cmd_spec.rb | 52 + .../spec/acceptance/validate_hash_spec.rb | 37 + .../acceptance/validate_ipv4_address_spec.rb | 31 + .../acceptance/validate_ipv6_address_spec.rb | 31 + .../spec/acceptance/validate_re_spec.rb | 47 + .../spec/acceptance/validate_slength_spec.rb | 72 + .../spec/acceptance/validate_string_spec.rb | 36 + .../stdlib/spec/acceptance/values_at_spec.rb | 73 + .../stdlib/spec/acceptance/values_spec.rb | 35 + .../stdlib/spec/acceptance/zip_spec.rb | 86 + .../stdlib/spec/classes/anchor_spec.rb | 30 + .../stdlib/spec/fixtures/dscacheutil/root | 8 + .../modules/stdlib/spec/functions/abs_spec.rb | 25 + .../stdlib/spec/functions/any2array_spec.rb | 55 + .../stdlib/spec/functions/base64_spec.rb | 34 + .../stdlib/spec/functions/bool2num_spec.rb | 38 + .../stdlib/spec/functions/capitalize_spec.rb | 28 + .../stdlib/spec/functions/chomp_spec.rb | 28 + .../stdlib/spec/functions/chop_spec.rb | 28 + .../stdlib/spec/functions/concat_spec.rb | 35 + .../stdlib/spec/functions/count_spec.rb | 31 + .../stdlib/spec/functions/deep_merge_spec.rb | 105 + .../functions/defined_with_params_spec.rb | 37 + .../stdlib/spec/functions/delete_at_spec.rb | 25 + .../stdlib/spec/functions/delete_spec.rb | 56 + .../functions/delete_undef_values_spec.rb | 41 + .../spec/functions/delete_values_spec.rb | 36 + .../stdlib/spec/functions/difference_spec.rb | 19 + .../stdlib/spec/functions/dirname_spec.rb | 24 + .../stdlib/spec/functions/downcase_spec.rb | 33 + .../stdlib/spec/functions/empty_spec.rb | 32 + .../spec/functions/ensure_packages_spec.rb | 81 + .../spec/functions/ensure_resource_spec.rb | 113 + .../stdlib/spec/functions/flatten_spec.rb | 27 + .../stdlib/spec/functions/floor_spec.rb | 39 + .../stdlib/spec/functions/fqdn_rotate_spec.rb | 43 + .../spec/functions/get_module_path_spec.rb | 46 + .../stdlib/spec/functions/getparam_spec.rb | 76 + .../stdlib/spec/functions/getvar_spec.rb | 37 + .../stdlib/spec/functions/grep_spec.rb | 19 + .../spec/functions/has_interface_with_spec.rb | 64 + .../spec/functions/has_ip_address_spec.rb | 39 + .../spec/functions/has_ip_network_spec.rb | 36 + .../stdlib/spec/functions/has_key_spec.rb | 42 + .../stdlib/spec/functions/hash_spec.rb | 19 + .../spec/functions/intersection_spec.rb | 19 + .../stdlib/spec/functions/is_array_spec.rb | 29 + .../stdlib/spec/functions/is_bool_spec.rb | 44 + .../spec/functions/is_domain_name_spec.rb | 64 + .../stdlib/spec/functions/is_float_spec.rb | 33 + .../spec/functions/is_function_available.rb | 31 + .../stdlib/spec/functions/is_hash_spec.rb | 29 + .../stdlib/spec/functions/is_integer_spec.rb | 69 + .../spec/functions/is_ip_address_spec.rb | 39 + .../spec/functions/is_mac_address_spec.rb | 29 + .../stdlib/spec/functions/is_numeric_spec.rb | 119 + .../stdlib/spec/functions/is_string_spec.rb | 34 + .../functions/join_keys_to_values_spec.rb | 40 + .../stdlib/spec/functions/join_spec.rb | 19 + .../stdlib/spec/functions/keys_spec.rb | 21 + .../stdlib/spec/functions/loadyaml_spec.rb | 25 + .../stdlib/spec/functions/lstrip_spec.rb | 28 + .../modules/stdlib/spec/functions/max_spec.rb | 27 + .../stdlib/spec/functions/member_spec.rb | 34 + .../stdlib/spec/functions/merge_spec.rb | 52 + .../modules/stdlib/spec/functions/min_spec.rb | 27 + .../stdlib/spec/functions/num2bool_spec.rb | 67 + .../stdlib/spec/functions/parsejson_spec.rb | 22 + .../stdlib/spec/functions/parseyaml_spec.rb | 24 + .../spec/functions/pick_default_spec.rb | 58 + .../stdlib/spec/functions/pick_spec.rb | 34 + .../stdlib/spec/functions/prefix_spec.rb | 28 + .../stdlib/spec/functions/private_spec.rb | 55 + .../stdlib/spec/functions/range_spec.rb | 86 + .../stdlib/spec/functions/reject_spec.rb | 20 + .../stdlib/spec/functions/reverse_spec.rb | 28 + .../stdlib/spec/functions/rstrip_spec.rb | 33 + .../stdlib/spec/functions/shuffle_spec.rb | 33 + .../stdlib/spec/functions/size_spec.rb | 24 + .../stdlib/spec/functions/sort_spec.rb | 24 + .../stdlib/spec/functions/squeeze_spec.rb | 24 + .../stdlib/spec/functions/str2bool_spec.rb | 31 + .../spec/functions/str2saltedsha512_spec.rb | 45 + .../stdlib/spec/functions/strftime_spec.rb | 29 + .../stdlib/spec/functions/strip_spec.rb | 27 + .../stdlib/spec/functions/suffix_spec.rb | 27 + .../stdlib/spec/functions/swapcase_spec.rb | 28 + .../stdlib/spec/functions/time_spec.rb | 29 + .../stdlib/spec/functions/to_bytes_spec.rb | 83 + .../stdlib/spec/functions/type_spec.rb | 43 + .../stdlib/spec/functions/union_spec.rb | 19 + .../stdlib/spec/functions/unique_spec.rb | 33 + .../stdlib/spec/functions/upcase_spec.rb | 33 + .../stdlib/spec/functions/uriescape_spec.rb | 33 + .../functions/validate_absolute_path_spec.rb | 84 + .../spec/functions/validate_array_spec.rb | 38 + .../spec/functions/validate_augeas_spec.rb | 103 + .../spec/functions/validate_bool_spec.rb | 51 + .../spec/functions/validate_cmd_spec.rb | 48 + .../spec/functions/validate_hash_spec.rb | 43 + .../functions/validate_ipv4_address_spec.rb | 64 + .../functions/validate_ipv6_address_spec.rb | 67 + .../stdlib/spec/functions/validate_re_spec.rb | 77 + .../spec/functions/validate_slength_spec.rb | 67 + .../spec/functions/validate_string_spec.rb | 60 + .../stdlib/spec/functions/values_at_spec.rb | 38 + .../stdlib/spec/functions/values_spec.rb | 31 + .../modules/stdlib/spec/functions/zip_spec.rb | 31 + .../stdlib/spec/lib/puppet_spec/compiler.rb | 47 + .../stdlib/spec/lib/puppet_spec/database.rb | 30 + .../stdlib/spec/lib/puppet_spec/files.rb | 61 + .../stdlib/spec/lib/puppet_spec/fixtures.rb | 29 + .../stdlib/spec/lib/puppet_spec/matchers.rb | 121 + .../stdlib/spec/lib/puppet_spec/modules.rb | 27 + .../stdlib/spec/lib/puppet_spec/pops.rb | 17 + .../stdlib/spec/lib/puppet_spec/scope.rb | 15 + .../stdlib/spec/lib/puppet_spec/settings.rb | 16 + .../stdlib/spec/lib/puppet_spec/verbose.rb | 10 + .../monkey_patches/alias_should_to_must.rb | 9 + .../spec/monkey_patches/publicize_methods.rb | 11 + .../puppet/modules/stdlib/spec/spec.opts | 6 + .../puppet/modules/stdlib/spec/spec_helper.rb | 34 + .../stdlib/spec/spec_helper_acceptance.rb | 50 + .../spec/unit/facter/facter_dot_d_spec.rb | 32 + .../spec/unit/facter/pe_version_spec.rb | 76 + .../stdlib/spec/unit/facter/root_home_spec.rb | 52 + .../unit/facter/util/puppet_settings_spec.rb | 36 + .../puppet/parser/functions/bool2str_spec.rb | 46 + .../puppet/parser/functions/camelcase_spec.rb | 24 + .../puppet/provider/file_line/ruby_spec.rb | 225 + .../spec/unit/puppet/type/anchor_spec.rb | 11 + .../spec/unit/puppet/type/file_line_spec.rb | 70 + .../puppet/modules/stdlib/tests/file_line.pp | 9 + .../stdlib/tests/has_interface_with.pp | 10 + .../modules/stdlib/tests/has_ip_address.pp | 3 + .../modules/stdlib/tests/has_ip_network.pp | 4 + .../puppet/modules/stdlib/tests/init.pp | 1 + .../puppet/modules/ubuntu/LICENSE | 19 + .../puppet/modules/ubuntu/README.md | 42 + .../puppet/modules/ubuntu/examples/clean.pp | 3 + .../puppet/modules/ubuntu/examples/default.pp | 6 + .../puppet/modules/ubuntu/examples/upgrade.pp | 3 + .../puppet/modules/ubuntu/manifests/clean.pp | 13 + .../puppet/modules/ubuntu/manifests/init.pp | 37 + .../puppet/modules/ubuntu/manifests/update.pp | 13 + .../modules/ubuntu/manifests/upgrade.pp | 26 + .../puppet/modules/ubuntu/metadata.json | 45 + .../puppet/modules/ubuntu/spec/spec_helper.rb | 17 + .../puppet/modules/ubuntu/stamp.yml | 6 + .../puppet/modules/ubuntu/tests/init.pp | 11 + .../stamp.yml | 3 + .../LICENSE | 19 + .../README.md | 28 + .../Vagrantfile | 23 + .../VagrantfileToInclude | 6 + .../box-author.txt | 1 + .../box-name.txt | 1 + .../box-version.txt | 1 + .../build.sh | 13 + .../guestvm | 14 + .../puppet/manifests/default.pp | 15 + .../puppet/modules/apache/.fixtures.yml | 7 + .../puppet/modules/apache/.geppetto-rc.json | 9 + .../puppet/modules/apache/.nodeset.yml | 31 + .../puppet/modules/apache/.puppet-lint.rc | 5 + .../puppet/modules/apache/.sync.yml | 12 + .../puppet/modules/apache/.travis.yml | 21 + .../puppet/modules/apache/CHANGELOG.md | 492 + .../puppet/modules/apache/CONTRIBUTING.md | 220 + .../puppet/modules/apache/Gemfile | 31 + .../puppet/modules/apache/LICENSE | 15 + .../puppet/modules/apache/README.md | 2577 ++ .../puppet/modules/apache/README.passenger.md | 287 + .../puppet/modules/apache/Rakefile | 11 + .../puppet/modules/apache/files/httpd | 24 + .../lib/puppet/parser/functions/bool2httpd.rb | 30 + .../apache/lib/puppet/provider/a2mod.rb | 34 + .../apache/lib/puppet/provider/a2mod/a2mod.rb | 35 + .../lib/puppet/provider/a2mod/gentoo.rb | 116 + .../lib/puppet/provider/a2mod/modfix.rb | 12 + .../lib/puppet/provider/a2mod/redhat.rb | 60 + .../modules/apache/lib/puppet/type/a2mod.rb | 30 + .../modules/apache/manifests/balancer.pp | 82 + .../apache/manifests/balancermember.pp | 53 + .../modules/apache/manifests/confd/no_accf.pp | 10 + .../modules/apache/manifests/custom_config.pp | 67 + .../apache/manifests/default_confd_files.pp | 15 + .../modules/apache/manifests/default_mods.pp | 174 + .../apache/manifests/default_mods/load.pp | 8 + .../puppet/modules/apache/manifests/dev.pp | 11 + .../apache/manifests/fastcgi/server.pp | 24 + .../puppet/modules/apache/manifests/init.pp | 380 + .../puppet/modules/apache/manifests/listen.pp | 10 + .../puppet/modules/apache/manifests/mod.pp | 130 + .../modules/apache/manifests/mod/actions.pp | 3 + .../modules/apache/manifests/mod/alias.pp | 26 + .../apache/manifests/mod/auth_basic.pp | 3 + .../modules/apache/manifests/mod/auth_cas.pp | 48 + .../modules/apache/manifests/mod/auth_kerb.pp | 5 + .../apache/manifests/mod/authn_file.pp | 3 + .../apache/manifests/mod/authnz_ldap.pp | 19 + .../apache/manifests/mod/authz_default.pp | 3 + .../apache/manifests/mod/authz_user.pp | 3 + .../modules/apache/manifests/mod/autoindex.pp | 12 + .../modules/apache/manifests/mod/cache.pp | 3 + .../modules/apache/manifests/mod/cgi.pp | 10 + .../modules/apache/manifests/mod/cgid.pp | 28 + .../modules/apache/manifests/mod/dav.pp | 3 + .../modules/apache/manifests/mod/dav_fs.pp | 20 + .../modules/apache/manifests/mod/dav_svn.pp | 20 + .../modules/apache/manifests/mod/deflate.pp | 24 + .../modules/apache/manifests/mod/dev.pp | 5 + .../modules/apache/manifests/mod/dir.pp | 21 + .../apache/manifests/mod/disk_cache.pp | 31 + .../modules/apache/manifests/mod/event.pp | 71 + .../modules/apache/manifests/mod/expires.pp | 3 + .../modules/apache/manifests/mod/fastcgi.pp | 24 + .../modules/apache/manifests/mod/fcgid.pp | 24 + .../modules/apache/manifests/mod/filter.pp | 3 + .../modules/apache/manifests/mod/headers.pp | 3 + .../modules/apache/manifests/mod/include.pp | 3 + .../modules/apache/manifests/mod/info.pp | 18 + .../modules/apache/manifests/mod/itk.pp | 60 + .../modules/apache/manifests/mod/ldap.pp | 14 + .../modules/apache/manifests/mod/mime.pp | 21 + .../apache/manifests/mod/mime_magic.pp | 14 + .../apache/manifests/mod/negotiation.pp | 25 + .../modules/apache/manifests/mod/nss.pp | 25 + .../modules/apache/manifests/mod/pagespeed.pp | 55 + .../modules/apache/manifests/mod/passenger.pp | 77 + .../modules/apache/manifests/mod/perl.pp | 3 + .../modules/apache/manifests/mod/peruser.pp | 76 + .../modules/apache/manifests/mod/php.pp | 62 + .../modules/apache/manifests/mod/prefork.pp | 77 + .../modules/apache/manifests/mod/proxy.pp | 16 + .../modules/apache/manifests/mod/proxy_ajp.pp | 4 + .../apache/manifests/mod/proxy_balancer.pp | 10 + .../apache/manifests/mod/proxy_connect.pp | 8 + .../apache/manifests/mod/proxy_html.pp | 37 + .../apache/manifests/mod/proxy_http.pp | 4 + .../modules/apache/manifests/mod/python.pp | 5 + .../apache/manifests/mod/reqtimeout.pp | 14 + .../modules/apache/manifests/mod/rewrite.pp | 4 + .../modules/apache/manifests/mod/rpaf.pp | 20 + .../modules/apache/manifests/mod/security.pp | 75 + .../modules/apache/manifests/mod/setenvif.pp | 12 + .../modules/apache/manifests/mod/shib.pp | 15 + .../modules/apache/manifests/mod/speling.pp | 3 + .../modules/apache/manifests/mod/ssl.pp | 66 + .../modules/apache/manifests/mod/status.pp | 46 + .../modules/apache/manifests/mod/suexec.pp | 3 + .../modules/apache/manifests/mod/suphp.pp | 14 + .../modules/apache/manifests/mod/userdir.pp | 18 + .../modules/apache/manifests/mod/version.pp | 10 + .../apache/manifests/mod/vhost_alias.pp | 3 + .../modules/apache/manifests/mod/worker.pp | 79 + .../modules/apache/manifests/mod/wsgi.pp | 41 + .../modules/apache/manifests/mod/xsendfile.pp | 4 + .../puppet/modules/apache/manifests/mpm.pp | 75 + .../apache/manifests/namevirtualhost.pp | 10 + .../modules/apache/manifests/package.pp | 59 + .../puppet/modules/apache/manifests/params.pp | 422 + .../apache/manifests/peruser/multiplexer.pp | 17 + .../apache/manifests/peruser/processor.pp | 17 + .../puppet/modules/apache/manifests/php.pp | 18 + .../puppet/modules/apache/manifests/proxy.pp | 15 + .../puppet/modules/apache/manifests/python.pp | 18 + .../apache/manifests/security/rule_link.pp | 13 + .../modules/apache/manifests/service.pp | 47 + .../puppet/modules/apache/manifests/ssl.pp | 18 + .../modules/apache/manifests/version.pp | 40 + .../puppet/modules/apache/manifests/vhost.pp | 889 + .../puppet/modules/apache/metadata.json | 73 + .../spec/acceptance/apache_parameters_spec.rb | 475 + .../apache/spec/acceptance/apache_ssl_spec.rb | 100 + .../apache/spec/acceptance/basic_spec.rb | 12 + .../apache/spec/acceptance/class_spec.rb | 88 + .../spec/acceptance/custom_config_spec.rb | 55 + .../spec/acceptance/default_mods_spec.rb | 123 + .../apache/spec/acceptance/itk_spec.rb | 33 + .../spec/acceptance/mod_dav_svn_spec.rb | 62 + .../spec/acceptance/mod_deflate_spec.rb | 43 + .../apache/spec/acceptance/mod_fcgid_spec.rb | 57 + .../apache/spec/acceptance/mod_mime_spec.rb | 37 + .../spec/acceptance/mod_negotiation_spec.rb | 84 + .../spec/acceptance/mod_pagespeed_spec.rb | 89 + .../spec/acceptance/mod_passenger_spec.rb | 308 + .../apache/spec/acceptance/mod_php_spec.rb | 143 + .../spec/acceptance/mod_proxy_html_spec.rb | 41 + .../spec/acceptance/mod_security_spec.rb | 228 + .../apache/spec/acceptance/mod_suphp_spec.rb | 55 + .../acceptance/nodesets/centos-59-x64.yml | 10 + .../acceptance/nodesets/centos-64-x64-pe.yml | 12 + .../acceptance/nodesets/centos-64-x64.yml | 11 + .../acceptance/nodesets/centos-65-x64.yml | 10 + .../acceptance/nodesets/centos-70-x64.yml | 11 + .../acceptance/nodesets/debian-607-x64.yml | 11 + .../acceptance/nodesets/debian-70rc1-x64.yml | 11 + .../acceptance/nodesets/debian-73-i386.yml | 11 + .../acceptance/nodesets/debian-73-x64.yml | 11 + .../spec/acceptance/nodesets/default.yml | 11 + .../acceptance/nodesets/fedora-18-x64.yml | 11 + .../nodesets/ubuntu-server-10044-x64.yml | 10 + .../nodesets/ubuntu-server-12042-x64.yml | 10 + .../nodesets/ubuntu-server-1310-x64.yml | 11 + .../nodesets/ubuntu-server-1404-x64.yml | 11 + .../spec/acceptance/prefork_worker_spec.rb | 81 + .../apache/spec/acceptance/service_spec.rb | 19 + .../spec/acceptance/unsupported_spec.rb | 13 + .../modules/apache/spec/acceptance/version.rb | 75 + .../apache/spec/acceptance/vhost_spec.rb | 1274 + .../apache/spec/classes/apache_spec.rb | 801 + .../modules/apache/spec/classes/dev_spec.rb | 73 + .../apache/spec/classes/mod/alias_spec.rb | 96 + .../apache/spec/classes/mod/auth_cas_spec.rb | 54 + .../apache/spec/classes/mod/auth_kerb_spec.rb | 76 + .../spec/classes/mod/authnz_ldap_spec.rb | 78 + .../apache/spec/classes/mod/dav_svn_spec.rb | 79 + .../apache/spec/classes/mod/deflate_spec.rb | 126 + .../apache/spec/classes/mod/dev_spec.rb | 27 + .../apache/spec/classes/mod/dir_spec.rb | 138 + .../apache/spec/classes/mod/event_spec.rb | 154 + .../apache/spec/classes/mod/fastcgi_spec.rb | 45 + .../apache/spec/classes/mod/fcgid_spec.rb | 136 + .../apache/spec/classes/mod/info_spec.rb | 222 + .../apache/spec/classes/mod/itk_spec.rb | 73 + .../spec/classes/mod/mime_magic_spec.rb | 112 + .../apache/spec/classes/mod/mime_spec.rb | 54 + .../spec/classes/mod/negotiation_spec.rb | 65 + .../apache/spec/classes/mod/pagespeed_spec.rb | 45 + .../apache/spec/classes/mod/passenger_spec.rb | 288 + .../apache/spec/classes/mod/perl_spec.rb | 76 + .../apache/spec/classes/mod/peruser_spec.rb | 43 + .../apache/spec/classes/mod/php_spec.rb | 289 + .../apache/spec/classes/mod/prefork_spec.rb | 134 + .../spec/classes/mod/proxy_connect_spec.rb | 51 + .../spec/classes/mod/proxy_html_spec.rb | 105 + .../apache/spec/classes/mod/python_spec.rb | 76 + .../spec/classes/mod/reqtimeout_spec.rb | 150 + .../apache/spec/classes/mod/rpaf_spec.rb | 130 + .../apache/spec/classes/mod/security_spec.rb | 95 + .../apache/spec/classes/mod/shib_spec.rb | 42 + .../apache/spec/classes/mod/speling_spec.rb | 39 + .../apache/spec/classes/mod/ssl_spec.rb | 140 + .../apache/spec/classes/mod/status_spec.rb | 206 + .../apache/spec/classes/mod/suphp_spec.rb | 40 + .../apache/spec/classes/mod/worker_spec.rb | 186 + .../apache/spec/classes/mod/wsgi_spec.rb | 147 + .../apache/spec/classes/params_spec.rb | 27 + .../apache/spec/classes/service_spec.rb | 163 + .../spec/defines/balancermember_spec.rb | 37 + .../apache/spec/defines/custom_config_spec.rb | 138 + .../spec/defines/fastcgi_server_spec.rb | 133 + .../modules/apache/spec/defines/mod_spec.rb | 152 + .../apache/spec/defines/modsec_link_spec.rb | 53 + .../modules/apache/spec/defines/vhost_spec.rb | 882 + .../puppet/modules/apache/spec/spec.opts | 6 + .../puppet/modules/apache/spec/spec_helper.rb | 25 + .../apache/spec/spec_helper_acceptance.rb | 47 + .../spec/unit/provider/a2mod/gentoo_spec.rb | 184 + .../parser/functions/bool2httpd_spec.rb | 54 + .../apache/templates/confd/no-accf.conf.erb | 4 + .../apache/templates/fastcgi/server.erb | 3 + .../modules/apache/templates/httpd.conf.erb | 122 + .../modules/apache/templates/listen.erb | 6 + .../apache/templates/mod/alias.conf.erb | 13 + .../apache/templates/mod/auth_cas.conf.erb | 40 + .../apache/templates/mod/authnz_ldap.conf.erb | 5 + .../apache/templates/mod/autoindex.conf.erb | 56 + .../apache/templates/mod/cgid.conf.erb | 1 + .../apache/templates/mod/dav_fs.conf.erb | 1 + .../apache/templates/mod/deflate.conf.erb | 7 + .../modules/apache/templates/mod/dir.conf.erb | 1 + .../apache/templates/mod/disk_cache.conf.erb | 8 + .../apache/templates/mod/event.conf.erb | 13 + .../apache/templates/mod/fastcgi.conf.erb | 6 + .../apache/templates/mod/fcgid.conf.erb | 5 + .../apache/templates/mod/info.conf.erb | 19 + .../modules/apache/templates/mod/itk.conf.erb | 8 + .../apache/templates/mod/ldap.conf.erb | 11 + .../modules/apache/templates/mod/load.erb | 7 + .../apache/templates/mod/mime.conf.erb | 36 + .../apache/templates/mod/mime_magic.conf.erb | 1 + .../apache/templates/mod/mpm_event.conf.erb | 9 + .../apache/templates/mod/negotiation.conf.erb | 2 + .../modules/apache/templates/mod/nss.conf.erb | 228 + .../apache/templates/mod/pagespeed.conf.erb | 98 + .../apache/templates/mod/passenger.conf.erb | 43 + .../apache/templates/mod/peruser.conf.erb | 12 + .../apache/templates/mod/php5.conf.erb | 30 + .../apache/templates/mod/prefork.conf.erb | 8 + .../apache/templates/mod/proxy.conf.erb | 27 + .../apache/templates/mod/proxy_html.conf.erb | 18 + .../apache/templates/mod/reqtimeout.conf.erb | 3 + .../apache/templates/mod/rpaf.conf.erb | 15 + .../apache/templates/mod/security.conf.erb | 68 + .../templates/mod/security_crs.conf.erb | 428 + .../apache/templates/mod/setenvif.conf.erb | 34 + .../modules/apache/templates/mod/ssl.conf.erb | 28 + .../apache/templates/mod/status.conf.erb | 16 + .../apache/templates/mod/suphp.conf.erb | 19 + .../apache/templates/mod/userdir.conf.erb | 27 + .../apache/templates/mod/worker.conf.erb | 10 + .../apache/templates/mod/wsgi.conf.erb | 13 + .../apache/templates/namevirtualhost.erb | 8 + .../modules/apache/templates/ports_header.erb | 5 + .../apache/templates/vhost/_access_log.erb | 21 + .../apache/templates/vhost/_action.erb | 4 + .../templates/vhost/_additional_includes.erb | 10 + .../apache/templates/vhost/_aliases.erb | 16 + .../vhost/_allow_encoded_slashes.erb | 4 + .../modules/apache/templates/vhost/_block.erb | 14 + .../apache/templates/vhost/_charsets.erb | 4 + .../templates/vhost/_custom_fragment.erb | 5 + .../apache/templates/vhost/_directories.erb | 255 + .../apache/templates/vhost/_docroot.erb | 7 + .../templates/vhost/_error_document.erb | 7 + .../templates/vhost/_fallbackresource.erb | 4 + .../apache/templates/vhost/_fastcgi.erb | 22 + .../apache/templates/vhost/_file_footer.erb | 1 + .../apache/templates/vhost/_file_header.erb | 10 + .../apache/templates/vhost/_header.erb | 10 + .../modules/apache/templates/vhost/_itk.erb | 29 + .../apache/templates/vhost/_logging.erb | 10 + .../apache/templates/vhost/_passenger.erb | 18 + .../modules/apache/templates/vhost/_php.erb | 12 + .../apache/templates/vhost/_php_admin.erb | 12 + .../modules/apache/templates/vhost/_proxy.erb | 75 + .../modules/apache/templates/vhost/_rack.erb | 7 + .../apache/templates/vhost/_redirect.erb | 25 + .../apache/templates/vhost/_requestheader.erb | 10 + .../apache/templates/vhost/_rewrite.erb | 50 + .../apache/templates/vhost/_scriptalias.erb | 24 + .../apache/templates/vhost/_security.erb | 20 + .../apache/templates/vhost/_serveralias.erb | 7 + .../templates/vhost/_serversignature.erb | 1 + .../apache/templates/vhost/_setenv.erb | 12 + .../modules/apache/templates/vhost/_ssl.erb | 46 + .../apache/templates/vhost/_suexec.erb | 4 + .../modules/apache/templates/vhost/_suphp.erb | 11 + .../modules/apache/templates/vhost/_wsgi.erb | 27 + .../puppet/modules/apache/tests/apache.pp | 6 + .../puppet/modules/apache/tests/dev.pp | 1 + .../puppet/modules/apache/tests/init.pp | 1 + .../modules/apache/tests/mod_load_params.pp | 11 + .../puppet/modules/apache/tests/mods.pp | 9 + .../modules/apache/tests/mods_custom.pp | 16 + .../puppet/modules/apache/tests/php.pp | 4 + .../puppet/modules/apache/tests/vhost.pp | 253 + .../modules/apache/tests/vhost_directories.pp | 44 + .../modules/apache/tests/vhost_ip_based.pp | 25 + .../modules/apache/tests/vhost_proxypass.pp | 66 + .../puppet/modules/apache/tests/vhost_ssl.pp | 23 + .../apache/tests/vhosts_without_listen.pp | 53 + .../puppet/modules/concat/.fixtures.yml | 7 + .../puppet/modules/concat/.sync.yml | 9 + .../puppet/modules/concat/.travis.yml | 15 + .../puppet/modules/concat/CHANGELOG.md | 226 + .../puppet/modules/concat/CONTRIBUTING.md | 220 + .../puppet/modules/concat/Gemfile | 46 + .../puppet/modules/concat/LICENSE | 14 + .../puppet/modules/concat/README.md | 445 + .../puppet/modules/concat/Rakefile | 10 + .../modules/concat/files/concatfragments.rb | 153 + .../modules/concat/files/concatfragments.sh | 140 + .../concat/lib/facter/concat_basedir.rb | 11 + .../parser/functions/concat_getparam.rb | 35 + .../puppet/parser/functions/concat_is_bool.rb | 22 + .../modules/concat/manifests/fragment.pp | 124 + .../puppet/modules/concat/manifests/init.pp | 264 + .../puppet/modules/concat/manifests/setup.pp | 64 + .../puppet/modules/concat/metadata.json | 110 + .../concat/spec/acceptance/backup_spec.rb | 115 + .../concat/spec/acceptance/concat_spec.rb | 217 + .../acceptance/deprecation_warnings_spec.rb | 238 + .../concat/spec/acceptance/empty_spec.rb | 23 + .../spec/acceptance/fragment_source_spec.rb | 157 + .../fragments_are_always_replaced_spec.rb | 139 + .../concat/spec/acceptance/newline_spec.rb | 67 + .../acceptance/nodesets/aix-71-vcloud.yml | 19 + .../acceptance/nodesets/centos-59-x64.yml | 10 + .../acceptance/nodesets/centos-64-x64-pe.yml | 12 + .../acceptance/nodesets/centos-64-x64.yml | 10 + .../acceptance/nodesets/centos-65-x64.yml | 10 + .../acceptance/nodesets/debian-607-x64.yml | 10 + .../acceptance/nodesets/debian-70rc1-x64.yml | 10 + .../acceptance/nodesets/debian-73-x64.yml | 11 + .../spec/acceptance/nodesets/default.yml | 10 + .../acceptance/nodesets/fedora-18-x64.yml | 10 + .../spec/acceptance/nodesets/sles-11-x64.yml | 10 + .../acceptance/nodesets/sles-11sp1-x64.yml | 10 + .../nodesets/ubuntu-server-10044-x64.yml | 10 + .../nodesets/ubuntu-server-12042-x64.yml | 10 + .../nodesets/ubuntu-server-1404-x64.yml | 11 + .../concat/spec/acceptance/order_spec.rb | 123 + .../spec/acceptance/quoted_paths_spec.rb | 42 + .../concat/spec/acceptance/replace_spec.rb | 262 + .../concat/spec/acceptance/specinfra_stubs.rb | 19 + .../spec/acceptance/symbolic_name_spec.rb | 35 + .../concat/spec/acceptance/validation_spec.rb | 35 + .../concat/spec/acceptance/warn_spec.rb | 104 + .../puppet/modules/concat/spec/spec.opts | 6 + .../puppet/modules/concat/spec/spec_helper.rb | 1 + .../concat/spec/spec_helper_acceptance.rb | 61 + .../spec/unit/classes/concat_setup_spec.rb | 96 + .../spec/unit/defines/concat_fragment_spec.rb | 296 + .../concat/spec/unit/defines/concat_spec.rb | 416 + .../spec/unit/facts/concat_basedir_spec.rb | 18 + .../puppet/modules/concat/tests/fragment.pp | 19 + .../puppet/modules/concat/tests/init.pp | 7 + .../modules/diverse_functions/README.md | 88 + .../diverse_functions/examples/default.pp | 5 + .../examples/inside-a-class.pp | 9 + .../parser/functions/validate_platform.rb | 51 + .../modules/diverse_functions/metadata.json | 32 + .../diverse_functions/spec/spec_helper.rb | 17 + .../modules/diverse_functions/stamp.yml | 6 + .../modules/diverse_functions/tests/init.pp | 11 + .../puppet/modules/environment/LICENSE | 19 + .../puppet/modules/environment/README.md | 42 + .../puppet/modules/environment/Rakefile | 18 + .../modules/environment/examples/default.pp | 6 + .../modules/environment/manifests/init.pp | 49 + .../puppet/modules/environment/metadata.json | 43 + .../environment/spec/classes/init_spec.rb | 7 + .../modules/environment/spec/spec_helper.rb | 17 + .../puppet/modules/environment/stamp.yml | 6 + .../puppet/modules/environment/tests/init.pp | 12 + .../puppet/modules/stdlib/.gemspec | 40 + .../puppet/modules/stdlib/.project | 23 + .../puppet/modules/stdlib/.rspec | 4 + .../puppet/modules/stdlib/.sync.yml | 9 + .../puppet/modules/stdlib/.travis.yml | 17 + .../puppet/modules/stdlib/CHANGELOG.md | 485 + .../puppet/modules/stdlib/CONTRIBUTING.md | 220 + .../puppet/modules/stdlib/Gemfile | 35 + .../puppet/modules/stdlib/LICENSE | 19 + .../puppet/modules/stdlib/README.markdown | 715 + .../modules/stdlib/README_DEVELOPER.markdown | 35 + .../modules/stdlib/README_SPECS.markdown | 7 + .../modules/stdlib/RELEASE_PROCESS.markdown | 24 + .../puppet/modules/stdlib/Rakefile | 18 + .../modules/stdlib/lib/facter/facter_dot_d.rb | 202 + .../modules/stdlib/lib/facter/pe_version.rb | 53 + .../stdlib/lib/facter/puppet_vardir.rb | 26 + .../modules/stdlib/lib/facter/root_home.rb | 32 + .../stdlib/lib/facter/util/puppet_settings.rb | 21 + .../stdlib/lib/puppet/parser/functions/abs.rb | 36 + .../lib/puppet/parser/functions/any2array.rb | 33 + .../lib/puppet/parser/functions/base64.rb | 37 + .../lib/puppet/parser/functions/bool2num.rb | 26 + .../lib/puppet/parser/functions/bool2str.rb | 27 + .../lib/puppet/parser/functions/camelcase.rb | 33 + .../lib/puppet/parser/functions/capitalize.rb | 33 + .../lib/puppet/parser/functions/chomp.rb | 34 + .../lib/puppet/parser/functions/chop.rb | 36 + .../lib/puppet/parser/functions/concat.rb | 37 + .../lib/puppet/parser/functions/count.rb | 22 + .../lib/puppet/parser/functions/deep_merge.rb | 44 + .../parser/functions/defined_with_params.rb | 35 + .../lib/puppet/parser/functions/delete.rb | 46 + .../lib/puppet/parser/functions/delete_at.rb | 49 + .../parser/functions/delete_undef_values.rb | 34 + .../puppet/parser/functions/delete_values.rb | 26 + .../lib/puppet/parser/functions/difference.rb | 36 + .../lib/puppet/parser/functions/dirname.rb | 15 + .../lib/puppet/parser/functions/downcase.rb | 32 + .../lib/puppet/parser/functions/empty.rb | 27 + .../parser/functions/ensure_packages.rb | 35 + .../parser/functions/ensure_resource.rb | 45 + .../lib/puppet/parser/functions/flatten.rb | 33 + .../lib/puppet/parser/functions/floor.rb | 25 + .../puppet/parser/functions/fqdn_rotate.rb | 45 + .../parser/functions/get_module_path.rb | 17 + .../lib/puppet/parser/functions/getparam.rb | 35 + .../lib/puppet/parser/functions/getvar.rb | 29 + .../lib/puppet/parser/functions/grep.rb | 33 + .../parser/functions/has_interface_with.rb | 68 + .../puppet/parser/functions/has_ip_address.rb | 25 + .../puppet/parser/functions/has_ip_network.rb | 25 + .../lib/puppet/parser/functions/has_key.rb | 28 + .../lib/puppet/parser/functions/hash.rb | 41 + .../puppet/parser/functions/intersection.rb | 34 + .../lib/puppet/parser/functions/is_array.rb | 22 + .../lib/puppet/parser/functions/is_bool.rb | 22 + .../puppet/parser/functions/is_domain_name.rb | 50 + .../lib/puppet/parser/functions/is_float.rb | 30 + .../parser/functions/is_function_available.rb | 26 + .../lib/puppet/parser/functions/is_hash.rb | 22 + .../lib/puppet/parser/functions/is_integer.rb | 45 + .../puppet/parser/functions/is_ip_address.rb | 32 + .../puppet/parser/functions/is_mac_address.rb | 27 + .../lib/puppet/parser/functions/is_numeric.rb | 75 + .../lib/puppet/parser/functions/is_string.rb | 26 + .../lib/puppet/parser/functions/join.rb | 41 + .../parser/functions/join_keys_to_values.rb | 47 + .../lib/puppet/parser/functions/keys.rb | 26 + .../lib/puppet/parser/functions/loadyaml.rb | 20 + .../lib/puppet/parser/functions/lstrip.rb | 32 + .../stdlib/lib/puppet/parser/functions/max.rb | 21 + .../lib/puppet/parser/functions/member.rb | 62 + .../lib/puppet/parser/functions/merge.rb | 34 + .../stdlib/lib/puppet/parser/functions/min.rb | 21 + .../lib/puppet/parser/functions/num2bool.rb | 43 + .../lib/puppet/parser/functions/parsejson.rb | 24 + .../lib/puppet/parser/functions/parseyaml.rb | 24 + .../lib/puppet/parser/functions/pick.rb | 29 + .../puppet/parser/functions/pick_default.rb | 35 + .../lib/puppet/parser/functions/prefix.rb | 45 + .../lib/puppet/parser/functions/private.rb | 29 + .../lib/puppet/parser/functions/range.rb | 88 + .../lib/puppet/parser/functions/reject.rb | 31 + .../lib/puppet/parser/functions/reverse.rb | 27 + .../lib/puppet/parser/functions/rstrip.rb | 31 + .../lib/puppet/parser/functions/shuffle.rb | 45 + .../lib/puppet/parser/functions/size.rb | 48 + .../lib/puppet/parser/functions/sort.rb | 27 + .../lib/puppet/parser/functions/squeeze.rb | 36 + .../lib/puppet/parser/functions/str2bool.rb | 46 + .../parser/functions/str2saltedsha512.rb | 32 + .../lib/puppet/parser/functions/strftime.rb | 107 + .../lib/puppet/parser/functions/strip.rb | 38 + .../lib/puppet/parser/functions/suffix.rb | 45 + .../lib/puppet/parser/functions/swapcase.rb | 38 + .../lib/puppet/parser/functions/time.rb | 49 + .../lib/puppet/parser/functions/to_bytes.rb | 31 + .../lib/puppet/parser/functions/type.rb | 50 + .../lib/puppet/parser/functions/union.rb | 34 + .../lib/puppet/parser/functions/unique.rb | 50 + .../lib/puppet/parser/functions/upcase.rb | 40 + .../lib/puppet/parser/functions/uriescape.rb | 34 + .../functions/validate_absolute_path.rb | 56 + .../puppet/parser/functions/validate_array.rb | 33 + .../parser/functions/validate_augeas.rb | 83 + .../puppet/parser/functions/validate_bool.rb | 34 + .../puppet/parser/functions/validate_cmd.rb | 52 + .../puppet/parser/functions/validate_hash.rb | 33 + .../parser/functions/validate_ipv4_address.rb | 48 + .../parser/functions/validate_ipv6_address.rb | 49 + .../puppet/parser/functions/validate_re.rb | 40 + .../parser/functions/validate_slength.rb | 71 + .../parser/functions/validate_string.rb | 38 + .../lib/puppet/parser/functions/values.rb | 39 + .../lib/puppet/parser/functions/values_at.rb | 99 + .../stdlib/lib/puppet/parser/functions/zip.rb | 39 + .../lib/puppet/provider/file_line/ruby.rb | 85 + .../modules/stdlib/lib/puppet/type/anchor.rb | 46 + .../stdlib/lib/puppet/type/file_line.rb | 75 + .../puppet/modules/stdlib/manifests/init.pp | 20 + .../puppet/modules/stdlib/manifests/stages.pp | 43 + .../puppet/modules/stdlib/metadata.json | 113 + .../stdlib/spec/acceptance/abs_spec.rb | 30 + .../stdlib/spec/acceptance/any2array_spec.rb | 49 + .../stdlib/spec/acceptance/base64_spec.rb | 18 + .../stdlib/spec/acceptance/bool2num_spec.rb | 34 + .../stdlib/spec/acceptance/build_csv.rb | 83 + .../stdlib/spec/acceptance/capitalize_spec.rb | 33 + .../stdlib/spec/acceptance/chomp_spec.rb | 21 + .../stdlib/spec/acceptance/chop_spec.rb | 45 + .../stdlib/spec/acceptance/concat_spec.rb | 18 + .../stdlib/spec/acceptance/count_spec.rb | 30 + .../stdlib/spec/acceptance/deep_merge_spec.rb | 20 + .../acceptance/defined_with_params_spec.rb | 22 + .../stdlib/spec/acceptance/delete_at_spec.rb | 19 + .../stdlib/spec/acceptance/delete_spec.rb | 19 + .../acceptance/delete_undef_values_spec.rb | 19 + .../spec/acceptance/delete_values_spec.rb | 25 + .../stdlib/spec/acceptance/difference_spec.rb | 26 + .../stdlib/spec/acceptance/dirname_spec.rb | 42 + .../stdlib/spec/acceptance/downcase_spec.rb | 39 + .../stdlib/spec/acceptance/empty_spec.rb | 39 + .../spec/acceptance/ensure_packages_spec.rb | 22 + .../spec/acceptance/ensure_resource_spec.rb | 22 + .../stdlib/spec/acceptance/flatten_spec.rb | 39 + .../stdlib/spec/acceptance/floor_spec.rb | 39 + .../spec/acceptance/fqdn_rotate_spec.rb | 47 + .../spec/acceptance/get_module_path_spec.rb | 27 + .../stdlib/spec/acceptance/getparam_spec.rb | 24 + .../stdlib/spec/acceptance/getvar_spec.rb | 26 + .../stdlib/spec/acceptance/grep_spec.rb | 26 + .../acceptance/has_interface_with_spec.rb | 54 + .../spec/acceptance/has_ip_address_spec.rb | 33 + .../spec/acceptance/has_ip_network_spec.rb | 33 + .../stdlib/spec/acceptance/has_key_spec.rb | 41 + .../stdlib/spec/acceptance/hash_spec.rb | 26 + .../spec/acceptance/intersection_spec.rb | 27 + .../stdlib/spec/acceptance/is_array_spec.rb | 67 + .../stdlib/spec/acceptance/is_bool_spec.rb | 81 + .../spec/acceptance/is_domain_name_spec.rb | 83 + .../stdlib/spec/acceptance/is_float_spec.rb | 86 + .../acceptance/is_function_available_spec.rb | 58 + .../stdlib/spec/acceptance/is_hash_spec.rb | 63 + .../stdlib/spec/acceptance/is_integer_spec.rb | 95 + .../spec/acceptance/is_ip_address_spec.rb | 80 + .../spec/acceptance/is_mac_address_spec.rb | 38 + .../stdlib/spec/acceptance/is_numeric_spec.rb | 95 + .../stdlib/spec/acceptance/is_string_spec.rb | 102 + .../acceptance/join_keys_to_values_spec.rb | 24 + .../stdlib/spec/acceptance/join_spec.rb | 26 + .../stdlib/spec/acceptance/keys_spec.rb | 23 + .../stdlib/spec/acceptance/loadyaml_spec.rb | 33 + .../stdlib/spec/acceptance/lstrip_spec.rb | 34 + .../stdlib/spec/acceptance/max_spec.rb | 20 + .../stdlib/spec/acceptance/member_spec.rb | 54 + .../stdlib/spec/acceptance/merge_spec.rb | 23 + .../stdlib/spec/acceptance/min_spec.rb | 20 + .../acceptance/nodesets/centos-59-x64.yml | 10 + .../acceptance/nodesets/centos-6-vcloud.yml | 15 + .../acceptance/nodesets/centos-64-x64-pe.yml | 12 + .../acceptance/nodesets/centos-64-x64.yml | 10 + .../acceptance/nodesets/centos-65-x64.yml | 10 + .../spec/acceptance/nodesets/default.yml | 10 + .../acceptance/nodesets/fedora-18-x64.yml | 10 + .../spec/acceptance/nodesets/sles-11-x64.yml | 10 + .../nodesets/ubuntu-server-10044-x64.yml | 10 + .../nodesets/ubuntu-server-12042-x64.yml | 10 + .../nodesets/ubuntu-server-1404-x64.yml | 11 + .../acceptance/nodesets/windows-2003-i386.yml | 26 + .../nodesets/windows-2003-x86_64.yml | 26 + .../nodesets/windows-2008-x86_64.yml | 26 + .../nodesets/windows-2008r2-x86_64.yml | 26 + .../nodesets/windows-2012-x86_64.yml | 26 + .../nodesets/windows-2012r2-x86_64.yml | 26 + .../stdlib/spec/acceptance/num2bool_spec.rb | 76 + .../stdlib/spec/acceptance/parsejson_spec.rb | 34 + .../stdlib/spec/acceptance/parseyaml_spec.rb | 35 + .../spec/acceptance/pick_default_spec.rb | 54 + .../stdlib/spec/acceptance/pick_spec.rb | 44 + .../stdlib/spec/acceptance/prefix_spec.rb | 42 + .../stdlib/spec/acceptance/range_spec.rb | 36 + .../stdlib/spec/acceptance/reject_spec.rb | 42 + .../stdlib/spec/acceptance/reverse_spec.rb | 23 + .../stdlib/spec/acceptance/rstrip_spec.rb | 34 + .../stdlib/spec/acceptance/shuffle_spec.rb | 34 + .../stdlib/spec/acceptance/size_spec.rb | 55 + .../stdlib/spec/acceptance/sort_spec.rb | 34 + .../stdlib/spec/acceptance/squeeze_spec.rb | 47 + .../stdlib/spec/acceptance/str2bool_spec.rb | 31 + .../spec/acceptance/str2saltedsha512_spec.rb | 22 + .../stdlib/spec/acceptance/strftime_spec.rb | 22 + .../stdlib/spec/acceptance/strip_spec.rb | 34 + .../stdlib/spec/acceptance/suffix_spec.rb | 42 + .../stdlib/spec/acceptance/swapcase_spec.rb | 22 + .../stdlib/spec/acceptance/time_spec.rb | 36 + .../stdlib/spec/acceptance/to_bytes_spec.rb | 27 + .../stdlib/spec/acceptance/type_spec.rb | 37 + .../stdlib/spec/acceptance/union_spec.rb | 24 + .../stdlib/spec/acceptance/unique_spec.rb | 33 + .../spec/acceptance/unsupported_spec.rb | 11 + .../stdlib/spec/acceptance/upcase_spec.rb | 33 + .../stdlib/spec/acceptance/uriescape_spec.rb | 23 + .../acceptance/validate_absolute_path_spec.rb | 31 + .../spec/acceptance/validate_array_spec.rb | 37 + .../spec/acceptance/validate_augeas_spec.rb | 63 + .../spec/acceptance/validate_bool_spec.rb | 37 + .../spec/acceptance/validate_cmd_spec.rb | 52 + .../spec/acceptance/validate_hash_spec.rb | 37 + .../acceptance/validate_ipv4_address_spec.rb | 31 + .../acceptance/validate_ipv6_address_spec.rb | 31 + .../spec/acceptance/validate_re_spec.rb | 47 + .../spec/acceptance/validate_slength_spec.rb | 72 + .../spec/acceptance/validate_string_spec.rb | 36 + .../stdlib/spec/acceptance/values_at_spec.rb | 73 + .../stdlib/spec/acceptance/values_spec.rb | 35 + .../stdlib/spec/acceptance/zip_spec.rb | 86 + .../stdlib/spec/classes/anchor_spec.rb | 30 + .../modules/stdlib/spec/functions/abs_spec.rb | 25 + .../stdlib/spec/functions/any2array_spec.rb | 55 + .../stdlib/spec/functions/base64_spec.rb | 34 + .../stdlib/spec/functions/bool2num_spec.rb | 38 + .../stdlib/spec/functions/capitalize_spec.rb | 28 + .../stdlib/spec/functions/chomp_spec.rb | 28 + .../stdlib/spec/functions/chop_spec.rb | 28 + .../stdlib/spec/functions/concat_spec.rb | 35 + .../stdlib/spec/functions/count_spec.rb | 31 + .../stdlib/spec/functions/deep_merge_spec.rb | 105 + .../functions/defined_with_params_spec.rb | 37 + .../stdlib/spec/functions/delete_at_spec.rb | 25 + .../stdlib/spec/functions/delete_spec.rb | 56 + .../functions/delete_undef_values_spec.rb | 41 + .../spec/functions/delete_values_spec.rb | 36 + .../stdlib/spec/functions/difference_spec.rb | 19 + .../stdlib/spec/functions/dirname_spec.rb | 24 + .../stdlib/spec/functions/downcase_spec.rb | 33 + .../stdlib/spec/functions/empty_spec.rb | 32 + .../spec/functions/ensure_packages_spec.rb | 81 + .../spec/functions/ensure_resource_spec.rb | 113 + .../stdlib/spec/functions/flatten_spec.rb | 27 + .../stdlib/spec/functions/floor_spec.rb | 39 + .../stdlib/spec/functions/fqdn_rotate_spec.rb | 43 + .../spec/functions/get_module_path_spec.rb | 46 + .../stdlib/spec/functions/getparam_spec.rb | 76 + .../stdlib/spec/functions/getvar_spec.rb | 37 + .../stdlib/spec/functions/grep_spec.rb | 19 + .../spec/functions/has_interface_with_spec.rb | 64 + .../spec/functions/has_ip_address_spec.rb | 39 + .../spec/functions/has_ip_network_spec.rb | 36 + .../stdlib/spec/functions/has_key_spec.rb | 42 + .../stdlib/spec/functions/hash_spec.rb | 19 + .../spec/functions/intersection_spec.rb | 19 + .../stdlib/spec/functions/is_array_spec.rb | 29 + .../stdlib/spec/functions/is_bool_spec.rb | 44 + .../spec/functions/is_domain_name_spec.rb | 64 + .../stdlib/spec/functions/is_float_spec.rb | 33 + .../spec/functions/is_function_available.rb | 31 + .../stdlib/spec/functions/is_hash_spec.rb | 29 + .../stdlib/spec/functions/is_integer_spec.rb | 69 + .../spec/functions/is_ip_address_spec.rb | 39 + .../spec/functions/is_mac_address_spec.rb | 29 + .../stdlib/spec/functions/is_numeric_spec.rb | 119 + .../stdlib/spec/functions/is_string_spec.rb | 34 + .../functions/join_keys_to_values_spec.rb | 40 + .../stdlib/spec/functions/join_spec.rb | 19 + .../stdlib/spec/functions/keys_spec.rb | 21 + .../stdlib/spec/functions/loadyaml_spec.rb | 25 + .../stdlib/spec/functions/lstrip_spec.rb | 28 + .../modules/stdlib/spec/functions/max_spec.rb | 27 + .../stdlib/spec/functions/member_spec.rb | 34 + .../stdlib/spec/functions/merge_spec.rb | 52 + .../modules/stdlib/spec/functions/min_spec.rb | 27 + .../stdlib/spec/functions/num2bool_spec.rb | 67 + .../stdlib/spec/functions/parsejson_spec.rb | 22 + .../stdlib/spec/functions/parseyaml_spec.rb | 24 + .../spec/functions/pick_default_spec.rb | 58 + .../stdlib/spec/functions/pick_spec.rb | 34 + .../stdlib/spec/functions/prefix_spec.rb | 28 + .../stdlib/spec/functions/private_spec.rb | 55 + .../stdlib/spec/functions/range_spec.rb | 86 + .../stdlib/spec/functions/reject_spec.rb | 20 + .../stdlib/spec/functions/reverse_spec.rb | 28 + .../stdlib/spec/functions/rstrip_spec.rb | 33 + .../stdlib/spec/functions/shuffle_spec.rb | 33 + .../stdlib/spec/functions/size_spec.rb | 24 + .../stdlib/spec/functions/sort_spec.rb | 24 + .../stdlib/spec/functions/squeeze_spec.rb | 24 + .../stdlib/spec/functions/str2bool_spec.rb | 31 + .../spec/functions/str2saltedsha512_spec.rb | 45 + .../stdlib/spec/functions/strftime_spec.rb | 29 + .../stdlib/spec/functions/strip_spec.rb | 27 + .../stdlib/spec/functions/suffix_spec.rb | 27 + .../stdlib/spec/functions/swapcase_spec.rb | 28 + .../stdlib/spec/functions/time_spec.rb | 29 + .../stdlib/spec/functions/to_bytes_spec.rb | 83 + .../stdlib/spec/functions/type_spec.rb | 43 + .../stdlib/spec/functions/union_spec.rb | 19 + .../stdlib/spec/functions/unique_spec.rb | 33 + .../stdlib/spec/functions/upcase_spec.rb | 33 + .../stdlib/spec/functions/uriescape_spec.rb | 33 + .../functions/validate_absolute_path_spec.rb | 84 + .../spec/functions/validate_array_spec.rb | 38 + .../spec/functions/validate_augeas_spec.rb | 103 + .../spec/functions/validate_bool_spec.rb | 51 + .../spec/functions/validate_cmd_spec.rb | 48 + .../spec/functions/validate_hash_spec.rb | 43 + .../functions/validate_ipv4_address_spec.rb | 64 + .../functions/validate_ipv6_address_spec.rb | 67 + .../stdlib/spec/functions/validate_re_spec.rb | 77 + .../spec/functions/validate_slength_spec.rb | 67 + .../spec/functions/validate_string_spec.rb | 60 + .../stdlib/spec/functions/values_at_spec.rb | 38 + .../stdlib/spec/functions/values_spec.rb | 31 + .../modules/stdlib/spec/functions/zip_spec.rb | 31 + .../stdlib/spec/lib/puppet_spec/compiler.rb | 47 + .../stdlib/spec/lib/puppet_spec/database.rb | 30 + .../stdlib/spec/lib/puppet_spec/files.rb | 61 + .../stdlib/spec/lib/puppet_spec/fixtures.rb | 29 + .../stdlib/spec/lib/puppet_spec/matchers.rb | 121 + .../stdlib/spec/lib/puppet_spec/modules.rb | 27 + .../stdlib/spec/lib/puppet_spec/pops.rb | 17 + .../stdlib/spec/lib/puppet_spec/scope.rb | 15 + .../stdlib/spec/lib/puppet_spec/settings.rb | 16 + .../stdlib/spec/lib/puppet_spec/verbose.rb | 10 + .../monkey_patches/alias_should_to_must.rb | 9 + .../spec/monkey_patches/publicize_methods.rb | 11 + .../puppet/modules/stdlib/spec/spec.opts | 6 + .../puppet/modules/stdlib/spec/spec_helper.rb | 34 + .../stdlib/spec/spec_helper_acceptance.rb | 50 + .../spec/unit/facter/facter_dot_d_spec.rb | 32 + .../spec/unit/facter/pe_version_spec.rb | 76 + .../stdlib/spec/unit/facter/root_home_spec.rb | 52 + .../unit/facter/util/puppet_settings_spec.rb | 36 + .../puppet/parser/functions/bool2str_spec.rb | 46 + .../puppet/parser/functions/camelcase_spec.rb | 24 + .../puppet/provider/file_line/ruby_spec.rb | 225 + .../spec/unit/puppet/type/anchor_spec.rb | 11 + .../spec/unit/puppet/type/file_line_spec.rb | 70 + .../puppet/modules/stdlib/tests/file_line.pp | 9 + .../stdlib/tests/has_interface_with.pp | 10 + .../modules/stdlib/tests/has_ip_address.pp | 3 + .../modules/stdlib/tests/has_ip_network.pp | 4 + .../puppet/modules/stdlib/tests/init.pp | 1 + .../puppet/modules/ubuntu/LICENSE | 19 + .../puppet/modules/ubuntu/README.md | 42 + .../puppet/modules/ubuntu/examples/clean.pp | 3 + .../puppet/modules/ubuntu/examples/default.pp | 6 + .../puppet/modules/ubuntu/examples/upgrade.pp | 3 + .../puppet/modules/ubuntu/manifests/clean.pp | 13 + .../puppet/modules/ubuntu/manifests/init.pp | 37 + .../puppet/modules/ubuntu/manifests/update.pp | 13 + .../modules/ubuntu/manifests/upgrade.pp | 26 + .../puppet/modules/ubuntu/metadata.json | 45 + .../puppet/modules/ubuntu/spec/spec_helper.rb | 17 + .../puppet/modules/ubuntu/stamp.yml | 6 + .../puppet/modules/ubuntu/tests/init.pp | 11 + .../stamp.yml | 3 + .../vagrant-box-factory-apache/LICENSE | 19 + .../vagrant-box-factory-apache/README.md | 26 + .../vagrant-box-factory-apache/Vagrantfile | 20 + .../VagrantfileToInclude | 6 + .../vagrant-box-factory-apache/box-author.txt | 1 + .../vagrant-box-factory-apache/box-name.txt | 1 + .../box-version.txt | 1 + .../vagrant-box-factory-apache/build.sh | 13 + .../vagrant-box-factory-apache/guestvm | 14 + .../install-puppet-modules.sh | 13 + .../manifests/default.pp | 15 + .../vagrant-box-factory-apache/stamp.yml | 3 + .../vagrant-box-factory-django/LICENSE | 19 + .../vagrant-box-factory-django/README.md | 25 + .../vagrant-box-factory-django/Vagrantfile | 19 + .../VagrantfileToInclude | 7 + .../vagrant-box-factory-django/box-author.txt | 1 + .../vagrant-box-factory-django/box-name.txt | 1 + .../box-version.txt | 1 + .../vagrant-box-factory-django/build.sh | 13 + .../vagrant-box-factory-django/guestvm | 9 + .../install-puppet-modules.sh | 18 + .../manifests/default.pp | 11 + .../vagrant-box-factory-django/stamp.yml | 3 + .../vagrant-box-factory-rails/LICENSE | 19 + .../vagrant-box-factory-rails/README.md | 26 + .../vagrant-box-factory-rails/Vagrantfile | 19 + .../VagrantfileToInclude | 7 + .../vagrant-box-factory-rails/box-author.txt | 1 + .../vagrant-box-factory-rails/box-name.txt | 1 + .../vagrant-box-factory-rails/box-version.txt | 1 + .../vagrant-box-factory-rails/build.sh | 13 + .../vagrant-box-factory-rails/guestvm | 9 + .../install-puppet-modules.sh | 19 + .../manifests/default.pp | 17 + .../vagrant-box-factory-rails/stamp.yml | 3 + .../vagrant-box-factory-sinatra/LICENSE | 19 + .../vagrant-box-factory-sinatra/README.md | 27 + .../vagrant-box-factory-sinatra/Vagrantfile | 19 + .../VagrantfileToInclude | 7 + .../box-author.txt | 1 + .../vagrant-box-factory-sinatra/box-name.txt | 1 + .../box-version.txt | 1 + .../vagrant-box-factory-sinatra/build.sh | 13 + .../vagrant-box-factory-sinatra/guestvm | 9 + .../install-puppet-modules.sh | 17 + .../manifests/default.pp | 14 + .../vagrant-box-factory-sinatra/stamp.yml | 3 + .../vagrant-box-factory-symfony/LICENSE | 19 + .../vagrant-box-factory-symfony/README.md | 26 + .../vagrant-box-factory-symfony/Vagrantfile | 19 + .../VagrantfileToInclude | 11 + .../box-author.txt | 1 + .../vagrant-box-factory-symfony/box-name.txt | 1 + .../box-version.txt | 1 + .../vagrant-box-factory-symfony/build.sh | 13 + .../vagrant-box-factory-symfony/guestvm | 9 + .../install-puppet-modules.sh | 28 + .../manifests/default.pp | 1 + .../vagrant-box-factory-symfony/stamp.yml | 11 + .../vagrant-box-factory-symfony/symfony.json | 50 + .../chapter-10/10-01-multimachine/Vagrantfile | 11 + .../chapter-10/10-02-multimachine/Vagrantfile | 12 + .../chapter-10/10-03-box-version/Vagrantfile | 4 + .../chapter-10/10-04-box-version/Vagrantfile | 4 + .../chapter-10/10-05-box-version/Vagrantfile | 4 + .../chapter-10/10-06-box-version/Vagrantfile | 4 + pro-vagrant-v1.0.1/commands.md | 69 + pro-vagrant-v1.0.1/stamp.yml | 3 + pro-vagrant-v1.0.1/update-submodules.sh | 29 + pro-vagrant-v1.0.1/version.txt | 1 + 2430 files changed, 228612 insertions(+) create mode 100644 9781484200742.jpg create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 contributing.md create mode 100644 pro-vagrant-v1.0.1/LICENSE create mode 100644 pro-vagrant-v1.0.1/README.md create mode 100644 pro-vagrant-v1.0.1/build.sh create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/app.css create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap-responsive.css create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap-responsive.min.css create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap.css create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap.min.css create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/1.json create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/2.json create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/3.json create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/songs.json create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/index.html create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/app.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/controllers.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/directives.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/filters.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/services.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.min.js.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.min.js.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-csp.css create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.min.js.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-mocks.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.min.js.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-route.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-route.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-route.min.js.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.min.js.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-scenario.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-touch.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-touch.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-touch.min.js.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular.min.js.gzip create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular.min.js.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/errors.json create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_af-na.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_af-za.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_af.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_am-et.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_am.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-001.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-ae.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-bh.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-dz.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-eg.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-iq.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-jo.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-kw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-lb.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-ly.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-ma.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-om.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-qa.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-sa.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-sd.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-sy.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-tn.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar-ye.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ar.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_bg-bg.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_bg.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_bn-bd.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_bn-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_bn.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ca-ad.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ca-es.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ca.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_cs-cz.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_cs.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_da-dk.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_da.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_de-at.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_de-be.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_de-ch.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_de-de.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_de-li.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_de-lu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_de.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_el-cy.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_el-gr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_el.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-as.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-au.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-bb.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-be.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-bm.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-bw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-bz.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-ca.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-dsrt-us.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-dsrt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-fm.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-gb.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-gu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-gy.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-hk.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-ie.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-iso.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-jm.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-mh.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-mp.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-mt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-mu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-na.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-nz.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-ph.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-pk.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-pr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-pw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-sg.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-tc.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-tt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-um.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-us.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-vg.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-vi.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-za.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en-zw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_en.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-419.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-ar.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-bo.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-cl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-co.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-cr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-do.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-ea.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-ec.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-es.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-gq.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-gt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-hn.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-ic.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-mx.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-ni.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-pa.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-pe.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-pr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-py.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-sv.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-us.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-uy.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es-ve.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_es.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_et-ee.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_et.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_eu-es.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_eu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fa-af.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fa-ir.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fa.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fi-fi.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fi.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fil-ph.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fil.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-be.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-bf.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-bi.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-bj.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-bl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-ca.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-cd.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-cf.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-cg.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-ch.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-ci.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-cm.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-dj.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-fr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-ga.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-gf.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-gn.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-gp.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-gq.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-km.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-lu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-mc.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-mf.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-mg.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-ml.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-mq.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-ne.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-re.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr-yt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_fr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_gl-es.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_gl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_gsw-ch.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_gsw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_gu-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_gu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_he-il.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_he.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_hi-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_hi.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_hr-hr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_hr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_hu-hu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_hu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_id-id.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_id.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_is-is.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_is.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_it-it.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_it-sm.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_it.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_iw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ja-jp.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ja.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_kn-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_kn.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ko-kr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ko.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ln-cd.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ln.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_lt-lt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_lt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_lv-lv.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_lv.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ml-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ml.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_mr-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_mr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ms-my.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ms.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_mt-mt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_mt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_nl-cw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_nl-nl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_nl-sx.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_nl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_no.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_or-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_or.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_pl-pl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_pl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_pt-br.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_pt-pt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_pt.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ro-ro.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ro.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ru-ru.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ru.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sk-sk.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sk.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sl-si.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sq-al.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sq.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sr-cyrl-rs.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sr-latn-rs.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sv-se.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sv.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sw-tz.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_sw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ta-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ta.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_te-in.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_te.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_th-th.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_th.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_tl.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_tr-tr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_tr.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_uk-ua.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_uk.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ur-pk.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_ur.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_vi-vn.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_vi.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_zh-cn.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_zh-hans-cn.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_zh-hk.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_zh-tw.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_zh.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_zu-za.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/i18n/angular-locale_zu.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/version.json create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/jquery/jquery-1.10.2.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/jquery/jquery-1.10.2.min.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/jquery/jquery-1.10.2.min.map create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/manage.py create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/__init__.py create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/settings.py create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/templates/baa.html create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/templates/base.html create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/templates/hush.html create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/templates/sixpence.html create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/urls.py create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/views.py create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/songs/songs/wsgi.py create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-django/version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/Gemfile.lock create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/assets/images/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/assets/javascripts/application.js create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/assets/javascripts/lyrics.coffee create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/assets/stylesheets/application.css create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/assets/stylesheets/lyrics.scss create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/controllers/application_controller.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/controllers/concerns/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/controllers/lyrics_controller.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/helpers/application_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/helpers/lyrics_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/mailers/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/models/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/models/concerns/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/views/layouts/application.html.erb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/views/lyrics/baa.html.erb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/views/lyrics/hush.html.erb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/app/views/lyrics/sixpence.html.erb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/bin/bundle create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/bin/rails create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/bin/rake create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/bin/setup create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/bin/spring create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config.ru create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/application.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/boot.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/database.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/environment.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/environments/development.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/environments/production.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/environments/test.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/initializers/assets.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/initializers/backtrace_silencers.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/initializers/cookies_serializer.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/initializers/filter_parameter_logging.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/initializers/inflections.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/initializers/mime_types.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/initializers/session_store.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/initializers/wrap_parameters.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/locales/en.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/routes.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/config/secrets.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/db/seeds.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/lib/assets/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/lib/tasks/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/log/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/public/404.html create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/public/422.html create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/public/500.html create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/public/favicon.ico create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/public/robots.txt create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/test/controllers/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/test/controllers/lyrics_controller_test.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/test/fixtures/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/test/helpers/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/test/integration/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/test/mailers/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/test/models/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/test/test_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/vendor/assets/javascripts/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/vendor/assets/stylesheets/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-rails/version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/.travis.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/00-extra/code/DoctrineFixturesBundle/DataFixtures/ORM/LoadUserData.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/00-extra/db/create-empty-database.sql create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/.htaccess create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/AppCache.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/AppKernel.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/Resources/TwigBundle/views/Exception/error404.html.twig create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/Resources/TwigBundle/views/Exception/error500.html.twig create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/Resources/views/base.html.twig create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/Resources/views/default/index.html.twig create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/SymfonyRequirements.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/autoload.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/check.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/config.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/config_dev.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/config_prod.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/config_test.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/parameters.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/parameters.yml.dist create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/routing.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/routing_dev.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/security.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/config/services.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/console create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/app/phpunit.xml.dist create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/behat.yml create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/composer.json create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/composer.lock create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/features/bootstrap/Context/FeatureContext.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/features/homepage.feature create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/initialize.bash create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/puppet/travis.pp create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/reload.bash create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/run-tests.bash create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/src/.htaccess create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/src/AppBundle/AppBundle.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/src/AppBundle/Controller/DefaultController.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/src/AppBundle/Entity/User.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/src/AppBundle/Resources/views/Default/baa.html.twig create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/src/AppBundle/Resources/views/Default/hush.html.twig create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/src/AppBundle/Resources/views/Default/sixpence.html.twig create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/src/AppBundle/Tests/Controller/DefaultControllerTest.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/web/.htaccess create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/web/app.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/web/app_dev.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/web/apple-touch-icon.png create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/web/config.php create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/web/favicon.ico create mode 100644 pro-vagrant-v1.0.1/chapter-02/songs-app-symfony/web/robots.txt create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/app.rb create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/views/baa.erb create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/views/hush.erb create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/views/layout.erb create mode 100644 pro-vagrant-v1.0.1/chapter-03/songs-app-sinatra/views/sixpence.erb create mode 100644 pro-vagrant-v1.0.1/chapter-04/new-project-chapter-04/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_config.yml create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_includes/footer.html create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_includes/head.html create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_includes/header.html create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_layouts/default.html create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_layouts/page.html create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_layouts/post.html create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_posts/2015-04-18-welcome-to-jekyll.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_sass/_base.scss create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_sass/_layout.scss create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/_sass/_syntax-highlighting.scss create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/about.md create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/css/main.scss create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/feed.xml create mode 100644 pro-vagrant-v1.0.1/chapter-05/corporate-blog/index.html create mode 100644 pro-vagrant-v1.0.1/chapter-05/first-box-factory/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-05/first-box-factory/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_config.yml create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_includes/footer.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_includes/head.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_includes/header.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_layouts/default.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_layouts/page.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_layouts/post.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_posts/2015-03-11-welcome-to-jekyll.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_sass/_base.scss create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_sass/_layout.scss create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/_sass/_syntax-highlighting.scss create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/about.md create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/css/main.scss create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/feed.xml create mode 100644 pro-vagrant-v1.0.1/chapter-06/flowers-vagrant-jekyll-shell/index.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-ansible/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-ansible/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-ansible/playbook.yml create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-chef/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-chef/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-chef/cookbooks/jekyll/recipes/default.rb create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-puppet/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-puppet/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-puppet/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_config.yml create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_includes/footer.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_includes/head.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_includes/header.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_layouts/default.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_layouts/page.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_layouts/post.html create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_posts/2015-03-11-welcome-to-jekyll.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_sass/_base.scss create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_sass/_layout.scss create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/_sass/_syntax-highlighting.scss create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/about.md create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/css/main.scss create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/feed.xml create mode 100644 pro-vagrant-v1.0.1/chapter-06/vagrant-jekyll-shell/index.html create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/AUTHORS create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/CHANGELOG.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/Makefile create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/VERSION create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/bin/Makefile.local.caroline create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/bin/Makefile.local.winry create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/bin/bump.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/bin/register_atlas.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/bin/register_atlas_box_cutter.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/bin/ssh-box.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/bin/test-box.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/bin/test-vagrantcloud-box.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/http/preseed-1504.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/http/preseed-desktop.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/http/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/cmtool.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/desktop.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/docker.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/minimize.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/sshd.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/update.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/vagrant.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/script/vmtool.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/test/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/test/ubuntu_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/tpl/vagrantfile-ubuntu1204-desktop.tpl create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/tpl/vagrantfile-ubuntu1404-desktop.tpl create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/tpl/vagrantfile-ubuntu1410-desktop.tpl create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/tpl/vagrantfile-ubuntu1504-desktop.tpl create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1004-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1004.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1204-desktop.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1204-docker.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1204-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1204.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1404-desktop.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1404-docker.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1404-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1404.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1410-docker.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1410-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1410.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1504-desktop.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1504-docker.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1504-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/boxcutter/ubuntu/ubuntu1504.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/.travis.yml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/NOTICE.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/OLD-BOXES.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/Thorfile create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.common/minimize.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.common/session.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.common/sshd.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.common/vagrant.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.windows/install-chef.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.windows/install-vbox.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.windows/mount-validation.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.windows/oracle-cert.cer create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/.windows/session.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2008r2-standard/Autounattend.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2008r2-standard/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2008r2-standard/definition.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2008r2-standard/install-chef.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2008r2-standard/install-vbox.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2008r2-standard/mount-validation.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2008r2-standard/oracle-cert.cer create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012-standard/Autounattend.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012-standard/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012-standard/definition.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012-standard/install-chef.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012-standard/install-vbox.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012-standard/mount-validation.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012-standard/oracle-cert.cer create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012r2-standard/Autounattend.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012r2-standard/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012r2-standard/definition.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012r2-standard/install-chef.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012r2-standard/install-vbox.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012r2-standard/mount-validation.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-2012r2-standard/oracle-cert.cer create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-7-enterprise/Autounattend.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-7-enterprise/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-7-enterprise/definition.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-7-enterprise/install-chef.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-7-enterprise/install-vbox.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-7-enterprise/mount-validation.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-7-enterprise/oracle-cert.cer create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-8-enterprise/Autounattend.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-8-enterprise/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-8-enterprise/definition.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-8-enterprise/install-chef.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-8-enterprise/install-vbox.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-8-enterprise/mount-validation.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/definitions/windows-8-enterprise/oracle-cert.cer create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/centos-5.11-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/centos-5.11-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/centos-6.6-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/centos-6.6-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/centos-7.0-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/debian-6.0.10-amd64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/debian-6.0.10-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/debian-7.8-amd64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/debian-7.8-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/fedora-20-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/fedora-20-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/fedora-21-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/fedora-21-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/floppy/omnios/README.TXT create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/floppy/solaris10/S99startup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/floppy/solaris10/awesome_prof create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/floppy/solaris10/finish.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/floppy/solaris10/rules.ok create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/floppy/solaris10/sysidcfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/freebsd-10.1-amd64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/freebsd-10.1-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/freebsd-9.3-amd64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/freebsd-9.3-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/centos-5.11/ks.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/centos-6.6/ks.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/centos-7.0/ks.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/debian-6.0/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/debian-7/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/fedora-20/ks.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/fedora-21/ks.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/freebsd-10.1/install.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/freebsd-9.3/install.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/opensuse-13.2/autoinst.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/sles-11/sles-11-sp2-i386-autoinst.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/sles-11/sles-11-sp2-x86_64-autoinst.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/sles-11/sles-11-sp3-i386-autoinst.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/sles-11/sles-11-sp3-x86_64-autoinst.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/sles-12/sles-12-x86_64-autoinst.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/solaris-11/default.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/solaris-11/profile.xml create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/ubuntu-10.04/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/ubuntu-12.04/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/ubuntu-14.04/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/http/ubuntu-14.10/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/macosx-10.7.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/macosx-10.8.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/macosx-10.9.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/omnios-r151010j.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/opensuse-13.2-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/opensuse-13.2-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/oracle-5.11-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/oracle-5.11-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/oracle-6.6-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/oracle-6.6-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/rhel-5.11-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/rhel-5.11-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/rhel-6.6-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/rhel-6.6-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/rhel-7.0-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/centos/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/centos/fix-slow-dns.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/common/chef.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/common/minimize.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/common/shutdown.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/common/sshd.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/common/sudoers.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/common/vagrant.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/common/vmtools.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/debian/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/debian/networking.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/debian/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/debian/sudoers.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/debian/update.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/fedora/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/fedora/fix-slow-dns.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/fedora/ks.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/fedora/shutdown.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/fedora/sudoers.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/freebsd/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/freebsd/minimize.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/freebsd/postinstall.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/freebsd/vmtools.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/macosx/builder.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/macosx/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/macosx/hostname.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/macosx/support/kcpassword create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/macosx/update.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/macosx/vagrant.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/omnios/postinstall.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/omnios/vmtools.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/opensuse/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/opensuse/remove-dvd-source.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/opensuse/sudoers.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/opensuse/zypper-locks.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/sles/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/sles/remove-dvd-source.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/sles/sudoers.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/sles/unsupported-modules.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/sles/zypper-locks.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/solaris/minimize.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/solaris/update.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/solaris/vmtools.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/solaris10/minimize.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/solaris10/post_install.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/solaris10/vmtools.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/ubuntu/cleanup.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/ubuntu/networking.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/ubuntu/preseed.cfg create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/ubuntu/sudoers.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/ubuntu/update.sh create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/windows/install-chef.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/windows/install-vbox.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/windows/mount-validation.bat create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/scripts/windows/oracle-cert.cer create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/sles-11-sp2-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/sles-11-sp2-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/sles-11-sp3-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/sles-11-sp3-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/sles-12-x86_64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/solaris-10.11-x86.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/solaris-10.5-x86.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/solaris-11-x86.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/ubuntu-10.04-amd64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/ubuntu-10.04-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/ubuntu-12.04-amd64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/ubuntu-12.04-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/ubuntu-14.04-amd64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/ubuntu-14.04-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/ubuntu-14.10-amd64.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/ubuntu-14.10-i386.json create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/vagrantfile_templates/macosx.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/vagrantfile_templates/parallels/freebsd.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/chef/bento/packer/vagrantfile_templates/parallels/omnios.rb create mode 100644 pro-vagrant-v1.0.1/chapter-07/using-bento-ubuntu-box/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-07/using-boxcutter-ubuntu-box/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-01-v.name/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-02-v.gui/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-03-v.memory-machine-1/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-03-v.memory-machine-2/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-03-v.memory-machine-3/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-03-v.memory/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-04-v.cpus/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-05-v.customize-modifyvm/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-06-vm.hostname/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-07-vm.post_up_message/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-08-vm.boot_timeout/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-09-ssh.insert_key/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-10-ssh.forward_x11/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-11-box-ubuntu-trusty32/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-12-box-http-apache/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-13-box-apache/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-14-box-box_url/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-15-vm.box-checksum/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-16-forward-many-ports/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-16-forwarded-port/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-17-port-collision-auto-correct/1/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-17-port-collision-auto-correct/2/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-18-private-networks/private-net-1/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-18-private-networks/private-net-2/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-18-private-networks/private-net-3/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-19-dhcp/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-20-public-network/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-21-sync-folder/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-22-sync-multiple-folders/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-27-sync-default/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-28-sync-nfs/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-29-sync-rsync/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-30-sync-smb/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-08/08-31-platform/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/Gemfile.lock create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/assets/images/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/assets/javascripts/application.js create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/assets/javascripts/lyrics.coffee create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/assets/stylesheets/application.css create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/assets/stylesheets/lyrics.scss create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/controllers/application_controller.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/controllers/concerns/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/controllers/lyrics_controller.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/helpers/application_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/helpers/lyrics_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/mailers/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/models/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/models/concerns/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/views/layouts/application.html.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/views/lyrics/baa.html.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/views/lyrics/hush.html.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/app/views/lyrics/sixpence.html.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/bin/bundle create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/bin/rails create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/bin/rake create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/bin/setup create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/bin/spring create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config.ru create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/application.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/boot.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/database.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/environment.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/environments/development.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/environments/production.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/environments/test.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/initializers/assets.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/initializers/backtrace_silencers.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/initializers/cookies_serializer.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/initializers/filter_parameter_logging.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/initializers/inflections.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/initializers/mime_types.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/initializers/session_store.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/initializers/wrap_parameters.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/locales/en.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/routes.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/config/secrets.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/db/seeds.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/install-puppet-modules.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/lib/assets/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/lib/tasks/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/log/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/public/404.html create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/public/422.html create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/public/500.html create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/public/favicon.ico create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/public/robots.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/puppet/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/test/controllers/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/test/controllers/lyrics_controller_test.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/test/fixtures/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/test/helpers/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/test/integration/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/test/mailers/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/test/models/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/test/test_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/vendor/assets/javascripts/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/songs-app-rails-antipattern/vendor/assets/stylesheets/.keep create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/VagrantfileToInclude create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/box-author.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/box-name.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/box-version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/build.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/guestvm create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/.fixtures.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/.geppetto-rc.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/.nodeset.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/.puppet-lint.rc create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/.sync.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/.travis.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/CHANGELOG.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/CONTRIBUTING.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/README.passenger.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/files/httpd create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/lib/puppet/parser/functions/bool2httpd.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/lib/puppet/provider/a2mod.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/lib/puppet/provider/a2mod/a2mod.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/lib/puppet/provider/a2mod/gentoo.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/lib/puppet/provider/a2mod/modfix.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/lib/puppet/provider/a2mod/redhat.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/lib/puppet/type/a2mod.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/balancer.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/balancermember.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/confd/no_accf.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/custom_config.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/default_confd_files.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/default_mods.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/default_mods/load.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/dev.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/fastcgi/server.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/listen.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/actions.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/alias.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/auth_basic.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/auth_cas.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/auth_kerb.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/authn_file.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/authnz_ldap.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/authz_default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/authz_user.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/autoindex.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/cache.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/cgi.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/cgid.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/dav.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/dav_fs.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/dav_svn.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/deflate.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/dev.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/dir.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/disk_cache.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/event.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/expires.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/fastcgi.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/fcgid.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/filter.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/headers.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/include.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/info.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/itk.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/ldap.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/mime.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/mime_magic.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/negotiation.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/nss.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/pagespeed.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/passenger.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/perl.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/peruser.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/php.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/prefork.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/proxy.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/proxy_ajp.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/proxy_balancer.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/proxy_connect.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/proxy_html.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/proxy_http.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/python.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/reqtimeout.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/rewrite.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/rpaf.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/security.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/setenvif.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/shib.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/speling.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/ssl.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/status.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/suexec.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/suphp.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/userdir.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/version.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/vhost_alias.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/worker.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/wsgi.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mod/xsendfile.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/mpm.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/namevirtualhost.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/package.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/params.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/peruser/multiplexer.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/peruser/processor.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/php.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/proxy.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/python.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/security/rule_link.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/service.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/ssl.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/version.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/manifests/vhost.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/apache_parameters_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/apache_ssl_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/basic_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/class_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/custom_config_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/default_mods_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/itk_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_dav_svn_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_deflate_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_fcgid_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_mime_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_negotiation_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_pagespeed_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_passenger_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_php_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_proxy_html_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_security_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/mod_suphp_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/centos-59-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/centos-64-x64-pe.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/centos-64-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/centos-65-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/centos-70-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/debian-607-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/debian-70rc1-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/debian-73-i386.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/debian-73-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/default.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/fedora-18-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-1310-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/prefork_worker_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/service_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/unsupported_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/version.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/acceptance/vhost_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/apache_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/dev_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/alias_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/auth_cas_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/auth_kerb_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/authnz_ldap_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/dav_svn_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/deflate_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/dev_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/dir_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/event_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/fastcgi_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/fcgid_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/info_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/itk_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/mime_magic_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/mime_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/negotiation_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/pagespeed_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/passenger_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/perl_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/peruser_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/php_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/prefork_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/proxy_connect_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/proxy_html_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/python_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/reqtimeout_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/rpaf_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/security_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/shib_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/speling_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/ssl_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/status_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/suphp_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/worker_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/mod/wsgi_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/params_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/classes/service_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/defines/balancermember_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/defines/custom_config_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/defines/fastcgi_server_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/defines/mod_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/defines/modsec_link_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/defines/vhost_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/fixtures/files/negotiation.conf create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/fixtures/files/spec create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/fixtures/modules/site_apache/templates/fake.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/fixtures/templates/negotiation.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/spec.opts create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/spec_helper_acceptance.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/unit/provider/a2mod/gentoo_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/spec/unit/puppet/parser/functions/bool2httpd_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/confd/no-accf.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/fastcgi/server.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/httpd.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/listen.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/alias.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/auth_cas.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/authnz_ldap.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/autoindex.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/cgid.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/dav_fs.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/deflate.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/dir.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/disk_cache.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/event.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/fastcgi.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/fcgid.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/info.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/itk.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/ldap.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/load.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/mime.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/mime_magic.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/mpm_event.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/negotiation.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/nss.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/pagespeed.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/passenger.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/peruser.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/php5.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/prefork.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/proxy.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/proxy_html.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/reqtimeout.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/rpaf.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/security.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/security_crs.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/setenvif.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/ssl.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/status.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/suphp.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/userdir.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/worker.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/mod/wsgi.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/namevirtualhost.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/ports_header.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_access_log.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_action.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_additional_includes.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_aliases.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_allow_encoded_slashes.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_block.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_charsets.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_custom_fragment.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_directories.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_docroot.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_error_document.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_fallbackresource.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_fastcgi.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_file_footer.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_file_header.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_header.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_itk.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_logging.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_passenger.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_php.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_php_admin.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_proxy.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_rack.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_redirect.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_requestheader.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_rewrite.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_scriptalias.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_security.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_serveralias.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_serversignature.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_setenv.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_ssl.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_suexec.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_suphp.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/templates/vhost/_wsgi.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/apache.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/dev.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/mod_load_params.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/mods.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/mods_custom.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/php.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/vhost.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/vhost_directories.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/vhost_ip_based.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/vhost_proxypass.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/vhost_ssl.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/apache/tests/vhosts_without_listen.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/.fixtures.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/.sync.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/.travis.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/CHANGELOG.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/CONTRIBUTING.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/files/concatfragments.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/files/concatfragments.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/lib/facter/concat_basedir.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/lib/puppet/parser/functions/concat_getparam.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/lib/puppet/parser/functions/concat_is_bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/manifests/fragment.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/manifests/setup.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/backup_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/concat_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/deprecation_warnings_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/empty_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/fragment_source_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/fragments_are_always_replaced_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/newline_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/aix-71-vcloud.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/centos-59-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/centos-64-x64-pe.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/centos-64-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/centos-65-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/debian-607-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/debian-70rc1-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/debian-73-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/default.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/fedora-18-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/sles-11-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/sles-11sp1-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/order_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/quoted_paths_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/replace_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/specinfra_stubs.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/symbolic_name_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/validation_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/acceptance/warn_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/spec.opts create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/spec_helper_acceptance.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/unit/classes/concat_setup_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/unit/defines/concat_fragment_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/unit/defines/concat_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/spec/unit/facts/concat_basedir_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/tests/fragment.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/concat/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/diverse_functions/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/diverse_functions/examples/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/diverse_functions/examples/inside-a-class.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/diverse_functions/lib/puppet/parser/functions/validate_platform.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/diverse_functions/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/diverse_functions/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/diverse_functions/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/diverse_functions/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/examples/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/spec/classes/init_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/environment/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/.gemspec create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/.project create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/.rspec create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/.sync.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/.travis.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/CHANGELOG.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/CONTRIBUTING.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/README.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/README_DEVELOPER.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/README_SPECS.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/RELEASE_PROCESS.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/facter/facter_dot_d.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/facter/pe_version.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/facter/puppet_vardir.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/facter/root_home.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/facter/util/puppet_settings.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/abs.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/any2array.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/base64.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/bool2num.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/bool2str.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/camelcase.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/capitalize.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/chomp.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/chop.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/concat.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/count.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/deep_merge.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/defined_with_params.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/delete.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/delete_at.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/delete_undef_values.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/delete_values.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/difference.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/dirname.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/downcase.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/empty.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/flatten.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/floor.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/fqdn_rotate.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/get_module_path.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/getparam.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/getvar.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/grep.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/has_interface_with.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/has_ip_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/has_ip_network.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/has_key.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/hash.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/intersection.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_array.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_domain_name.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_float.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_function_available.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_hash.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_integer.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_ip_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_mac_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_numeric.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/is_string.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/join.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/join_keys_to_values.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/keys.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/loadyaml.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/lstrip.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/max.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/member.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/merge.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/min.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/num2bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/parsejson.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/parseyaml.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/pick.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/pick_default.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/prefix.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/private.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/range.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/reject.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/reverse.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/rstrip.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/shuffle.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/size.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/sort.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/squeeze.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/str2bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/str2saltedsha512.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/strftime.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/strip.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/suffix.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/swapcase.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/time.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/to_bytes.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/type.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/union.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/unique.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/upcase.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/uriescape.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_absolute_path.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_array.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_augeas.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_cmd.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_hash.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_ipv4_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_ipv6_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_re.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_slength.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/validate_string.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/values.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/values_at.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/parser/functions/zip.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/provider/file_line/ruby.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/type/anchor.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/lib/puppet/type/file_line.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/manifests/stages.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/abs_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/any2array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/base64_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/bool2num_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/build_csv.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/capitalize_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/chomp_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/chop_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/concat_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/count_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/deep_merge_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/defined_with_params_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/delete_at_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/delete_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/delete_undef_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/delete_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/difference_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/dirname_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/downcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/empty_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/ensure_packages_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/ensure_resource_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/flatten_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/floor_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/fqdn_rotate_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/get_module_path_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/getparam_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/getvar_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/grep_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/has_interface_with_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/has_ip_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/has_ip_network_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/has_key_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/intersection_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_domain_name_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_float_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_function_available_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_integer_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_ip_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_mac_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_numeric_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/is_string_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/join_keys_to_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/join_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/keys_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/loadyaml_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/lstrip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/max_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/member_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/merge_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/min_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/centos-59-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/centos-6-vcloud.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/centos-64-x64-pe.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/centos-64-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/centos-65-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/default.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/fedora-18-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/sles-11-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2003-i386.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2003-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2008-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2008r2-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2012-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2012r2-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/num2bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/parsejson_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/parseyaml_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/pick_default_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/pick_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/prefix_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/range_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/reject_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/reverse_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/rstrip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/shuffle_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/size_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/sort_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/squeeze_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/str2bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/str2saltedsha512_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/strftime_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/strip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/suffix_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/swapcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/time_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/to_bytes_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/type_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/union_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/unique_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/unsupported_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/upcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/uriescape_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_absolute_path_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_augeas_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_cmd_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_ipv4_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_ipv6_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_re_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_slength_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/validate_string_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/values_at_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/acceptance/zip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/classes/anchor_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/fixtures/dscacheutil/root create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/abs_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/any2array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/base64_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/bool2num_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/capitalize_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/chomp_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/chop_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/concat_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/count_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/deep_merge_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/defined_with_params_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/delete_at_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/delete_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/delete_undef_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/delete_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/difference_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/dirname_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/downcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/empty_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/ensure_packages_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/ensure_resource_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/flatten_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/floor_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/fqdn_rotate_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/get_module_path_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/getparam_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/getvar_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/grep_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/has_interface_with_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/has_ip_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/has_ip_network_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/has_key_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/intersection_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_domain_name_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_float_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_function_available.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_integer_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_ip_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_mac_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_numeric_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/is_string_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/join_keys_to_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/join_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/keys_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/loadyaml_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/lstrip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/max_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/member_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/merge_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/min_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/num2bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/parsejson_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/parseyaml_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/pick_default_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/pick_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/prefix_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/private_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/range_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/reject_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/reverse_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/rstrip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/shuffle_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/size_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/sort_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/squeeze_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/str2bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/str2saltedsha512_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/strftime_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/strip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/suffix_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/swapcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/time_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/to_bytes_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/type_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/union_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/unique_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/upcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/uriescape_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_absolute_path_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_augeas_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_cmd_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_ipv4_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_ipv6_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_re_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_slength_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/validate_string_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/values_at_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/functions/zip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/compiler.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/database.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/files.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/fixtures.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/matchers.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/modules.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/pops.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/scope.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/settings.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/lib/puppet_spec/verbose.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/monkey_patches/publicize_methods.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/spec.opts create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/spec_helper_acceptance.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/facter/facter_dot_d_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/facter/pe_version_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/facter/root_home_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/facter/util/puppet_settings_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/puppet/parser/functions/bool2str_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/puppet/parser/functions/camelcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/puppet/provider/file_line/ruby_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/spec/unit/puppet/type/file_line_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/tests/file_line.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/tests/has_interface_with.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/tests/has_ip_address.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/tests/has_ip_network.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/stdlib/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/examples/clean.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/examples/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/examples/upgrade.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/manifests/clean.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/manifests/update.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/manifests/upgrade.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/puppet/modules/ubuntu/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-git-submodules/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/VagrantfileToInclude create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/box-author.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/box-name.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/box-version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/build.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/guestvm create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/.fixtures.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/.geppetto-rc.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/.nodeset.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/.puppet-lint.rc create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/.sync.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/.travis.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/CHANGELOG.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/CONTRIBUTING.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/README.passenger.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/files/httpd create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/lib/puppet/parser/functions/bool2httpd.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/lib/puppet/provider/a2mod.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/lib/puppet/provider/a2mod/a2mod.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/lib/puppet/provider/a2mod/gentoo.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/lib/puppet/provider/a2mod/modfix.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/lib/puppet/provider/a2mod/redhat.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/lib/puppet/type/a2mod.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/balancer.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/balancermember.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/confd/no_accf.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/custom_config.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/default_confd_files.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/default_mods.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/default_mods/load.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/dev.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/fastcgi/server.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/listen.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/actions.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/alias.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/auth_basic.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/auth_cas.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/auth_kerb.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/authn_file.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/authnz_ldap.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/authz_default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/authz_user.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/autoindex.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/cache.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/cgi.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/cgid.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/dav.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/dav_fs.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/dav_svn.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/deflate.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/dev.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/dir.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/disk_cache.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/event.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/expires.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/fastcgi.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/fcgid.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/filter.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/headers.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/include.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/info.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/itk.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/ldap.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/mime.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/mime_magic.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/negotiation.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/nss.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/pagespeed.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/passenger.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/perl.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/peruser.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/php.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/prefork.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/proxy.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/proxy_ajp.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/proxy_balancer.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/proxy_connect.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/proxy_html.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/proxy_http.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/python.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/reqtimeout.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/rewrite.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/rpaf.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/security.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/setenvif.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/shib.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/speling.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/ssl.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/status.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/suexec.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/suphp.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/userdir.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/version.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/vhost_alias.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/worker.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/wsgi.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mod/xsendfile.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/mpm.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/namevirtualhost.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/package.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/params.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/peruser/multiplexer.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/peruser/processor.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/php.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/proxy.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/python.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/security/rule_link.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/service.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/ssl.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/version.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/manifests/vhost.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/apache_parameters_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/apache_ssl_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/basic_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/class_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/custom_config_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/default_mods_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/itk_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_dav_svn_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_deflate_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_fcgid_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_mime_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_negotiation_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_pagespeed_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_passenger_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_php_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_proxy_html_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_security_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/mod_suphp_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/centos-59-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/centos-64-x64-pe.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/centos-64-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/centos-65-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/centos-70-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/debian-607-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/debian-70rc1-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/debian-73-i386.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/debian-73-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/default.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/fedora-18-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-1310-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/prefork_worker_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/service_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/unsupported_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/version.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/acceptance/vhost_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/apache_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/dev_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/alias_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/auth_cas_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/auth_kerb_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/authnz_ldap_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/dav_svn_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/deflate_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/dev_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/dir_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/event_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/fastcgi_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/fcgid_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/info_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/itk_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/mime_magic_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/mime_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/negotiation_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/pagespeed_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/passenger_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/perl_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/peruser_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/php_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/prefork_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/proxy_connect_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/proxy_html_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/python_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/reqtimeout_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/rpaf_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/security_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/shib_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/speling_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/ssl_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/status_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/suphp_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/worker_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/mod/wsgi_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/params_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/classes/service_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/defines/balancermember_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/defines/custom_config_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/defines/fastcgi_server_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/defines/mod_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/defines/modsec_link_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/defines/vhost_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/spec.opts create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/spec_helper_acceptance.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/unit/provider/a2mod/gentoo_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/spec/unit/puppet/parser/functions/bool2httpd_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/confd/no-accf.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/fastcgi/server.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/httpd.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/listen.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/alias.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/auth_cas.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/authnz_ldap.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/autoindex.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/cgid.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/dav_fs.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/deflate.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/dir.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/disk_cache.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/event.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/fastcgi.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/fcgid.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/info.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/itk.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/ldap.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/load.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/mime.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/mime_magic.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/mpm_event.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/negotiation.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/nss.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/pagespeed.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/passenger.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/peruser.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/php5.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/prefork.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/proxy.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/proxy_html.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/reqtimeout.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/rpaf.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/security.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/security_crs.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/setenvif.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/ssl.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/status.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/suphp.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/userdir.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/worker.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/mod/wsgi.conf.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/namevirtualhost.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/ports_header.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_access_log.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_action.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_additional_includes.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_aliases.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_allow_encoded_slashes.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_block.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_charsets.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_custom_fragment.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_directories.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_docroot.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_error_document.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_fallbackresource.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_fastcgi.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_file_footer.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_file_header.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_header.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_itk.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_logging.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_passenger.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_php.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_php_admin.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_proxy.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_rack.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_redirect.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_requestheader.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_rewrite.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_scriptalias.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_security.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_serveralias.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_serversignature.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_setenv.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_ssl.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_suexec.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_suphp.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/templates/vhost/_wsgi.erb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/apache.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/dev.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/mod_load_params.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/mods.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/mods_custom.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/php.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/vhost.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/vhost_directories.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/vhost_ip_based.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/vhost_proxypass.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/vhost_ssl.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/apache/tests/vhosts_without_listen.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/.fixtures.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/.sync.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/.travis.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/CHANGELOG.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/CONTRIBUTING.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/files/concatfragments.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/files/concatfragments.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/lib/facter/concat_basedir.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/lib/puppet/parser/functions/concat_getparam.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/lib/puppet/parser/functions/concat_is_bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/manifests/fragment.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/manifests/setup.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/backup_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/concat_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/deprecation_warnings_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/empty_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/fragment_source_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/fragments_are_always_replaced_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/newline_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/aix-71-vcloud.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/centos-59-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/centos-64-x64-pe.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/centos-64-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/centos-65-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/debian-607-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/debian-70rc1-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/debian-73-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/default.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/fedora-18-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/sles-11-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/sles-11sp1-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/order_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/quoted_paths_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/replace_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/specinfra_stubs.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/symbolic_name_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/validation_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/acceptance/warn_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/spec.opts create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/spec_helper_acceptance.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/unit/classes/concat_setup_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/unit/defines/concat_fragment_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/unit/defines/concat_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/spec/unit/facts/concat_basedir_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/tests/fragment.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/concat/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/diverse_functions/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/diverse_functions/examples/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/diverse_functions/examples/inside-a-class.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/diverse_functions/lib/puppet/parser/functions/validate_platform.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/diverse_functions/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/diverse_functions/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/diverse_functions/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/diverse_functions/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/examples/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/spec/classes/init_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/environment/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/.gemspec create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/.project create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/.rspec create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/.sync.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/.travis.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/CHANGELOG.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/CONTRIBUTING.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/Gemfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/README.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/README_DEVELOPER.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/README_SPECS.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/RELEASE_PROCESS.markdown create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/Rakefile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/facter/facter_dot_d.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/facter/pe_version.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/facter/puppet_vardir.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/facter/root_home.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/facter/util/puppet_settings.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/abs.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/any2array.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/base64.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/bool2num.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/bool2str.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/camelcase.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/capitalize.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/chomp.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/chop.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/concat.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/count.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/deep_merge.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/defined_with_params.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/delete.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/delete_at.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/delete_undef_values.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/delete_values.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/difference.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/dirname.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/downcase.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/empty.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/flatten.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/floor.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/fqdn_rotate.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/get_module_path.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/getparam.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/getvar.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/grep.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/has_interface_with.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/has_ip_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/has_ip_network.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/has_key.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/hash.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/intersection.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_array.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_domain_name.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_float.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_function_available.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_hash.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_integer.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_ip_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_mac_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_numeric.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/is_string.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/join.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/join_keys_to_values.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/keys.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/loadyaml.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/lstrip.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/max.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/member.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/merge.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/min.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/num2bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/parsejson.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/parseyaml.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/pick.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/pick_default.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/prefix.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/private.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/range.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/reject.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/reverse.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/rstrip.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/shuffle.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/size.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/sort.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/squeeze.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/str2bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/str2saltedsha512.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/strftime.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/strip.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/suffix.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/swapcase.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/time.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/to_bytes.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/type.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/union.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/unique.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/upcase.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/uriescape.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_absolute_path.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_array.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_augeas.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_bool.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_cmd.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_hash.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_ipv4_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_ipv6_address.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_re.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_slength.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/validate_string.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/values.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/values_at.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/parser/functions/zip.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/provider/file_line/ruby.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/type/anchor.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/lib/puppet/type/file_line.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/manifests/stages.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/abs_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/any2array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/base64_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/bool2num_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/build_csv.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/capitalize_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/chomp_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/chop_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/concat_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/count_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/deep_merge_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/defined_with_params_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/delete_at_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/delete_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/delete_undef_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/delete_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/difference_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/dirname_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/downcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/empty_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/ensure_packages_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/ensure_resource_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/flatten_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/floor_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/fqdn_rotate_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/get_module_path_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/getparam_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/getvar_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/grep_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/has_interface_with_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/has_ip_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/has_ip_network_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/has_key_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/intersection_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_domain_name_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_float_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_function_available_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_integer_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_ip_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_mac_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_numeric_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/is_string_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/join_keys_to_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/join_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/keys_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/loadyaml_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/lstrip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/max_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/member_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/merge_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/min_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/centos-59-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/centos-6-vcloud.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/centos-64-x64-pe.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/centos-64-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/centos-65-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/default.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/fedora-18-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/sles-11-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2003-i386.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2003-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2008-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2008r2-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2012-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/nodesets/windows-2012r2-x86_64.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/num2bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/parsejson_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/parseyaml_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/pick_default_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/pick_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/prefix_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/range_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/reject_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/reverse_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/rstrip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/shuffle_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/size_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/sort_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/squeeze_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/str2bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/str2saltedsha512_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/strftime_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/strip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/suffix_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/swapcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/time_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/to_bytes_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/type_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/union_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/unique_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/unsupported_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/upcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/uriescape_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_absolute_path_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_augeas_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_cmd_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_ipv4_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_ipv6_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_re_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_slength_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/validate_string_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/values_at_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/acceptance/zip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/classes/anchor_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/abs_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/any2array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/base64_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/bool2num_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/capitalize_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/chomp_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/chop_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/concat_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/count_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/deep_merge_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/defined_with_params_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/delete_at_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/delete_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/delete_undef_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/delete_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/difference_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/dirname_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/downcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/empty_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/ensure_packages_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/ensure_resource_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/flatten_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/floor_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/fqdn_rotate_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/get_module_path_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/getparam_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/getvar_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/grep_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/has_interface_with_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/has_ip_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/has_ip_network_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/has_key_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/intersection_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_domain_name_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_float_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_function_available.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_integer_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_ip_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_mac_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_numeric_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/is_string_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/join_keys_to_values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/join_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/keys_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/loadyaml_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/lstrip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/max_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/member_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/merge_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/min_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/num2bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/parsejson_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/parseyaml_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/pick_default_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/pick_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/prefix_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/private_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/range_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/reject_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/reverse_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/rstrip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/shuffle_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/size_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/sort_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/squeeze_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/str2bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/str2saltedsha512_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/strftime_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/strip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/suffix_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/swapcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/time_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/to_bytes_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/type_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/union_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/unique_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/upcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/uriescape_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_absolute_path_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_array_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_augeas_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_bool_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_cmd_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_hash_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_ipv4_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_ipv6_address_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_re_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_slength_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/validate_string_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/values_at_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/values_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/functions/zip_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/compiler.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/database.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/files.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/fixtures.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/matchers.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/modules.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/pops.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/scope.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/settings.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/lib/puppet_spec/verbose.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/monkey_patches/publicize_methods.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/spec.opts create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/spec_helper_acceptance.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/facter/facter_dot_d_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/facter/pe_version_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/facter/root_home_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/facter/util/puppet_settings_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/puppet/parser/functions/bool2str_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/puppet/parser/functions/camelcase_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/puppet/provider/file_line/ruby_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/spec/unit/puppet/type/file_line_spec.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/tests/file_line.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/tests/has_interface_with.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/tests/has_ip_address.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/tests/has_ip_network.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/stdlib/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/examples/clean.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/examples/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/examples/upgrade.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/manifests/clean.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/manifests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/manifests/update.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/manifests/upgrade.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/metadata.json create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/spec/spec_helper.rb create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/puppet/modules/ubuntu/tests/init.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/VagrantfileToInclude create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/box-author.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/box-name.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/box-version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/build.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/guestvm create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/install-puppet-modules.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-apache/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/VagrantfileToInclude create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/box-author.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/box-name.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/box-version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/build.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/guestvm create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/install-puppet-modules.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-django/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/VagrantfileToInclude create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/box-author.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/box-name.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/box-version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/build.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/guestvm create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/install-puppet-modules.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-rails/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/VagrantfileToInclude create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/box-author.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/box-name.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/box-version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/build.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/guestvm create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/install-puppet-modules.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-sinatra/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/LICENSE create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/README.md create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/VagrantfileToInclude create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/box-author.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/box-name.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/box-version.txt create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/build.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/guestvm create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/install-puppet-modules.sh create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/manifests/default.pp create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/stamp.yml create mode 100644 pro-vagrant-v1.0.1/chapter-09/vagrant-box-factory-symfony/symfony.json create mode 100644 pro-vagrant-v1.0.1/chapter-10/10-01-multimachine/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-10/10-02-multimachine/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-10/10-03-box-version/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-10/10-04-box-version/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-10/10-05-box-version/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/chapter-10/10-06-box-version/Vagrantfile create mode 100644 pro-vagrant-v1.0.1/commands.md create mode 100644 pro-vagrant-v1.0.1/stamp.yml create mode 100644 pro-vagrant-v1.0.1/update-submodules.sh create mode 100644 pro-vagrant-v1.0.1/version.txt diff --git a/9781484200742.jpg b/9781484200742.jpg new file mode 100644 index 0000000000000000000000000000000000000000..034891da7ba97653512a92e3f7f7f837a64b5bf3 GIT binary patch literal 9596 zcmbVy1yoc~xBne#=n@c+P(f*sP?`aemJXE^QD8v2hZstc77&pfq=rViyQHK+35fxQ zknR}fjoqNg^m?OvoT9H>gGopkZZa}4-@DJn&BH79@R7KLq?FYCcR`i73quI`@R?|uDa;}erp(?5UBEG?r}R@cz$8=LzFheyXJr)TFE ze{q2T{C~pwPh|gwiw1`akAMK50Q?sh2+s>g_%sBBcZ7*(6?DOtE;sIq1QF9cj{92P zPQoFow@3fVb(EBWQ*7zp{$FVSK=$7Q7W}_L_MgE153U)293O;J9zG2K0nV=@xHIwo zA2KV!jGya=>aoR@Uvaa3>F0e@Rp*iztS9@J`F&)FrX!uM5*{gcR^Y#rtk)&GBKsjl z^*UtrOJObbx=}ox|NXfr{Q6h=Y3M5oH!QH1+=&Hb*04a!%_}IfhvAQ_fbM(B^3vse zS{e(GIOGABqJGT~&!&K?*1aU-{p%PkAf!EC#$NJlG8cWCjDb^)XgxwjDS`@lHec#W_T6Iu_#U0bXe=)|+@Qdx6s(0_jr;UxN*g_w? z!3``h+7Aa{WzJ0hFEYO4ABNx zKPViT^oUG1SN*+s_uPs!{{f#|f^(vQ*by77JLlKsI zs$hxh#}wHCgF@M?>)oWaH=`!_oy=bkA+CWcr{QtVJe?gg$erFKMyTB8d5Bm&YOc)k z*}26$+G$vkAz~J%>t}kHr7mf!%b_)Le;&vZ!z9F0CjV5ezwC=>gd}QCt_)ZGX#0Hq z)u{3IQiFeqacRKfchl)gPa1c$Je2C2Z1d)vIomh`HwvmT ze5cQfYk>I@RglZ7Vx`4$d6AL?o|}4@+0thD_HjHq)I!0)B`VNa0WC)Tz*Ww4KSDNm zhkfS8pVqQ7X2Agmvw^JVcp)F}d{~yK9H=eG6#-`bRt|Hqzzacdg>~MbzG1fs{FxN* z`KXYIlz(F#B1|DCBJg>Tro!N3eJo}K4@mPsHPiWIj{<^PPnQS2lY(X}{CFaxq^hlgM6?zl4oIWnW zsjnh;W)h+PHdnvs*87z02o==F*p8wLlN(gH$_Hid3Mx}+N$bilek5U(8I@;2*d0kn zE2@^C`7WMJx_eDToNtqoCD0a7B{Tv%;Mo4ABe!SwC!7SUE~QD(3-&gR-(ziWiL+$D z5Iyzfbh4FUuXh{Gm^U`fBoC12Ya0*bS*=0S-f7Ik0%fZ(da}@#0+uE$kP1 z8TaHu7h_50UYO6_>z>M%Io0F%IIh_QYKlR!Rre|6o6SN`J*fvOruNDZY$IOVk}SuJ za*4ib`wV4Sv#IvCK2ayjw8eK-5Wsf@7d;U!ro(tyv%w~LNl8KiH5>I=g&DE6TW*TI zP&zoZM;t(!r_)6l6cM~oYEP^u6F)4IFwEB{R%))svQjRqmdl1}_RwS%L1+- zPwU>!!6>$bc%_i%C9ybu$tKaOE8j~g0^$ItcsZ&l_V8pQ{9*_tJdQYZ@Xyg{AKixS zEObO2!$qJOb`#9BYqAV(!=Jikf&fmH}!p zb6Z+VUQ1tCUz;+;0+pX2ne;2xXAM79ALq)JSv!RxnWOXkmZR%ksm$%O_K=|usTk+X zx~*iJ@Foq@*XBd&(m;Vei&F$A!&W|SHeA1J6PGP_a$+~kf9)A}{<)@WY~edJH~R>g zSEveTEHWKu;(tUxiER0N-AwXTJHxN|VE2Z%<5ovXG0bCivbk%R_{;gNZ<+B#u3#DF z0rrBDSXR3bgZ;Ggoy^(ZWh%7MTRHZ#Mx7w*Fct4C%a4wn&%@atyImMf zl#|lkk$DpDAaFF1MAnzjK@jk1A0t7JEb`Xqf)PM$C#nkc<^zsKAH?0RSPuox{V`0!jgC5e1w|s`iJ+N^O6$Ou<>Y*M;V8j$LN8db z1gEi$Z%eu`$R7Tvbfc?%G%bzry9}+ri_Sis0VXwNZQH};Kz+LA9nI{VJCbr?&@d8n z(|B}Atr|CZjdA%$90H)XHmv^95bcrUX5+azXo}&`1nDYy9H6`uBXt=O@HEa# zua&RDzZXiChL_sjmMh8|Ab;vyu_EJhG?x=}Hs##CgcejC5}#Rjq*dRh?`7n)0!Qh; z_gA=mm=Z&uvbiR0ubN>J{)OKKX(ShnY#BRlex!Q0d30wfe)U8?Rb=ejAK(XUs-l2+ zAhGI8aZfPV6@aAkNHB3o$bgKu7M&Pn*t|}ZK}-iT?hEHOC6+X0$}QPRnJvpV8Nje%oDr90(OvjL1InM|J9-cQo+meMNz;S{x-Qsiq00hJ`l(Or zG-Y=(lx2XmhQ1`Sr+o*mW>m>d*})Hw}I`YteWOs$n**)>T|KM4ULqR_oj( zkrwF30&NpFF4me6k7t)G-g{Q4;-$*U%*nx94C*mjeBoyWnKij6Dhd%nr9(0mj$iH9 zPvN}l0sNbHd)p3-dz_~$?==KrMi1FXUCyS%&5={f_Q@&7&`Z##k05j%zxI-uMHhm7bH=)wA?fRUFDXACe`V$iGSM4>B;Nth z#dNam3_be8v1-)-apIcui{vxa2@h+z#0{D&p}p3y5(acv!z{h5@;<@q3($c0lKFcn ziRZ5-jdzo0`WadWdy=Z$XM$^!C;i0tS+u!-s4nh50|$EP7XASGGUDY#rCm# zUR|1s=F{1uehP%eALkFry4mI{ga$z?D=zJu#PnbH!^8KwBhVp!^|&~XxoNuN&$AvF znGkrpJa(#bV9%iFrHye`)BOBJ5xkw%F8-Y%VNF=>m9^yF6aoua-~vQ>JH+ClRr@&N zA^;Z(DySFjN1;1ma9kjV0Tnuhps%^l&#^$#2IPpY)Vg(v2_AVYrhzG1Q7Z9MEZ@uc z`Y1Ac18yJBW3G|RtQm37t-b;8`N{#Dax!`EM8nLc7lsZO(!1p&VapM(a3H#;%EfeB zP;}Q+uF!4S!R%*R>PF@6VM>DX-XuDrTJ+89@>qVy6sX*a#%@f`3H=|qjSez2VQtmb zcwonASJJTrn;K6ag=_rSe`T9tyiM$sC2d?CBb{3 z4SK(b&T*QA^G0CZvvv+=)<*UcSFR;25Yi;<7=IS|!iR*3_`pYf;fckU*q+8RvP~(Y zubE2s!$Bch(HY$O*24`x5~p%a(~;4inJhEEjRb6&V@lu|7dsw$QJ8GB?~#m3dog@T zY~-2C9VdF9-KgpEGjx~mnTp2qW?hd1s7j}NZDd;c8spt<3wjCs!m3q;H+VS%zy zjQvQ9P}+vE3gqBq;Q~~qA)L!xAI+$3-8$G2>GJh{m^WGPMNNHKO=3}Q~BjISK3NcGHXF?l*o?xPF0R0rNwv>+=$)NaQt_ zF$8|(13$W>X1Ossluc^a*FEotIHyX{>#VsDt=I#H?_TNVn$2wrx3hekJ6FH0NAxJ< zhZ;I%NyZH2V4>4Ic7PY@&2JYa92J7K)EMVg7hmRM|Sswln zy-wviENENe#sapJvAk6dP6A;@t|v5JbA@#Vz{<<9!*vpH^?e_i0~N)YkEf{om52+g zP#tGyD#ahRIX|@X|8QqgntB$^2xhvMQ9~O7B`#(ArQwYk@TXJWxo_q|4f=U?U3?#C z{XkE6&A8t@P4O5=OJy3|_l=Kgy?g{GJt&KU#Ue_eDRyZkO#-5^CuxfTkr$JZR8iC> z(5aeJW~ISOB~s-B{(gLFfC~v*yizGfP@l!@8VXlw2g6`kNg6 znuTd2m_*9as@4dsvf=DOIi}UvE%t#DZLC>N4P1whY`F?IWIDX=H1gkJ*vF)LY1X0H z_xRT;WQ3Qc5oGpvuYU`RIcAuSB*Y4fW;B102{Dg!+1KwB*WojT-qasVD|T(aQ~p*RK(A}`p_FrEO3WQww2dgo$bzUk17_v)~*NOT}_I<{C zpR72+uTNIKXG`KwY`>k(xRTx5$@N_x(AbLPS*$9z;*%NuG!XbWe^@^O(NSz0@M!;L zXjN79BO8%Wz7Mfrxn%IqtHx^3z`&VQDC`S<5*zp2)<6Ce|1-4@6*CDhU+@G zT6_5@67w#v8^qX&*1-bZO2t;!@cUR`WC$kSaXUnP5)mt0`bqeNSomtlC%0?)P_MC( zSl98s&*Oyeb6u$85+^e63{*!$XhrdTUyVS5k&uwM(N7mqh!S7MtB2}m;_A0H&RE=e zmFeppUgLe=AKfNI8Bvnzq!>da(c?HKsfm` zh{wKY=fS&lcl*fHD)z=3ii|Vx1y0mnar3R^=;NkS&7xnaU)GWaW52&7=K$UU$1E_k zWSP(n4W@_=<%ryY0msH!P0AG4Y^|b%#2wcb>bKq~6=edE1)%Miz`B`idFe-D4i=c6 zg|8FU&1-a(TX-J~cZFN>JI~T#+AZr(&}m0~Lnix9k*IyMk~A9Vp~)?usL-aMpnep~ zvp4GWn<(yS=L!uAfx&DE3yy)J~J&rK}NQajprRPci+o- zaFF$QPF*^jGpuU4)0tGN+@_Ro|Go|t9nU|>6Cw!)_2vq~77wRWPAP@wd)?Apl*C&z zhv-0q5zhJDGRy?3Jj>a1OY*d&&f8Dv7H#nqX5JG78Y~4Z#!LiWjyL-1fQz4>ZFL6R z8)>aOG;|Epkn4P^;=oePV;PzS)mG7<;JuS{0!kC z={;P03BstTJ6~JnXM%BfcQtybSYQz^Wo3EX#>+EFL=kWW6()(rxTjmYo3`MfVLEcS z?xyhcR18G8Ef1ZiOu=;JuZhQs7>ub(zObU3J3<4@vLaG!6XZHR?EMjrK3gNFSwSp6 zkr7dB(2hV(x_#XcZEyy}{4Xqgzi7OUTy3FHL-PJ-xw@@!)5aN*)bGyswN)xNDx zDaD4_NZvZy(m?bFvY%0dvbla{bR=i^lhCzJxY~k#^*FmI$a^_ zIb67?`YC#0DnS;K2uMRdWTjAX$ol7JQaUqxKV(GW%hQHv(f^|)4X_i|BElj0gUiDN zWs-o9@U*{I8}hXHSYQ)rgLrHwd_ESki(|ogtz0njApbBXyIGoR(-yRNbd1D5oABw? z;@wHgo7=j%^~SbvT%?kl3!gLxu^P0a1Q>ylPIfvlFIkC_a~Y;Wh5Nr=*O-39cYH-@ zVeM_6jFt<9O^AA%pWO2JGUR9lef5EQD1OY!iSg*ACSZmB9fcwYmMlpvBU_l6iA?hK z3ZK^#h;h4P6%-VUj)-fzQ$S|r9BC63y$KoFHN(8e|4 zmD6|JcUm-)m*A44Mr&H-yQ=3LdR5n>@cp#-3a7k3f!?STp8A!5;0OTyPJ;Ojw-|_9 z0vYjv*;@>BTWm9m+4*nz=bD~TY|j>Sjr0N**wq9^twi z3mhA6^JJP}rf(7v(3H<{+MZHNnDvtYDL)7>b|;DX6e1YMrZTatZ-(==1W`5;VxV!= zYbFy(?USLS3jDe!mG!h~ENmfb8;GX}byh!-p<8Mta}|P=GH8L`r+CuT!t1D2TMZGliP3jS-$7wplgj|gPk@gdU}AkGyOFR`i0wSQ8e-?QHO%IjCA&GRLKnkgBI-FV;$KNUQERGNajtAv$wEeSeM_LDR5~Ziaie=&+ zT#i@jhG-1|YKWdBxkNUon>_8`@jc*^p6TEp zDnpaA<&JXGwedTnCR- z2O1eq0(_MED5c-#u=J<~3+$k9K7)lq#y}ygL{;xe^gY{oD_2iR{rA15Y)8Nzv~A)A z-|43qm+!k9xN(dd;OZ1ADW0}?@=%4-{6n1B5S#@+{HN4oQRAW-DL??!ZTIOAQzm#V zNo;TwcW*l+DrOzXo&gobd565U1To;xsOGR-l@5`t$0IpG4NbwB(QUJtJMSIN$VFTs zyXi$|MlVO+Sh+8+E&Ms@JWaY4)3GoQW=R2um8s8^^`Yn8SeT?cuz>dkX-~ipyD=%N zu+o~?W8VPlj6IR`i>Vb_#B-1S&S|7B;MS$UF zcc#FGgzZPTxx8ix-S^YvvZ(id?3v20i)||x!lPdyp-Jd8b;Q6`m;GDWRqN#Td5W8N z{Ft(wVbaGI{d^KymU5k499!_-Fz;ImTYqbFF7hpe%H z`?JSh6FnD7TTwNF0CM4GetrN3)!Xu_qt6`JSm z+51i+kZ6fA;I+lBcxLvDN}d0I0+_nLzwZ%J67nZ#-NxyEgKP_BR>P z-R78MV5q!=O#aasE)j$?*NFA`rG{UvH+?X1N=*pAHR|0bh92F~)9`-n9S?oKE09X` z@Yt~<7Rt7CY}Yz~d8;?v%v8Y4tuvgu_4bML1GV4qU#R24SU1|j#8+K0@{HYj&}4N= z=>*(NGx?}V_G7^PZ2M%Bv+|=nwM^|&-bWb^H&JqPQ!dtyIf#OsOtNV2?41ILF>g8@ zsEDmzM4(ttf&B9c(p9mRbZGPErk%$=ORgYO_TA0Za)JKZL5}N9s-Rr!5|CuY-4RTghU}^`zV)zv$C_#S9 zA-4=;>H~~ce13{^iPY)VhvoUp7D+|er9FFmFTD6P;kxRo>WIG&?!mA7Z+WsmYIHSEu9XU)vy@4}b3J(U{Ush^ES+!S$#fHLt8gn1;Ptq&?!oYc_d+>IpW zgc=cf#Pg`mY=xvPg|U}d?~9FB!b5hQhGKtxN3ECkEVPN5_Sw*ywOp=e*gt!O?*A$N zRzxn~@vK{nOI$`Z!fVORGJAHx)Ks+(N$^ z2Ar*?)`*`H$?_mG;w?W-cXS{g=_6fXY+&*GWzr;I^$8F^g + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/pro-vagrant-v1.0.1/README.md b/pro-vagrant-v1.0.1/README.md new file mode 100644 index 0000000..19eb8e1 --- /dev/null +++ b/pro-vagrant-v1.0.1/README.md @@ -0,0 +1,88 @@ +Pro Vagrant - all the examples +============================== + +## 1. The Book + +The repo contains the code explained in the book: + +Włodzimierz Gajda, *Pro Vagrant*, New York, Apress, 2015 + +http://www.apress.com/9781484200742 + +## 2. How to download all the examples? + + git clone --recursive https://github.com/pro-vagrant/pro-vagrant-all-examples.git + +## 3. The Contents + +### 3.1. Chapter 1. + +This chapter does not contain any examples. + +### 3.2. Chapter 2. + + chapter-02/songs-app-angularjs/ + chapter-02/songs-app-django/ + chapter-02/songs-app-rails/ + chapter-02/songs-app-symfony/ + + +### 3.3. Chapter 3. + + chapter-03/songs-app-sinatra/ + + +### 3.4. Chapter 4. + + chapter-04/new-project-chapter-04/ + + +### 3.5. Chapter 5. + + chapter-05/first-box-factory/ + chapter-05/corporate-blog/ + + +### 3.6. Chapter 6. + + chapter-06/vagrant-jekyll-shell/ + chapter-06/vagrant-jekyll-puppet/ + chapter-06/vagrant-jekyll-chef/ + chapter-06/vagrant-jekyll-ansible/ + + chapter-06/flowers-vagrant-jekyll-shell/ + + +### 3.7. Chapter 7. + + chapter-07/chef/bento/ + chapter-07/using-bento-ubuntu-box/ + + chapter-07/boxcutter/ubuntu/ + chapter-07/using-boxcutter-ubuntu-box/ + + +### 3.8. Chapter 8. + + chapter-08/ + + +### 3.9. Chapter 9. + + chapter-09/vagrant-box-factory-apache/ + chapter-09/vagrant-box-factory-django/ + chapter-09/vagrant-box-factory-rails/ + chapter-09/vagrant-box-factory-symfony/ + chapter-09/vagrant-box-factory-sinatra/ + + chapter-09/songs-app-rails-antipattern/ + + chapter-09/vagrant-box-factory-apache-git-submodules/ + + chapter-09/vagrant-box-factory-apache-no-submodule-antipattern/ + + +### 3.10. Chapter 10. + + chapter-10/ + diff --git a/pro-vagrant-v1.0.1/build.sh b/pro-vagrant-v1.0.1/build.sh new file mode 100644 index 0000000..42e4fd4 --- /dev/null +++ b/pro-vagrant-v1.0.1/build.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +name=pro-vagrant +version=`git describe` + +echo "Building zipped archive ${name} version: ${version} ..." +~/bin/git-archive-all/git-archive-all --force-submodules "build/${name}-${version}.zip" diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/README.md b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/README.md new file mode 100644 index 0000000..f7ac7e7 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/README.md @@ -0,0 +1,35 @@ +Songs for kids - AngularJS application +====================================== + +How to run the application? + +Clone the repo: + + $ git clone https://github.com/pro-vagrant/songs-app-angularjs.git + +Enter the directory: + + $ cd songs-app-angularjs + +Boot VM: + + $ vagrant up + +Start your web browser and visit: + + http://localhost:8800 + +## How to install the box manually? + +Due to the Vagrant's bug https://github.com/mitchellh/vagrant/issues/5449 +checksums are verified only when you use `$ vagrant box add` command. + +You can install the box manually using the command shown below: + + vagrant box add \ + --name apache-v0.3.3 \ + --checksum-type sha256 \ + --checksum 1e7c94c5b5ec152ca6c7fee68b830e7b07cca01b0b871f1f4da89c1408c568bb \ + http://boxes.gajdaw.pl/apache/apache-v0.3.3.box + +The above command verifies the checksum of a newly installed box. diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/Vagrantfile b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/Vagrantfile new file mode 100644 index 0000000..a743c30 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/Vagrantfile @@ -0,0 +1,8 @@ +Vagrant.configure(2) do |config| + config.vm.box = "apache-v1.0.0" + config.vm.box_url = "http://boxes.gajdaw.pl/apache/apache-v1.0.0.box" + config.vm.box_download_checksum_type = "sha256" + config.vm.box_download_checksum = "091eb90af1bce5dd1dc936ed9db9ef65631e7428c29e60b395025a2d21cdc463" + config.vm.network :forwarded_port, guest: 80, host: 8800, host_ip: "127.0.0.1" + config.vm.post_up_message = "The application is available at http://127.0.0.1:8800" +end diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/stamp.yml b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/stamp.yml new file mode 100644 index 0000000..a645651 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/stamp.yml @@ -0,0 +1,3 @@ +filename: 'version.txt' +regex: '|(?P[\d\.]+)|' +replacement: '{{ version }}' diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/version.txt b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/version.txt new file mode 100644 index 0000000..afaf360 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/version.txt @@ -0,0 +1 @@ +1.0.0 \ No newline at end of file diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/app.css b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/app.css new file mode 100644 index 0000000..4aeb659 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/app.css @@ -0,0 +1,2 @@ +/* app css stylesheet */ + diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap-responsive.css b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap-responsive.css new file mode 100644 index 0000000..7f669d5 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap-responsive.css @@ -0,0 +1,808 @@ +/*! + * Bootstrap Responsive v2.0.3 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ + +.clearfix { + *zoom: 1; +} + +.clearfix:before, +.clearfix:after { + display: table; + content: ""; +} + +.clearfix:after { + clear: both; +} + +.hide-text { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.input-block-level { + display: block; + width: 100%; + min-height: 28px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; +} + +.hidden { + display: none; + visibility: hidden; +} + +.visible-phone { + display: none !important; +} + +.visible-tablet { + display: none !important; +} + +.hidden-desktop { + display: none !important; +} + +@media (max-width: 767px) { + .visible-phone { + display: inherit !important; + } + .hidden-phone { + display: none !important; + } + .hidden-desktop { + display: inherit !important; + } + .visible-desktop { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 979px) { + .visible-tablet { + display: inherit !important; + } + .hidden-tablet { + display: none !important; + } + .hidden-desktop { + display: inherit !important; + } + .visible-desktop { + display: none !important ; + } +} + +@media (max-width: 480px) { + .nav-collapse { + -webkit-transform: translate3d(0, 0, 0); + } + .page-header h1 small { + display: block; + line-height: 18px; + } + input[type="checkbox"], + input[type="radio"] { + border: 1px solid #ccc; + } + .form-horizontal .control-group > label { + float: none; + width: auto; + padding-top: 0; + text-align: left; + } + .form-horizontal .controls { + margin-left: 0; + } + .form-horizontal .control-list { + padding-top: 0; + } + .form-horizontal .form-actions { + padding-right: 10px; + padding-left: 10px; + } + .modal { + position: absolute; + top: 10px; + right: 10px; + left: 10px; + width: auto; + margin: 0; + } + .modal.fade.in { + top: auto; + } + .modal-header .close { + padding: 10px; + margin: -10px; + } + .carousel-caption { + position: static; + } +} + +@media (max-width: 767px) { + body { + padding-right: 20px; + padding-left: 20px; + } + .navbar-fixed-top, + .navbar-fixed-bottom { + margin-right: -20px; + margin-left: -20px; + } + .container-fluid { + padding: 0; + } + .dl-horizontal dt { + float: none; + width: auto; + clear: none; + text-align: left; + } + .dl-horizontal dd { + margin-left: 0; + } + .container { + width: auto; + } + .row-fluid { + width: 100%; + } + .row, + .thumbnails { + margin-left: 0; + } + [class*="span"], + .row-fluid [class*="span"] { + display: block; + float: none; + width: auto; + margin-left: 0; + } + .input-large, + .input-xlarge, + .input-xxlarge, + input[class*="span"], + select[class*="span"], + textarea[class*="span"], + .uneditable-input { + display: block; + width: 100%; + min-height: 28px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; + } + .input-prepend input, + .input-append input, + .input-prepend input[class*="span"], + .input-append input[class*="span"] { + display: inline-block; + width: auto; + } +} + +@media (min-width: 768px) and (max-width: 979px) { + .row { + margin-left: -20px; + *zoom: 1; + } + .row:before, + .row:after { + display: table; + content: ""; + } + .row:after { + clear: both; + } + [class*="span"] { + float: left; + margin-left: 20px; + } + .container, + .navbar-fixed-top .container, + .navbar-fixed-bottom .container { + width: 724px; + } + .span12 { + width: 724px; + } + .span11 { + width: 662px; + } + .span10 { + width: 600px; + } + .span9 { + width: 538px; + } + .span8 { + width: 476px; + } + .span7 { + width: 414px; + } + .span6 { + width: 352px; + } + .span5 { + width: 290px; + } + .span4 { + width: 228px; + } + .span3 { + width: 166px; + } + .span2 { + width: 104px; + } + .span1 { + width: 42px; + } + .offset12 { + margin-left: 764px; + } + .offset11 { + margin-left: 702px; + } + .offset10 { + margin-left: 640px; + } + .offset9 { + margin-left: 578px; + } + .offset8 { + margin-left: 516px; + } + .offset7 { + margin-left: 454px; + } + .offset6 { + margin-left: 392px; + } + .offset5 { + margin-left: 330px; + } + .offset4 { + margin-left: 268px; + } + .offset3 { + margin-left: 206px; + } + .offset2 { + margin-left: 144px; + } + .offset1 { + margin-left: 82px; + } + .row-fluid { + width: 100%; + *zoom: 1; + } + .row-fluid:before, + .row-fluid:after { + display: table; + content: ""; + } + .row-fluid:after { + clear: both; + } + .row-fluid [class*="span"] { + display: block; + float: left; + width: 100%; + min-height: 28px; + margin-left: 2.762430939%; + *margin-left: 2.709239449638298%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; + } + .row-fluid [class*="span"]:first-child { + margin-left: 0; + } + .row-fluid .span12 { + width: 99.999999993%; + *width: 99.9468085036383%; + } + .row-fluid .span11 { + width: 91.436464082%; + *width: 91.38327259263829%; + } + .row-fluid .span10 { + width: 82.87292817100001%; + *width: 82.8197366816383%; + } + .row-fluid .span9 { + width: 74.30939226%; + *width: 74.25620077063829%; + } + .row-fluid .span8 { + width: 65.74585634900001%; + *width: 65.6926648596383%; + } + .row-fluid .span7 { + width: 57.182320438000005%; + *width: 57.129128948638304%; + } + .row-fluid .span6 { + width: 48.618784527%; + *width: 48.5655930376383%; + } + .row-fluid .span5 { + width: 40.055248616%; + *width: 40.0020571266383%; + } + .row-fluid .span4 { + width: 31.491712705%; + *width: 31.4385212156383%; + } + .row-fluid .span3 { + width: 22.928176794%; + *width: 22.874985304638297%; + } + .row-fluid .span2 { + width: 14.364640883%; + *width: 14.311449393638298%; + } + .row-fluid .span1 { + width: 5.801104972%; + *width: 5.747913482638298%; + } + input, + textarea, + .uneditable-input { + margin-left: 0; + } + input.span12, + textarea.span12, + .uneditable-input.span12 { + width: 714px; + } + input.span11, + textarea.span11, + .uneditable-input.span11 { + width: 652px; + } + input.span10, + textarea.span10, + .uneditable-input.span10 { + width: 590px; + } + input.span9, + textarea.span9, + .uneditable-input.span9 { + width: 528px; + } + input.span8, + textarea.span8, + .uneditable-input.span8 { + width: 466px; + } + input.span7, + textarea.span7, + .uneditable-input.span7 { + width: 404px; + } + input.span6, + textarea.span6, + .uneditable-input.span6 { + width: 342px; + } + input.span5, + textarea.span5, + .uneditable-input.span5 { + width: 280px; + } + input.span4, + textarea.span4, + .uneditable-input.span4 { + width: 218px; + } + input.span3, + textarea.span3, + .uneditable-input.span3 { + width: 156px; + } + input.span2, + textarea.span2, + .uneditable-input.span2 { + width: 94px; + } + input.span1, + textarea.span1, + .uneditable-input.span1 { + width: 32px; + } +} + +@media (min-width: 1200px) { + .row { + margin-left: -30px; + *zoom: 1; + } + .row:before, + .row:after { + display: table; + content: ""; + } + .row:after { + clear: both; + } + [class*="span"] { + float: left; + margin-left: 30px; + } + .container, + .navbar-fixed-top .container, + .navbar-fixed-bottom .container { + width: 1170px; + } + .span12 { + width: 1170px; + } + .span11 { + width: 1070px; + } + .span10 { + width: 970px; + } + .span9 { + width: 870px; + } + .span8 { + width: 770px; + } + .span7 { + width: 670px; + } + .span6 { + width: 570px; + } + .span5 { + width: 470px; + } + .span4 { + width: 370px; + } + .span3 { + width: 270px; + } + .span2 { + width: 170px; + } + .span1 { + width: 70px; + } + .offset12 { + margin-left: 1230px; + } + .offset11 { + margin-left: 1130px; + } + .offset10 { + margin-left: 1030px; + } + .offset9 { + margin-left: 930px; + } + .offset8 { + margin-left: 830px; + } + .offset7 { + margin-left: 730px; + } + .offset6 { + margin-left: 630px; + } + .offset5 { + margin-left: 530px; + } + .offset4 { + margin-left: 430px; + } + .offset3 { + margin-left: 330px; + } + .offset2 { + margin-left: 230px; + } + .offset1 { + margin-left: 130px; + } + .row-fluid { + width: 100%; + *zoom: 1; + } + .row-fluid:before, + .row-fluid:after { + display: table; + content: ""; + } + .row-fluid:after { + clear: both; + } + .row-fluid [class*="span"] { + display: block; + float: left; + width: 100%; + min-height: 28px; + margin-left: 2.564102564%; + *margin-left: 2.510911074638298%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; + } + .row-fluid [class*="span"]:first-child { + margin-left: 0; + } + .row-fluid .span12 { + width: 100%; + *width: 99.94680851063829%; + } + .row-fluid .span11 { + width: 91.45299145300001%; + *width: 91.3997999636383%; + } + .row-fluid .span10 { + width: 82.905982906%; + *width: 82.8527914166383%; + } + .row-fluid .span9 { + width: 74.358974359%; + *width: 74.30578286963829%; + } + .row-fluid .span8 { + width: 65.81196581200001%; + *width: 65.7587743226383%; + } + .row-fluid .span7 { + width: 57.264957265%; + *width: 57.2117657756383%; + } + .row-fluid .span6 { + width: 48.717948718%; + *width: 48.6647572286383%; + } + .row-fluid .span5 { + width: 40.170940171000005%; + *width: 40.117748681638304%; + } + .row-fluid .span4 { + width: 31.623931624%; + *width: 31.5707401346383%; + } + .row-fluid .span3 { + width: 23.076923077%; + *width: 23.0237315876383%; + } + .row-fluid .span2 { + width: 14.529914530000001%; + *width: 14.4767230406383%; + } + .row-fluid .span1 { + width: 5.982905983%; + *width: 5.929714493638298%; + } + input, + textarea, + .uneditable-input { + margin-left: 0; + } + input.span12, + textarea.span12, + .uneditable-input.span12 { + width: 1160px; + } + input.span11, + textarea.span11, + .uneditable-input.span11 { + width: 1060px; + } + input.span10, + textarea.span10, + .uneditable-input.span10 { + width: 960px; + } + input.span9, + textarea.span9, + .uneditable-input.span9 { + width: 860px; + } + input.span8, + textarea.span8, + .uneditable-input.span8 { + width: 760px; + } + input.span7, + textarea.span7, + .uneditable-input.span7 { + width: 660px; + } + input.span6, + textarea.span6, + .uneditable-input.span6 { + width: 560px; + } + input.span5, + textarea.span5, + .uneditable-input.span5 { + width: 460px; + } + input.span4, + textarea.span4, + .uneditable-input.span4 { + width: 360px; + } + input.span3, + textarea.span3, + .uneditable-input.span3 { + width: 260px; + } + input.span2, + textarea.span2, + .uneditable-input.span2 { + width: 160px; + } + input.span1, + textarea.span1, + .uneditable-input.span1 { + width: 60px; + } + .thumbnails { + margin-left: -30px; + } + .thumbnails > li { + margin-left: 30px; + } + .row-fluid .thumbnails { + margin-left: 0; + } +} + +@media (max-width: 979px) { + body { + padding-top: 0; + } + .navbar-fixed-top { + position: static; + margin-bottom: 18px; + } + .navbar-fixed-top .navbar-inner { + padding: 5px; + } + .navbar .container { + width: auto; + padding: 0; + } + .navbar .brand { + padding-right: 10px; + padding-left: 10px; + margin: 0 0 0 -5px; + } + .nav-collapse { + clear: both; + } + .nav-collapse .nav { + float: none; + margin: 0 0 9px; + } + .nav-collapse .nav > li { + float: none; + } + .nav-collapse .nav > li > a { + margin-bottom: 2px; + } + .nav-collapse .nav > .divider-vertical { + display: none; + } + .nav-collapse .nav .nav-header { + color: #999999; + text-shadow: none; + } + .nav-collapse .nav > li > a, + .nav-collapse .dropdown-menu a { + padding: 6px 15px; + font-weight: bold; + color: #999999; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + } + .nav-collapse .btn { + padding: 4px 10px 4px; + font-weight: normal; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + } + .nav-collapse .dropdown-menu li + li a { + margin-bottom: 2px; + } + .nav-collapse .nav > li > a:hover, + .nav-collapse .dropdown-menu a:hover { + background-color: #222222; + } + .nav-collapse.in .btn-group { + padding: 0; + margin-top: 5px; + } + .nav-collapse .dropdown-menu { + position: static; + top: auto; + left: auto; + display: block; + float: none; + max-width: none; + padding: 0; + margin: 0 15px; + background-color: transparent; + border: none; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + } + .nav-collapse .dropdown-menu:before, + .nav-collapse .dropdown-menu:after { + display: none; + } + .nav-collapse .dropdown-menu .divider { + display: none; + } + .nav-collapse .navbar-form, + .nav-collapse .navbar-search { + float: none; + padding: 9px 15px; + margin: 9px 0; + border-top: 1px solid #222222; + border-bottom: 1px solid #222222; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + } + .navbar .nav-collapse .nav.pull-right { + float: none; + margin-left: 0; + } + .nav-collapse, + .nav-collapse.collapse { + height: 0; + overflow: hidden; + } + .navbar .btn-navbar { + display: block; + } + .navbar-static .navbar-inner { + padding-right: 10px; + padding-left: 10px; + } +} + +@media (min-width: 980px) { + .nav-collapse.collapse { + height: auto !important; + overflow: visible !important; + } +} diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap-responsive.min.css b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap-responsive.min.css new file mode 100644 index 0000000..dd134a1 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap-responsive.min.css @@ -0,0 +1,9 @@ +/*! + * Bootstrap Responsive v2.0.3 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}@media(max-width:767px){.visible-phone{display:inherit!important}.hidden-phone{display:none!important}.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}}@media(min-width:768px) and (max-width:979px){.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:18px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-group>label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.modal{position:absolute;top:10px;right:10px;left:10px;width:auto;margin:0}.modal.fade.in{top:auto}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:auto}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:auto;margin-left:0}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:28px;margin-left:2.762430939%;*margin-left:2.709239449638298%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:99.999999993%;*width:99.9468085036383%}.row-fluid .span11{width:91.436464082%;*width:91.38327259263829%}.row-fluid .span10{width:82.87292817100001%;*width:82.8197366816383%}.row-fluid .span9{width:74.30939226%;*width:74.25620077063829%}.row-fluid .span8{width:65.74585634900001%;*width:65.6926648596383%}.row-fluid .span7{width:57.182320438000005%;*width:57.129128948638304%}.row-fluid .span6{width:48.618784527%;*width:48.5655930376383%}.row-fluid .span5{width:40.055248616%;*width:40.0020571266383%}.row-fluid .span4{width:31.491712705%;*width:31.4385212156383%}.row-fluid .span3{width:22.928176794%;*width:22.874985304638297%}.row-fluid .span2{width:14.364640883%;*width:14.311449393638298%}.row-fluid .span1{width:5.801104972%;*width:5.747913482638298%}input,textarea,.uneditable-input{margin-left:0}input.span12,textarea.span12,.uneditable-input.span12{width:714px}input.span11,textarea.span11,.uneditable-input.span11{width:652px}input.span10,textarea.span10,.uneditable-input.span10{width:590px}input.span9,textarea.span9,.uneditable-input.span9{width:528px}input.span8,textarea.span8,.uneditable-input.span8{width:466px}input.span7,textarea.span7,.uneditable-input.span7{width:404px}input.span6,textarea.span6,.uneditable-input.span6{width:342px}input.span5,textarea.span5,.uneditable-input.span5{width:280px}input.span4,textarea.span4,.uneditable-input.span4{width:218px}input.span3,textarea.span3,.uneditable-input.span3{width:156px}input.span2,textarea.span2,.uneditable-input.span2{width:94px}input.span1,textarea.span1,.uneditable-input.span1{width:32px}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:30px}.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:28px;margin-left:2.564102564%;*margin-left:2.510911074638298%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145300001%;*width:91.3997999636383%}.row-fluid .span10{width:82.905982906%;*width:82.8527914166383%}.row-fluid .span9{width:74.358974359%;*width:74.30578286963829%}.row-fluid .span8{width:65.81196581200001%;*width:65.7587743226383%}.row-fluid .span7{width:57.264957265%;*width:57.2117657756383%}.row-fluid .span6{width:48.717948718%;*width:48.6647572286383%}.row-fluid .span5{width:40.170940171000005%;*width:40.117748681638304%}.row-fluid .span4{width:31.623931624%;*width:31.5707401346383%}.row-fluid .span3{width:23.076923077%;*width:23.0237315876383%}.row-fluid .span2{width:14.529914530000001%;*width:14.4767230406383%}.row-fluid .span1{width:5.982905983%;*width:5.929714493638298%}input,textarea,.uneditable-input{margin-left:0}input.span12,textarea.span12,.uneditable-input.span12{width:1160px}input.span11,textarea.span11,.uneditable-input.span11{width:1060px}input.span10,textarea.span10,.uneditable-input.span10{width:960px}input.span9,textarea.span9,.uneditable-input.span9{width:860px}input.span8,textarea.span8,.uneditable-input.span8{width:760px}input.span7,textarea.span7,.uneditable-input.span7{width:660px}input.span6,textarea.span6,.uneditable-input.span6{width:560px}input.span5,textarea.span5,.uneditable-input.span5{width:460px}input.span4,textarea.span4,.uneditable-input.span4{width:360px}input.span3,textarea.span3,.uneditable-input.span3{width:260px}input.span2,textarea.span2,.uneditable-input.span2{width:160px}input.span1,textarea.span1,.uneditable-input.span1{width:60px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top{position:static;margin-bottom:18px}.navbar-fixed-top .navbar-inner{padding:5px}.navbar .container{width:auto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 9px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#999;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:6px 15px;font-weight:bold;color:#999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .dropdown-menu a:hover{background-color:#222}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:block;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:9px 15px;margin:9px 0;border-top:1px solid #222;border-bottom:1px solid #222;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}} diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap.css b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap.css new file mode 100644 index 0000000..09e2833 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap.css @@ -0,0 +1,4960 @@ +/*! + * Bootstrap v2.0.3 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section { + display: block; +} + +audio, +canvas, +video { + display: inline-block; + *display: inline; + *zoom: 1; +} + +audio:not([controls]) { + display: none; +} + +html { + font-size: 100%; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +a:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +a:hover, +a:active { + outline: 0; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + max-width: 100%; + vertical-align: middle; + border: 0; + -ms-interpolation-mode: bicubic; +} + +button, +input, +select, +textarea { + margin: 0; + font-size: 100%; + vertical-align: middle; +} + +button, +input { + *overflow: visible; + line-height: normal; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +button, +input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-decoration, +input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: none; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +.clearfix { + *zoom: 1; +} + +.clearfix:before, +.clearfix:after { + display: table; + content: ""; +} + +.clearfix:after { + clear: both; +} + +.hide-text { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.input-block-level { + display: block; + width: 100%; + min-height: 28px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; +} + +body { + margin: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + line-height: 18px; + color: #333333; + background-color: #ffffff; +} + +a { + color: #0088cc; + text-decoration: none; +} + +a:hover { + color: #005580; + text-decoration: underline; +} + +.row { + margin-left: -20px; + *zoom: 1; +} + +.row:before, +.row:after { + display: table; + content: ""; +} + +.row:after { + clear: both; +} + +[class*="span"] { + float: left; + margin-left: 20px; +} + +.container, +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width: 940px; +} + +.span12 { + width: 940px; +} + +.span11 { + width: 860px; +} + +.span10 { + width: 780px; +} + +.span9 { + width: 700px; +} + +.span8 { + width: 620px; +} + +.span7 { + width: 540px; +} + +.span6 { + width: 460px; +} + +.span5 { + width: 380px; +} + +.span4 { + width: 300px; +} + +.span3 { + width: 220px; +} + +.span2 { + width: 140px; +} + +.span1 { + width: 60px; +} + +.offset12 { + margin-left: 980px; +} + +.offset11 { + margin-left: 900px; +} + +.offset10 { + margin-left: 820px; +} + +.offset9 { + margin-left: 740px; +} + +.offset8 { + margin-left: 660px; +} + +.offset7 { + margin-left: 580px; +} + +.offset6 { + margin-left: 500px; +} + +.offset5 { + margin-left: 420px; +} + +.offset4 { + margin-left: 340px; +} + +.offset3 { + margin-left: 260px; +} + +.offset2 { + margin-left: 180px; +} + +.offset1 { + margin-left: 100px; +} + +.row-fluid { + width: 100%; + *zoom: 1; +} + +.row-fluid:before, +.row-fluid:after { + display: table; + content: ""; +} + +.row-fluid:after { + clear: both; +} + +.row-fluid [class*="span"] { + display: block; + float: left; + width: 100%; + min-height: 28px; + margin-left: 2.127659574%; + *margin-left: 2.0744680846382977%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; +} + +.row-fluid [class*="span"]:first-child { + margin-left: 0; +} + +.row-fluid .span12 { + width: 99.99999998999999%; + *width: 99.94680850063828%; +} + +.row-fluid .span11 { + width: 91.489361693%; + *width: 91.4361702036383%; +} + +.row-fluid .span10 { + width: 82.97872339599999%; + *width: 82.92553190663828%; +} + +.row-fluid .span9 { + width: 74.468085099%; + *width: 74.4148936096383%; +} + +.row-fluid .span8 { + width: 65.95744680199999%; + *width: 65.90425531263828%; +} + +.row-fluid .span7 { + width: 57.446808505%; + *width: 57.3936170156383%; +} + +.row-fluid .span6 { + width: 48.93617020799999%; + *width: 48.88297871863829%; +} + +.row-fluid .span5 { + width: 40.425531911%; + *width: 40.3723404216383%; +} + +.row-fluid .span4 { + width: 31.914893614%; + *width: 31.8617021246383%; +} + +.row-fluid .span3 { + width: 23.404255317%; + *width: 23.3510638276383%; +} + +.row-fluid .span2 { + width: 14.89361702%; + *width: 14.8404255306383%; +} + +.row-fluid .span1 { + width: 6.382978723%; + *width: 6.329787233638298%; +} + +.container { + margin-right: auto; + margin-left: auto; + *zoom: 1; +} + +.container:before, +.container:after { + display: table; + content: ""; +} + +.container:after { + clear: both; +} + +.container-fluid { + padding-right: 20px; + padding-left: 20px; + *zoom: 1; +} + +.container-fluid:before, +.container-fluid:after { + display: table; + content: ""; +} + +.container-fluid:after { + clear: both; +} + +p { + margin: 0 0 9px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + line-height: 18px; +} + +p small { + font-size: 11px; + color: #999999; +} + +.lead { + margin-bottom: 18px; + font-size: 20px; + font-weight: 200; + line-height: 27px; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 0; + font-family: inherit; + font-weight: bold; + color: inherit; + text-rendering: optimizelegibility; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small { + font-weight: normal; + color: #999999; +} + +h1 { + font-size: 30px; + line-height: 36px; +} + +h1 small { + font-size: 18px; +} + +h2 { + font-size: 24px; + line-height: 36px; +} + +h2 small { + font-size: 18px; +} + +h3 { + font-size: 18px; + line-height: 27px; +} + +h3 small { + font-size: 14px; +} + +h4, +h5, +h6 { + line-height: 18px; +} + +h4 { + font-size: 14px; +} + +h4 small { + font-size: 12px; +} + +h5 { + font-size: 12px; +} + +h6 { + font-size: 11px; + color: #999999; + text-transform: uppercase; +} + +.page-header { + padding-bottom: 17px; + margin: 18px 0; + border-bottom: 1px solid #eeeeee; +} + +.page-header h1 { + line-height: 1; +} + +ul, +ol { + padding: 0; + margin: 0 0 9px 25px; +} + +ul ul, +ul ol, +ol ol, +ol ul { + margin-bottom: 0; +} + +ul { + list-style: disc; +} + +ol { + list-style: decimal; +} + +li { + line-height: 18px; +} + +ul.unstyled, +ol.unstyled { + margin-left: 0; + list-style: none; +} + +dl { + margin-bottom: 18px; +} + +dt, +dd { + line-height: 18px; +} + +dt { + font-weight: bold; + line-height: 17px; +} + +dd { + margin-left: 9px; +} + +.dl-horizontal dt { + float: left; + width: 120px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; +} + +.dl-horizontal dd { + margin-left: 130px; +} + +hr { + margin: 18px 0; + border: 0; + border-top: 1px solid #eeeeee; + border-bottom: 1px solid #ffffff; +} + +strong { + font-weight: bold; +} + +em { + font-style: italic; +} + +.muted { + color: #999999; +} + +abbr[title] { + cursor: help; + border-bottom: 1px dotted #ddd; +} + +abbr.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 0 0 0 15px; + margin: 0 0 18px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + margin-bottom: 0; + font-size: 16px; + font-weight: 300; + line-height: 22.5px; +} + +blockquote small { + display: block; + line-height: 18px; + color: #999999; +} + +blockquote small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + float: right; + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small { + text-align: right; +} + +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; +} + +address { + display: block; + margin-bottom: 18px; + font-style: normal; + line-height: 18px; +} + +small { + font-size: 100%; +} + +cite { + font-style: normal; +} + +code, +pre { + padding: 0 3px 2px; + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 12px; + color: #333333; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +code { + padding: 2px 4px; + color: #d14; + background-color: #f7f7f9; + border: 1px solid #e1e1e8; +} + +pre { + display: block; + padding: 8.5px; + margin: 0 0 9px; + font-size: 12.025px; + line-height: 18px; + word-break: break-all; + word-wrap: break-word; + white-space: pre; + white-space: pre-wrap; + background-color: #f5f5f5; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +pre.prettyprint { + margin-bottom: 18px; +} + +pre code { + padding: 0; + color: inherit; + background-color: transparent; + border: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +form { + margin: 0 0 18px; +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 27px; + font-size: 19.5px; + line-height: 36px; + color: #333333; + border: 0; + border-bottom: 1px solid #eee; +} + +legend small { + font-size: 13.5px; + color: #999999; +} + +label, +input, +button, +select, +textarea { + font-size: 13px; + font-weight: normal; + line-height: 18px; +} + +input, +button, +select, +textarea { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; +} + +label { + display: block; + margin-bottom: 5px; + color: #333333; +} + +input, +textarea, +select, +.uneditable-input { + display: inline-block; + width: 210px; + height: 18px; + padding: 4px; + margin-bottom: 9px; + font-size: 13px; + line-height: 18px; + color: #555555; + background-color: #ffffff; + border: 1px solid #cccccc; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.uneditable-textarea { + width: auto; + height: auto; +} + +label input, +label textarea, +label select { + display: block; +} + +input[type="image"], +input[type="checkbox"], +input[type="radio"] { + width: auto; + height: auto; + padding: 0; + margin: 3px 0; + *margin-top: 0; + /* IE7 */ + + line-height: normal; + cursor: pointer; + background-color: transparent; + border: 0 \9; + /* IE9 and down */ + + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +input[type="image"] { + border: 0; +} + +input[type="file"] { + width: auto; + padding: initial; + line-height: initial; + background-color: #ffffff; + background-color: initial; + border: initial; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +input[type="button"], +input[type="reset"], +input[type="submit"] { + width: auto; + height: auto; +} + +select, +input[type="file"] { + height: 28px; + /* In IE7, the height of the select element cannot be changed by height, only font-size */ + + *margin-top: 4px; + /* For IE7, add top margin to align select with labels */ + + line-height: 28px; +} + +input[type="file"] { + line-height: 18px \9; +} + +select { + width: 220px; + background-color: #ffffff; +} + +select[multiple], +select[size] { + height: auto; +} + +input[type="image"] { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +textarea { + height: auto; +} + +input[type="hidden"] { + display: none; +} + +.radio, +.checkbox { + min-height: 18px; + padding-left: 18px; +} + +.radio input[type="radio"], +.checkbox input[type="checkbox"] { + float: left; + margin-left: -18px; +} + +.controls > .radio:first-child, +.controls > .checkbox:first-child { + padding-top: 5px; +} + +.radio.inline, +.checkbox.inline { + display: inline-block; + padding-top: 5px; + margin-bottom: 0; + vertical-align: middle; +} + +.radio.inline + .radio.inline, +.checkbox.inline + .checkbox.inline { + margin-left: 10px; +} + +input, +textarea { + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; + -moz-transition: border linear 0.2s, box-shadow linear 0.2s; + -ms-transition: border linear 0.2s, box-shadow linear 0.2s; + -o-transition: border linear 0.2s, box-shadow linear 0.2s; + transition: border linear 0.2s, box-shadow linear 0.2s; +} + +input:focus, +textarea:focus { + border-color: rgba(82, 168, 236, 0.8); + outline: 0; + outline: thin dotted \9; + /* IE6-9 */ + + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus, +select:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +.input-mini { + width: 60px; +} + +.input-small { + width: 90px; +} + +.input-medium { + width: 150px; +} + +.input-large { + width: 210px; +} + +.input-xlarge { + width: 270px; +} + +.input-xxlarge { + width: 530px; +} + +input[class*="span"], +select[class*="span"], +textarea[class*="span"], +.uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"] { + float: none; + margin-left: 0; +} + +input, +textarea, +.uneditable-input { + margin-left: 0; +} + +input.span12, +textarea.span12, +.uneditable-input.span12 { + width: 930px; +} + +input.span11, +textarea.span11, +.uneditable-input.span11 { + width: 850px; +} + +input.span10, +textarea.span10, +.uneditable-input.span10 { + width: 770px; +} + +input.span9, +textarea.span9, +.uneditable-input.span9 { + width: 690px; +} + +input.span8, +textarea.span8, +.uneditable-input.span8 { + width: 610px; +} + +input.span7, +textarea.span7, +.uneditable-input.span7 { + width: 530px; +} + +input.span6, +textarea.span6, +.uneditable-input.span6 { + width: 450px; +} + +input.span5, +textarea.span5, +.uneditable-input.span5 { + width: 370px; +} + +input.span4, +textarea.span4, +.uneditable-input.span4 { + width: 290px; +} + +input.span3, +textarea.span3, +.uneditable-input.span3 { + width: 210px; +} + +input.span2, +textarea.span2, +.uneditable-input.span2 { + width: 130px; +} + +input.span1, +textarea.span1, +.uneditable-input.span1 { + width: 50px; +} + +input[disabled], +select[disabled], +textarea[disabled], +input[readonly], +select[readonly], +textarea[readonly] { + cursor: not-allowed; + background-color: #eeeeee; + border-color: #ddd; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"][readonly], +input[type="checkbox"][readonly] { + background-color: transparent; +} + +.control-group.warning > label, +.control-group.warning .help-block, +.control-group.warning .help-inline { + color: #c09853; +} + +.control-group.warning input, +.control-group.warning select, +.control-group.warning textarea { + color: #c09853; + border-color: #c09853; +} + +.control-group.warning input:focus, +.control-group.warning select:focus, +.control-group.warning textarea:focus { + border-color: #a47e3c; + -webkit-box-shadow: 0 0 6px #dbc59e; + -moz-box-shadow: 0 0 6px #dbc59e; + box-shadow: 0 0 6px #dbc59e; +} + +.control-group.warning .input-prepend .add-on, +.control-group.warning .input-append .add-on { + color: #c09853; + background-color: #fcf8e3; + border-color: #c09853; +} + +.control-group.error > label, +.control-group.error .help-block, +.control-group.error .help-inline { + color: #b94a48; +} + +.control-group.error input, +.control-group.error select, +.control-group.error textarea { + color: #b94a48; + border-color: #b94a48; +} + +.control-group.error input:focus, +.control-group.error select:focus, +.control-group.error textarea:focus { + border-color: #953b39; + -webkit-box-shadow: 0 0 6px #d59392; + -moz-box-shadow: 0 0 6px #d59392; + box-shadow: 0 0 6px #d59392; +} + +.control-group.error .input-prepend .add-on, +.control-group.error .input-append .add-on { + color: #b94a48; + background-color: #f2dede; + border-color: #b94a48; +} + +.control-group.success > label, +.control-group.success .help-block, +.control-group.success .help-inline { + color: #468847; +} + +.control-group.success input, +.control-group.success select, +.control-group.success textarea { + color: #468847; + border-color: #468847; +} + +.control-group.success input:focus, +.control-group.success select:focus, +.control-group.success textarea:focus { + border-color: #356635; + -webkit-box-shadow: 0 0 6px #7aba7b; + -moz-box-shadow: 0 0 6px #7aba7b; + box-shadow: 0 0 6px #7aba7b; +} + +.control-group.success .input-prepend .add-on, +.control-group.success .input-append .add-on { + color: #468847; + background-color: #dff0d8; + border-color: #468847; +} + +input:focus:required:invalid, +textarea:focus:required:invalid, +select:focus:required:invalid { + color: #b94a48; + border-color: #ee5f5b; +} + +input:focus:required:invalid:focus, +textarea:focus:required:invalid:focus, +select:focus:required:invalid:focus { + border-color: #e9322d; + -webkit-box-shadow: 0 0 6px #f8b9b7; + -moz-box-shadow: 0 0 6px #f8b9b7; + box-shadow: 0 0 6px #f8b9b7; +} + +.form-actions { + padding: 17px 20px 18px; + margin-top: 18px; + margin-bottom: 18px; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + *zoom: 1; +} + +.form-actions:before, +.form-actions:after { + display: table; + content: ""; +} + +.form-actions:after { + clear: both; +} + +.uneditable-input { + overflow: hidden; + white-space: nowrap; + cursor: not-allowed; + background-color: #ffffff; + border-color: #eee; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); +} + +:-moz-placeholder { + color: #999999; +} + +::-webkit-input-placeholder { + color: #999999; +} + +.help-block, +.help-inline { + color: #555555; +} + +.help-block { + display: block; + margin-bottom: 9px; +} + +.help-inline { + display: inline-block; + *display: inline; + padding-left: 5px; + vertical-align: middle; + *zoom: 1; +} + +.input-prepend, +.input-append { + margin-bottom: 5px; +} + +.input-prepend input, +.input-append input, +.input-prepend select, +.input-append select, +.input-prepend .uneditable-input, +.input-append .uneditable-input { + position: relative; + margin-bottom: 0; + *margin-left: 0; + vertical-align: middle; + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} + +.input-prepend input:focus, +.input-append input:focus, +.input-prepend select:focus, +.input-append select:focus, +.input-prepend .uneditable-input:focus, +.input-append .uneditable-input:focus { + z-index: 2; +} + +.input-prepend .uneditable-input, +.input-append .uneditable-input { + border-left-color: #ccc; +} + +.input-prepend .add-on, +.input-append .add-on { + display: inline-block; + width: auto; + height: 18px; + min-width: 16px; + padding: 4px 5px; + font-weight: normal; + line-height: 18px; + text-align: center; + text-shadow: 0 1px 0 #ffffff; + vertical-align: middle; + background-color: #eeeeee; + border: 1px solid #ccc; +} + +.input-prepend .add-on, +.input-append .add-on, +.input-prepend .btn, +.input-append .btn { + margin-left: -1px; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.input-prepend .active, +.input-append .active { + background-color: #a9dba9; + border-color: #46a546; +} + +.input-prepend .add-on, +.input-prepend .btn { + margin-right: -1px; +} + +.input-prepend .add-on:first-child, +.input-prepend .btn:first-child { + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} + +.input-append input, +.input-append select, +.input-append .uneditable-input { + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} + +.input-append .uneditable-input { + border-right-color: #ccc; + border-left-color: #eee; +} + +.input-append .add-on:last-child, +.input-append .btn:last-child { + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} + +.input-prepend.input-append input, +.input-prepend.input-append select, +.input-prepend.input-append .uneditable-input { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.input-prepend.input-append .add-on:first-child, +.input-prepend.input-append .btn:first-child { + margin-right: -1px; + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} + +.input-prepend.input-append .add-on:last-child, +.input-prepend.input-append .btn:last-child { + margin-left: -1px; + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} + +.search-query { + padding-right: 14px; + padding-right: 4px \9; + padding-left: 14px; + padding-left: 4px \9; + /* IE7-8 doesn't have border-radius, so don't indent the padding */ + + margin-bottom: 0; + -webkit-border-radius: 14px; + -moz-border-radius: 14px; + border-radius: 14px; +} + +.form-search input, +.form-inline input, +.form-horizontal input, +.form-search textarea, +.form-inline textarea, +.form-horizontal textarea, +.form-search select, +.form-inline select, +.form-horizontal select, +.form-search .help-inline, +.form-inline .help-inline, +.form-horizontal .help-inline, +.form-search .uneditable-input, +.form-inline .uneditable-input, +.form-horizontal .uneditable-input, +.form-search .input-prepend, +.form-inline .input-prepend, +.form-horizontal .input-prepend, +.form-search .input-append, +.form-inline .input-append, +.form-horizontal .input-append { + display: inline-block; + *display: inline; + margin-bottom: 0; + *zoom: 1; +} + +.form-search .hide, +.form-inline .hide, +.form-horizontal .hide { + display: none; +} + +.form-search label, +.form-inline label { + display: inline-block; +} + +.form-search .input-append, +.form-inline .input-append, +.form-search .input-prepend, +.form-inline .input-prepend { + margin-bottom: 0; +} + +.form-search .radio, +.form-search .checkbox, +.form-inline .radio, +.form-inline .checkbox { + padding-left: 0; + margin-bottom: 0; + vertical-align: middle; +} + +.form-search .radio input[type="radio"], +.form-search .checkbox input[type="checkbox"], +.form-inline .radio input[type="radio"], +.form-inline .checkbox input[type="checkbox"] { + float: left; + margin-right: 3px; + margin-left: 0; +} + +.control-group { + margin-bottom: 9px; +} + +legend + .control-group { + margin-top: 18px; + -webkit-margin-top-collapse: separate; +} + +.form-horizontal .control-group { + margin-bottom: 18px; + *zoom: 1; +} + +.form-horizontal .control-group:before, +.form-horizontal .control-group:after { + display: table; + content: ""; +} + +.form-horizontal .control-group:after { + clear: both; +} + +.form-horizontal .control-label { + float: left; + width: 140px; + padding-top: 5px; + text-align: right; +} + +.form-horizontal .controls { + *display: inline-block; + *padding-left: 20px; + margin-left: 160px; + *margin-left: 0; +} + +.form-horizontal .controls:first-child { + *padding-left: 160px; +} + +.form-horizontal .help-block { + margin-top: 9px; + margin-bottom: 0; +} + +.form-horizontal .form-actions { + padding-left: 160px; +} + +table { + max-width: 100%; + background-color: transparent; + border-collapse: collapse; + border-spacing: 0; +} + +.table { + width: 100%; + margin-bottom: 18px; +} + +.table th, +.table td { + padding: 8px; + line-height: 18px; + text-align: left; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table th { + font-weight: bold; +} + +.table thead th { + vertical-align: bottom; +} + +.table caption + thead tr:first-child th, +.table caption + thead tr:first-child td, +.table colgroup + thead tr:first-child th, +.table colgroup + thead tr:first-child td, +.table thead:first-child tr:first-child th, +.table thead:first-child tr:first-child td { + border-top: 0; +} + +.table tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table-condensed th, +.table-condensed td { + padding: 4px 5px; +} + +.table-bordered { + border: 1px solid #dddddd; + border-collapse: separate; + *border-collapse: collapsed; + border-left: 0; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.table-bordered th, +.table-bordered td { + border-left: 1px solid #dddddd; +} + +.table-bordered caption + thead tr:first-child th, +.table-bordered caption + tbody tr:first-child th, +.table-bordered caption + tbody tr:first-child td, +.table-bordered colgroup + thead tr:first-child th, +.table-bordered colgroup + tbody tr:first-child th, +.table-bordered colgroup + tbody tr:first-child td, +.table-bordered thead:first-child tr:first-child th, +.table-bordered tbody:first-child tr:first-child th, +.table-bordered tbody:first-child tr:first-child td { + border-top: 0; +} + +.table-bordered thead:first-child tr:first-child th:first-child, +.table-bordered tbody:first-child tr:first-child td:first-child { + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; +} + +.table-bordered thead:first-child tr:first-child th:last-child, +.table-bordered tbody:first-child tr:first-child td:last-child { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; +} + +.table-bordered thead:last-child tr:last-child th:first-child, +.table-bordered tbody:last-child tr:last-child td:first-child { + -webkit-border-radius: 0 0 0 4px; + -moz-border-radius: 0 0 0 4px; + border-radius: 0 0 0 4px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; +} + +.table-bordered thead:last-child tr:last-child th:last-child, +.table-bordered tbody:last-child tr:last-child td:last-child { + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-bottomright: 4px; +} + +.table-striped tbody tr:nth-child(odd) td, +.table-striped tbody tr:nth-child(odd) th { + background-color: #f9f9f9; +} + +.table tbody tr:hover td, +.table tbody tr:hover th { + background-color: #f5f5f5; +} + +table .span1 { + float: none; + width: 44px; + margin-left: 0; +} + +table .span2 { + float: none; + width: 124px; + margin-left: 0; +} + +table .span3 { + float: none; + width: 204px; + margin-left: 0; +} + +table .span4 { + float: none; + width: 284px; + margin-left: 0; +} + +table .span5 { + float: none; + width: 364px; + margin-left: 0; +} + +table .span6 { + float: none; + width: 444px; + margin-left: 0; +} + +table .span7 { + float: none; + width: 524px; + margin-left: 0; +} + +table .span8 { + float: none; + width: 604px; + margin-left: 0; +} + +table .span9 { + float: none; + width: 684px; + margin-left: 0; +} + +table .span10 { + float: none; + width: 764px; + margin-left: 0; +} + +table .span11 { + float: none; + width: 844px; + margin-left: 0; +} + +table .span12 { + float: none; + width: 924px; + margin-left: 0; +} + +table .span13 { + float: none; + width: 1004px; + margin-left: 0; +} + +table .span14 { + float: none; + width: 1084px; + margin-left: 0; +} + +table .span15 { + float: none; + width: 1164px; + margin-left: 0; +} + +table .span16 { + float: none; + width: 1244px; + margin-left: 0; +} + +table .span17 { + float: none; + width: 1324px; + margin-left: 0; +} + +table .span18 { + float: none; + width: 1404px; + margin-left: 0; +} + +table .span19 { + float: none; + width: 1484px; + margin-left: 0; +} + +table .span20 { + float: none; + width: 1564px; + margin-left: 0; +} + +table .span21 { + float: none; + width: 1644px; + margin-left: 0; +} + +table .span22 { + float: none; + width: 1724px; + margin-left: 0; +} + +table .span23 { + float: none; + width: 1804px; + margin-left: 0; +} + +table .span24 { + float: none; + width: 1884px; + margin-left: 0; +} + +[class^="icon-"], +[class*=" icon-"] { + display: inline-block; + width: 14px; + height: 14px; + *margin-right: .3em; + line-height: 14px; + vertical-align: text-top; + background-image: url("../img/glyphicons-halflings.png"); + background-position: 14px 14px; + background-repeat: no-repeat; +} + +[class^="icon-"]:last-child, +[class*=" icon-"]:last-child { + *margin-left: 0; +} + +.icon-white { + background-image: url("../img/glyphicons-halflings-white.png"); +} + +.icon-glass { + background-position: 0 0; +} + +.icon-music { + background-position: -24px 0; +} + +.icon-search { + background-position: -48px 0; +} + +.icon-envelope { + background-position: -72px 0; +} + +.icon-heart { + background-position: -96px 0; +} + +.icon-star { + background-position: -120px 0; +} + +.icon-star-empty { + background-position: -144px 0; +} + +.icon-user { + background-position: -168px 0; +} + +.icon-film { + background-position: -192px 0; +} + +.icon-th-large { + background-position: -216px 0; +} + +.icon-th { + background-position: -240px 0; +} + +.icon-th-list { + background-position: -264px 0; +} + +.icon-ok { + background-position: -288px 0; +} + +.icon-remove { + background-position: -312px 0; +} + +.icon-zoom-in { + background-position: -336px 0; +} + +.icon-zoom-out { + background-position: -360px 0; +} + +.icon-off { + background-position: -384px 0; +} + +.icon-signal { + background-position: -408px 0; +} + +.icon-cog { + background-position: -432px 0; +} + +.icon-trash { + background-position: -456px 0; +} + +.icon-home { + background-position: 0 -24px; +} + +.icon-file { + background-position: -24px -24px; +} + +.icon-time { + background-position: -48px -24px; +} + +.icon-road { + background-position: -72px -24px; +} + +.icon-download-alt { + background-position: -96px -24px; +} + +.icon-download { + background-position: -120px -24px; +} + +.icon-upload { + background-position: -144px -24px; +} + +.icon-inbox { + background-position: -168px -24px; +} + +.icon-play-circle { + background-position: -192px -24px; +} + +.icon-repeat { + background-position: -216px -24px; +} + +.icon-refresh { + background-position: -240px -24px; +} + +.icon-list-alt { + background-position: -264px -24px; +} + +.icon-lock { + background-position: -287px -24px; +} + +.icon-flag { + background-position: -312px -24px; +} + +.icon-headphones { + background-position: -336px -24px; +} + +.icon-volume-off { + background-position: -360px -24px; +} + +.icon-volume-down { + background-position: -384px -24px; +} + +.icon-volume-up { + background-position: -408px -24px; +} + +.icon-qrcode { + background-position: -432px -24px; +} + +.icon-barcode { + background-position: -456px -24px; +} + +.icon-tag { + background-position: 0 -48px; +} + +.icon-tags { + background-position: -25px -48px; +} + +.icon-book { + background-position: -48px -48px; +} + +.icon-bookmark { + background-position: -72px -48px; +} + +.icon-print { + background-position: -96px -48px; +} + +.icon-camera { + background-position: -120px -48px; +} + +.icon-font { + background-position: -144px -48px; +} + +.icon-bold { + background-position: -167px -48px; +} + +.icon-italic { + background-position: -192px -48px; +} + +.icon-text-height { + background-position: -216px -48px; +} + +.icon-text-width { + background-position: -240px -48px; +} + +.icon-align-left { + background-position: -264px -48px; +} + +.icon-align-center { + background-position: -288px -48px; +} + +.icon-align-right { + background-position: -312px -48px; +} + +.icon-align-justify { + background-position: -336px -48px; +} + +.icon-list { + background-position: -360px -48px; +} + +.icon-indent-left { + background-position: -384px -48px; +} + +.icon-indent-right { + background-position: -408px -48px; +} + +.icon-facetime-video { + background-position: -432px -48px; +} + +.icon-picture { + background-position: -456px -48px; +} + +.icon-pencil { + background-position: 0 -72px; +} + +.icon-map-marker { + background-position: -24px -72px; +} + +.icon-adjust { + background-position: -48px -72px; +} + +.icon-tint { + background-position: -72px -72px; +} + +.icon-edit { + background-position: -96px -72px; +} + +.icon-share { + background-position: -120px -72px; +} + +.icon-check { + background-position: -144px -72px; +} + +.icon-move { + background-position: -168px -72px; +} + +.icon-step-backward { + background-position: -192px -72px; +} + +.icon-fast-backward { + background-position: -216px -72px; +} + +.icon-backward { + background-position: -240px -72px; +} + +.icon-play { + background-position: -264px -72px; +} + +.icon-pause { + background-position: -288px -72px; +} + +.icon-stop { + background-position: -312px -72px; +} + +.icon-forward { + background-position: -336px -72px; +} + +.icon-fast-forward { + background-position: -360px -72px; +} + +.icon-step-forward { + background-position: -384px -72px; +} + +.icon-eject { + background-position: -408px -72px; +} + +.icon-chevron-left { + background-position: -432px -72px; +} + +.icon-chevron-right { + background-position: -456px -72px; +} + +.icon-plus-sign { + background-position: 0 -96px; +} + +.icon-minus-sign { + background-position: -24px -96px; +} + +.icon-remove-sign { + background-position: -48px -96px; +} + +.icon-ok-sign { + background-position: -72px -96px; +} + +.icon-question-sign { + background-position: -96px -96px; +} + +.icon-info-sign { + background-position: -120px -96px; +} + +.icon-screenshot { + background-position: -144px -96px; +} + +.icon-remove-circle { + background-position: -168px -96px; +} + +.icon-ok-circle { + background-position: -192px -96px; +} + +.icon-ban-circle { + background-position: -216px -96px; +} + +.icon-arrow-left { + background-position: -240px -96px; +} + +.icon-arrow-right { + background-position: -264px -96px; +} + +.icon-arrow-up { + background-position: -289px -96px; +} + +.icon-arrow-down { + background-position: -312px -96px; +} + +.icon-share-alt { + background-position: -336px -96px; +} + +.icon-resize-full { + background-position: -360px -96px; +} + +.icon-resize-small { + background-position: -384px -96px; +} + +.icon-plus { + background-position: -408px -96px; +} + +.icon-minus { + background-position: -433px -96px; +} + +.icon-asterisk { + background-position: -456px -96px; +} + +.icon-exclamation-sign { + background-position: 0 -120px; +} + +.icon-gift { + background-position: -24px -120px; +} + +.icon-leaf { + background-position: -48px -120px; +} + +.icon-fire { + background-position: -72px -120px; +} + +.icon-eye-open { + background-position: -96px -120px; +} + +.icon-eye-close { + background-position: -120px -120px; +} + +.icon-warning-sign { + background-position: -144px -120px; +} + +.icon-plane { + background-position: -168px -120px; +} + +.icon-calendar { + background-position: -192px -120px; +} + +.icon-random { + background-position: -216px -120px; +} + +.icon-comment { + background-position: -240px -120px; +} + +.icon-magnet { + background-position: -264px -120px; +} + +.icon-chevron-up { + background-position: -288px -120px; +} + +.icon-chevron-down { + background-position: -313px -119px; +} + +.icon-retweet { + background-position: -336px -120px; +} + +.icon-shopping-cart { + background-position: -360px -120px; +} + +.icon-folder-close { + background-position: -384px -120px; +} + +.icon-folder-open { + background-position: -408px -120px; +} + +.icon-resize-vertical { + background-position: -432px -119px; +} + +.icon-resize-horizontal { + background-position: -456px -118px; +} + +.icon-hdd { + background-position: 0 -144px; +} + +.icon-bullhorn { + background-position: -24px -144px; +} + +.icon-bell { + background-position: -48px -144px; +} + +.icon-certificate { + background-position: -72px -144px; +} + +.icon-thumbs-up { + background-position: -96px -144px; +} + +.icon-thumbs-down { + background-position: -120px -144px; +} + +.icon-hand-right { + background-position: -144px -144px; +} + +.icon-hand-left { + background-position: -168px -144px; +} + +.icon-hand-up { + background-position: -192px -144px; +} + +.icon-hand-down { + background-position: -216px -144px; +} + +.icon-circle-arrow-right { + background-position: -240px -144px; +} + +.icon-circle-arrow-left { + background-position: -264px -144px; +} + +.icon-circle-arrow-up { + background-position: -288px -144px; +} + +.icon-circle-arrow-down { + background-position: -312px -144px; +} + +.icon-globe { + background-position: -336px -144px; +} + +.icon-wrench { + background-position: -360px -144px; +} + +.icon-tasks { + background-position: -384px -144px; +} + +.icon-filter { + background-position: -408px -144px; +} + +.icon-briefcase { + background-position: -432px -144px; +} + +.icon-fullscreen { + background-position: -456px -144px; +} + +.dropup, +.dropdown { + position: relative; +} + +.dropdown-toggle { + *margin-bottom: -3px; +} + +.dropdown-toggle:active, +.open .dropdown-toggle { + outline: 0; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + vertical-align: top; + border-top: 4px solid #000000; + border-right: 4px solid transparent; + border-left: 4px solid transparent; + content: ""; + opacity: 0.3; + filter: alpha(opacity=30); +} + +.dropdown .caret { + margin-top: 8px; + margin-left: 2px; +} + +.dropdown:hover .caret, +.open .caret { + opacity: 1; + filter: alpha(opacity=100); +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 4px 0; + margin: 1px 0 0; + list-style: none; + background-color: #ffffff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + *border-right-width: 2px; + *border-bottom-width: 2px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + *width: 100%; + height: 1px; + margin: 8px 1px; + *margin: -5px 0 5px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; +} + +.dropdown-menu a { + display: block; + padding: 3px 15px; + clear: both; + font-weight: normal; + line-height: 18px; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu li > a:hover, +.dropdown-menu .active > a, +.dropdown-menu .active > a:hover { + color: #ffffff; + text-decoration: none; + background-color: #0088cc; +} + +.open { + *z-index: 1000; +} + +.open .dropdown-menu { + display: block; +} + +.pull-right .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid #000000; + content: "\2191"; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +.typeahead { + margin-top: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #eee; + border: 1px solid rgba(0, 0, 0, 0.05); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-large { + padding: 24px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.well-small { + padding: 9px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.fade { + opacity: 0; + filter: alpha(opacity=0); + -webkit-transition: opacity 0.15s linear; + -moz-transition: opacity 0.15s linear; + -ms-transition: opacity 0.15s linear; + -o-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; + filter: alpha(opacity=100); +} + +.collapse { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + -moz-transition: height 0.35s ease; + -ms-transition: height 0.35s ease; + -o-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +.collapse.in { + height: auto; +} + +.close { + float: right; + font-size: 20px; + font-weight: bold; + line-height: 18px; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.4; + filter: alpha(opacity=40); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.btn { + display: inline-block; + *display: inline; + padding: 4px 10px 4px; + margin-bottom: 0; + *margin-left: .3em; + font-size: 13px; + line-height: 18px; + *line-height: 20px; + color: #333333; + text-align: center; + text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); + vertical-align: middle; + cursor: pointer; + background-color: #f5f5f5; + *background-color: #e6e6e6; + background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); + background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); + background-image: linear-gradient(top, #ffffff, #e6e6e6); + background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); + background-repeat: repeat-x; + border: 1px solid #cccccc; + *border: 0; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + border-color: #e6e6e6 #e6e6e6 #bfbfbf; + border-bottom-color: #b3b3b3; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0); + filter: progid:dximagetransform.microsoft.gradient(enabled=false); + *zoom: 1; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn:hover, +.btn:active, +.btn.active, +.btn.disabled, +.btn[disabled] { + background-color: #e6e6e6; + *background-color: #d9d9d9; +} + +.btn:active, +.btn.active { + background-color: #cccccc \9; +} + +.btn:first-child { + *margin-left: 0; +} + +.btn:hover { + color: #333333; + text-decoration: none; + background-color: #e6e6e6; + *background-color: #d9d9d9; + /* Buttons in IE7 don't get borders, so darken on hover */ + + background-position: 0 -15px; + -webkit-transition: background-position 0.1s linear; + -moz-transition: background-position 0.1s linear; + -ms-transition: background-position 0.1s linear; + -o-transition: background-position 0.1s linear; + transition: background-position 0.1s linear; +} + +.btn:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn.active, +.btn:active { + background-color: #e6e6e6; + background-color: #d9d9d9 \9; + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn.disabled, +.btn[disabled] { + cursor: default; + background-color: #e6e6e6; + background-image: none; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +.btn-large { + padding: 9px 14px; + font-size: 15px; + line-height: normal; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.btn-large [class^="icon-"] { + margin-top: 1px; +} + +.btn-small { + padding: 5px 9px; + font-size: 11px; + line-height: 16px; +} + +.btn-small [class^="icon-"] { + margin-top: -1px; +} + +.btn-mini { + padding: 2px 6px; + font-size: 11px; + line-height: 14px; +} + +.btn-primary, +.btn-primary:hover, +.btn-warning, +.btn-warning:hover, +.btn-danger, +.btn-danger:hover, +.btn-success, +.btn-success:hover, +.btn-info, +.btn-info:hover, +.btn-inverse, +.btn-inverse:hover { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.btn-primary.active, +.btn-warning.active, +.btn-danger.active, +.btn-success.active, +.btn-info.active, +.btn-inverse.active { + color: rgba(255, 255, 255, 0.75); +} + +.btn { + border-color: #ccc; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); +} + +.btn-primary { + background-color: #0074cc; + *background-color: #0055cc; + background-image: -ms-linear-gradient(top, #0088cc, #0055cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc)); + background-image: -webkit-linear-gradient(top, #0088cc, #0055cc); + background-image: -o-linear-gradient(top, #0088cc, #0055cc); + background-image: -moz-linear-gradient(top, #0088cc, #0055cc); + background-image: linear-gradient(top, #0088cc, #0055cc); + background-repeat: repeat-x; + border-color: #0055cc #0055cc #003580; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0); + filter: progid:dximagetransform.microsoft.gradient(enabled=false); +} + +.btn-primary:hover, +.btn-primary:active, +.btn-primary.active, +.btn-primary.disabled, +.btn-primary[disabled] { + background-color: #0055cc; + *background-color: #004ab3; +} + +.btn-primary:active, +.btn-primary.active { + background-color: #004099 \9; +} + +.btn-warning { + background-color: #faa732; + *background-color: #f89406; + background-image: -ms-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(top, #fbb450, #f89406); + background-repeat: repeat-x; + border-color: #f89406 #f89406 #ad6704; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0); + filter: progid:dximagetransform.microsoft.gradient(enabled=false); +} + +.btn-warning:hover, +.btn-warning:active, +.btn-warning.active, +.btn-warning.disabled, +.btn-warning[disabled] { + background-color: #f89406; + *background-color: #df8505; +} + +.btn-warning:active, +.btn-warning.active { + background-color: #c67605 \9; +} + +.btn-danger { + background-color: #da4f49; + *background-color: #bd362f; + background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); + background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); + background-image: linear-gradient(top, #ee5f5b, #bd362f); + background-repeat: repeat-x; + border-color: #bd362f #bd362f #802420; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0); + filter: progid:dximagetransform.microsoft.gradient(enabled=false); +} + +.btn-danger:hover, +.btn-danger:active, +.btn-danger.active, +.btn-danger.disabled, +.btn-danger[disabled] { + background-color: #bd362f; + *background-color: #a9302a; +} + +.btn-danger:active, +.btn-danger.active { + background-color: #942a25 \9; +} + +.btn-success { + background-color: #5bb75b; + *background-color: #51a351; + background-image: -ms-linear-gradient(top, #62c462, #51a351); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); + background-image: -webkit-linear-gradient(top, #62c462, #51a351); + background-image: -o-linear-gradient(top, #62c462, #51a351); + background-image: -moz-linear-gradient(top, #62c462, #51a351); + background-image: linear-gradient(top, #62c462, #51a351); + background-repeat: repeat-x; + border-color: #51a351 #51a351 #387038; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0); + filter: progid:dximagetransform.microsoft.gradient(enabled=false); +} + +.btn-success:hover, +.btn-success:active, +.btn-success.active, +.btn-success.disabled, +.btn-success[disabled] { + background-color: #51a351; + *background-color: #499249; +} + +.btn-success:active, +.btn-success.active { + background-color: #408140 \9; +} + +.btn-info { + background-color: #49afcd; + *background-color: #2f96b4; + background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); + background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); + background-image: linear-gradient(top, #5bc0de, #2f96b4); + background-repeat: repeat-x; + border-color: #2f96b4 #2f96b4 #1f6377; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0); + filter: progid:dximagetransform.microsoft.gradient(enabled=false); +} + +.btn-info:hover, +.btn-info:active, +.btn-info.active, +.btn-info.disabled, +.btn-info[disabled] { + background-color: #2f96b4; + *background-color: #2a85a0; +} + +.btn-info:active, +.btn-info.active { + background-color: #24748c \9; +} + +.btn-inverse { + background-color: #414141; + *background-color: #222222; + background-image: -ms-linear-gradient(top, #555555, #222222); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222)); + background-image: -webkit-linear-gradient(top, #555555, #222222); + background-image: -o-linear-gradient(top, #555555, #222222); + background-image: -moz-linear-gradient(top, #555555, #222222); + background-image: linear-gradient(top, #555555, #222222); + background-repeat: repeat-x; + border-color: #222222 #222222 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0); + filter: progid:dximagetransform.microsoft.gradient(enabled=false); +} + +.btn-inverse:hover, +.btn-inverse:active, +.btn-inverse.active, +.btn-inverse.disabled, +.btn-inverse[disabled] { + background-color: #222222; + *background-color: #151515; +} + +.btn-inverse:active, +.btn-inverse.active { + background-color: #080808 \9; +} + +button.btn, +input[type="submit"].btn { + *padding-top: 2px; + *padding-bottom: 2px; +} + +button.btn::-moz-focus-inner, +input[type="submit"].btn::-moz-focus-inner { + padding: 0; + border: 0; +} + +button.btn.btn-large, +input[type="submit"].btn.btn-large { + *padding-top: 7px; + *padding-bottom: 7px; +} + +button.btn.btn-small, +input[type="submit"].btn.btn-small { + *padding-top: 3px; + *padding-bottom: 3px; +} + +button.btn.btn-mini, +input[type="submit"].btn.btn-mini { + *padding-top: 1px; + *padding-bottom: 1px; +} + +.btn-group { + position: relative; + *margin-left: .3em; + *zoom: 1; +} + +.btn-group:before, +.btn-group:after { + display: table; + content: ""; +} + +.btn-group:after { + clear: both; +} + +.btn-group:first-child { + *margin-left: 0; +} + +.btn-group + .btn-group { + margin-left: 5px; +} + +.btn-toolbar { + margin-top: 9px; + margin-bottom: 9px; +} + +.btn-toolbar .btn-group { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; +} + +.btn-group > .btn { + position: relative; + float: left; + margin-left: -1px; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-topleft: 4px; +} + +.btn-group > .btn:last-child, +.btn-group > .dropdown-toggle { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-bottomright: 4px; +} + +.btn-group > .btn.large:first-child { + margin-left: 0; + -webkit-border-bottom-left-radius: 6px; + border-bottom-left-radius: 6px; + -webkit-border-top-left-radius: 6px; + border-top-left-radius: 6px; + -moz-border-radius-bottomleft: 6px; + -moz-border-radius-topleft: 6px; +} + +.btn-group > .btn.large:last-child, +.btn-group > .large.dropdown-toggle { + -webkit-border-top-right-radius: 6px; + border-top-right-radius: 6px; + -webkit-border-bottom-right-radius: 6px; + border-bottom-right-radius: 6px; + -moz-border-radius-topright: 6px; + -moz-border-radius-bottomright: 6px; +} + +.btn-group > .btn:hover, +.btn-group > .btn:focus, +.btn-group > .btn:active, +.btn-group > .btn.active { + z-index: 2; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group > .dropdown-toggle { + *padding-top: 4px; + padding-right: 8px; + *padding-bottom: 4px; + padding-left: 8px; + -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn-group > .btn-mini.dropdown-toggle { + padding-right: 5px; + padding-left: 5px; +} + +.btn-group > .btn-small.dropdown-toggle { + *padding-top: 4px; + *padding-bottom: 4px; +} + +.btn-group > .btn-large.dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + background-image: none; + -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn-group.open .btn.dropdown-toggle { + background-color: #e6e6e6; +} + +.btn-group.open .btn-primary.dropdown-toggle { + background-color: #0055cc; +} + +.btn-group.open .btn-warning.dropdown-toggle { + background-color: #f89406; +} + +.btn-group.open .btn-danger.dropdown-toggle { + background-color: #bd362f; +} + +.btn-group.open .btn-success.dropdown-toggle { + background-color: #51a351; +} + +.btn-group.open .btn-info.dropdown-toggle { + background-color: #2f96b4; +} + +.btn-group.open .btn-inverse.dropdown-toggle { + background-color: #222222; +} + +.btn .caret { + margin-top: 7px; + margin-left: 0; +} + +.btn:hover .caret, +.open.btn-group .caret { + opacity: 1; + filter: alpha(opacity=100); +} + +.btn-mini .caret { + margin-top: 5px; +} + +.btn-small .caret { + margin-top: 6px; +} + +.btn-large .caret { + margin-top: 6px; + border-top-width: 5px; + border-right-width: 5px; + border-left-width: 5px; +} + +.dropup .btn-large .caret { + border-top: 0; + border-bottom: 5px solid #000000; +} + +.btn-primary .caret, +.btn-warning .caret, +.btn-danger .caret, +.btn-info .caret, +.btn-success .caret, +.btn-inverse .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; + opacity: 0.75; + filter: alpha(opacity=75); +} + +.alert { + padding: 8px 35px 8px 14px; + margin-bottom: 18px; + color: #c09853; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + background-color: #fcf8e3; + border: 1px solid #fbeed5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.alert-heading { + color: inherit; +} + +.alert .close { + position: relative; + top: -2px; + right: -21px; + line-height: 18px; +} + +.alert-success { + color: #468847; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-danger, +.alert-error { + color: #b94a48; + background-color: #f2dede; + border-color: #eed3d7; +} + +.alert-info { + color: #3a87ad; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-block { + padding-top: 14px; + padding-bottom: 14px; +} + +.alert-block > p, +.alert-block > ul { + margin-bottom: 0; +} + +.alert-block p + p { + margin-top: 5px; +} + +.nav { + margin-bottom: 18px; + margin-left: 0; + list-style: none; +} + +.nav > li > a { + display: block; +} + +.nav > li > a:hover { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > .pull-right { + float: right; +} + +.nav .nav-header { + display: block; + padding: 3px 15px; + font-size: 11px; + font-weight: bold; + line-height: 18px; + color: #999999; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + text-transform: uppercase; +} + +.nav li + .nav-header { + margin-top: 9px; +} + +.nav-list { + padding-right: 15px; + padding-left: 15px; + margin-bottom: 0; +} + +.nav-list > li > a, +.nav-list .nav-header { + margin-right: -15px; + margin-left: -15px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); +} + +.nav-list > li > a { + padding: 3px 15px; +} + +.nav-list > .active > a, +.nav-list > .active > a:hover { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); + background-color: #0088cc; +} + +.nav-list [class^="icon-"] { + margin-right: 2px; +} + +.nav-list .divider { + *width: 100%; + height: 1px; + margin: 8px 1px; + *margin: -5px 0 5px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; +} + +.nav-tabs, +.nav-pills { + *zoom: 1; +} + +.nav-tabs:before, +.nav-pills:before, +.nav-tabs:after, +.nav-pills:after { + display: table; + content: ""; +} + +.nav-tabs:after, +.nav-pills:after { + clear: both; +} + +.nav-tabs > li, +.nav-pills > li { + float: left; +} + +.nav-tabs > li > a, +.nav-pills > li > a { + padding-right: 12px; + padding-left: 12px; + margin-right: 2px; + line-height: 14px; +} + +.nav-tabs { + border-bottom: 1px solid #ddd; +} + +.nav-tabs > li { + margin-bottom: -1px; +} + +.nav-tabs > li > a { + padding-top: 8px; + padding-bottom: 8px; + line-height: 18px; + border: 1px solid transparent; + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > .active > a, +.nav-tabs > .active > a:hover { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #ddd; + border-bottom-color: transparent; +} + +.nav-pills > li > a { + padding-top: 8px; + padding-bottom: 8px; + margin-top: 2px; + margin-bottom: 2px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.nav-pills > .active > a, +.nav-pills > .active > a:hover { + color: #ffffff; + background-color: #0088cc; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li > a { + margin-right: 0; +} + +.nav-tabs.nav-stacked { + border-bottom: 0; +} + +.nav-tabs.nav-stacked > li > a { + border: 1px solid #ddd; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.nav-tabs.nav-stacked > li:first-child > a { + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} + +.nav-tabs.nav-stacked > li:last-child > a { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} + +.nav-tabs.nav-stacked > li > a:hover { + z-index: 2; + border-color: #ddd; +} + +.nav-pills.nav-stacked > li > a { + margin-bottom: 3px; +} + +.nav-pills.nav-stacked > li:last-child > a { + margin-bottom: 1px; +} + +.nav-tabs .dropdown-menu { + -webkit-border-radius: 0 0 5px 5px; + -moz-border-radius: 0 0 5px 5px; + border-radius: 0 0 5px 5px; +} + +.nav-pills .dropdown-menu { + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.nav-tabs .dropdown-toggle .caret, +.nav-pills .dropdown-toggle .caret { + margin-top: 6px; + border-top-color: #0088cc; + border-bottom-color: #0088cc; +} + +.nav-tabs .dropdown-toggle:hover .caret, +.nav-pills .dropdown-toggle:hover .caret { + border-top-color: #005580; + border-bottom-color: #005580; +} + +.nav-tabs .active .dropdown-toggle .caret, +.nav-pills .active .dropdown-toggle .caret { + border-top-color: #333333; + border-bottom-color: #333333; +} + +.nav > .dropdown.active > a:hover { + color: #000000; + cursor: pointer; +} + +.nav-tabs .open .dropdown-toggle, +.nav-pills .open .dropdown-toggle, +.nav > li.dropdown.open.active > a:hover { + color: #ffffff; + background-color: #999999; + border-color: #999999; +} + +.nav li.dropdown.open .caret, +.nav li.dropdown.open.active .caret, +.nav li.dropdown.open a:hover .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; + opacity: 1; + filter: alpha(opacity=100); +} + +.tabs-stacked .open > a:hover { + border-color: #999999; +} + +.tabbable { + *zoom: 1; +} + +.tabbable:before, +.tabbable:after { + display: table; + content: ""; +} + +.tabbable:after { + clear: both; +} + +.tab-content { + overflow: auto; +} + +.tabs-below > .nav-tabs, +.tabs-right > .nav-tabs, +.tabs-left > .nav-tabs { + border-bottom: 0; +} + +.tab-content > .tab-pane, +.pill-content > .pill-pane { + display: none; +} + +.tab-content > .active, +.pill-content > .active { + display: block; +} + +.tabs-below > .nav-tabs { + border-top: 1px solid #ddd; +} + +.tabs-below > .nav-tabs > li { + margin-top: -1px; + margin-bottom: 0; +} + +.tabs-below > .nav-tabs > li > a { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} + +.tabs-below > .nav-tabs > li > a:hover { + border-top-color: #ddd; + border-bottom-color: transparent; +} + +.tabs-below > .nav-tabs > .active > a, +.tabs-below > .nav-tabs > .active > a:hover { + border-color: transparent #ddd #ddd #ddd; +} + +.tabs-left > .nav-tabs > li, +.tabs-right > .nav-tabs > li { + float: none; +} + +.tabs-left > .nav-tabs > li > a, +.tabs-right > .nav-tabs > li > a { + min-width: 74px; + margin-right: 0; + margin-bottom: 3px; +} + +.tabs-left > .nav-tabs { + float: left; + margin-right: 19px; + border-right: 1px solid #ddd; +} + +.tabs-left > .nav-tabs > li > a { + margin-right: -1px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.tabs-left > .nav-tabs > li > a:hover { + border-color: #eeeeee #dddddd #eeeeee #eeeeee; +} + +.tabs-left > .nav-tabs .active > a, +.tabs-left > .nav-tabs .active > a:hover { + border-color: #ddd transparent #ddd #ddd; + *border-right-color: #ffffff; +} + +.tabs-right > .nav-tabs { + float: right; + margin-left: 19px; + border-left: 1px solid #ddd; +} + +.tabs-right > .nav-tabs > li > a { + margin-left: -1px; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.tabs-right > .nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #eeeeee #dddddd; +} + +.tabs-right > .nav-tabs .active > a, +.tabs-right > .nav-tabs .active > a:hover { + border-color: #ddd #ddd #ddd transparent; + *border-left-color: #ffffff; +} + +.navbar { + *position: relative; + *z-index: 2; + margin-bottom: 18px; + overflow: visible; +} + +.navbar-inner { + min-height: 40px; + padding-right: 20px; + padding-left: 20px; + background-color: #2c2c2c; + background-image: -moz-linear-gradient(top, #333333, #222222); + background-image: -ms-linear-gradient(top, #333333, #222222); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222)); + background-image: -webkit-linear-gradient(top, #333333, #222222); + background-image: -o-linear-gradient(top, #333333, #222222); + background-image: linear-gradient(top, #333333, #222222); + background-repeat: repeat-x; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); +} + +.navbar .container { + width: auto; +} + +.nav-collapse.collapse { + height: auto; +} + +.navbar { + color: #999999; +} + +.navbar .brand:hover { + text-decoration: none; +} + +.navbar .brand { + display: block; + float: left; + padding: 8px 20px 12px; + margin-left: -20px; + font-size: 20px; + font-weight: 200; + line-height: 1; + color: #999999; +} + +.navbar .navbar-text { + margin-bottom: 0; + line-height: 40px; +} + +.navbar .navbar-link { + color: #999999; +} + +.navbar .navbar-link:hover { + color: #ffffff; +} + +.navbar .btn, +.navbar .btn-group { + margin-top: 5px; +} + +.navbar .btn-group .btn { + margin: 0; +} + +.navbar-form { + margin-bottom: 0; + *zoom: 1; +} + +.navbar-form:before, +.navbar-form:after { + display: table; + content: ""; +} + +.navbar-form:after { + clear: both; +} + +.navbar-form input, +.navbar-form select, +.navbar-form .radio, +.navbar-form .checkbox { + margin-top: 5px; +} + +.navbar-form input, +.navbar-form select { + display: inline-block; + margin-bottom: 0; +} + +.navbar-form input[type="image"], +.navbar-form input[type="checkbox"], +.navbar-form input[type="radio"] { + margin-top: 3px; +} + +.navbar-form .input-append, +.navbar-form .input-prepend { + margin-top: 6px; + white-space: nowrap; +} + +.navbar-form .input-append input, +.navbar-form .input-prepend input { + margin-top: 0; +} + +.navbar-search { + position: relative; + float: left; + margin-top: 6px; + margin-bottom: 0; +} + +.navbar-search .search-query { + padding: 4px 9px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + font-weight: normal; + line-height: 1; + color: #ffffff; + background-color: #626262; + border: 1px solid #151515; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + -webkit-transition: none; + -moz-transition: none; + -ms-transition: none; + -o-transition: none; + transition: none; +} + +.navbar-search .search-query:-moz-placeholder { + color: #cccccc; +} + +.navbar-search .search-query::-webkit-input-placeholder { + color: #cccccc; +} + +.navbar-search .search-query:focus, +.navbar-search .search-query.focused { + padding: 5px 10px; + color: #333333; + text-shadow: 0 1px 0 #ffffff; + background-color: #ffffff; + border: 0; + outline: 0; + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; + margin-bottom: 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-fixed-bottom .navbar-inner { + padding-right: 0; + padding-left: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width: 940px; +} + +.navbar-fixed-top { + top: 0; +} + +.navbar-fixed-bottom { + bottom: 0; +} + +.navbar .nav { + position: relative; + left: 0; + display: block; + float: left; + margin: 0 10px 0 0; +} + +.navbar .nav.pull-right { + float: right; +} + +.navbar .nav > li { + display: block; + float: left; +} + +.navbar .nav > li > a { + float: none; + padding: 9px 10px 11px; + line-height: 19px; + color: #999999; + text-decoration: none; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.navbar .btn { + display: inline-block; + padding: 4px 10px 4px; + margin: 5px 5px 6px; + line-height: 18px; +} + +.navbar .btn-group { + padding: 5px 5px 6px; + margin: 0; +} + +.navbar .nav > li > a:hover { + color: #ffffff; + text-decoration: none; + background-color: transparent; +} + +.navbar .nav .active > a, +.navbar .nav .active > a:hover { + color: #ffffff; + text-decoration: none; + background-color: #222222; +} + +.navbar .divider-vertical { + width: 1px; + height: 40px; + margin: 0 9px; + overflow: hidden; + background-color: #222222; + border-right: 1px solid #333333; +} + +.navbar .nav.pull-right { + margin-right: 0; + margin-left: 10px; +} + +.navbar .btn-navbar { + display: none; + float: right; + padding: 7px 10px; + margin-right: 5px; + margin-left: 5px; + background-color: #2c2c2c; + *background-color: #222222; + background-image: -ms-linear-gradient(top, #333333, #222222); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222)); + background-image: -webkit-linear-gradient(top, #333333, #222222); + background-image: -o-linear-gradient(top, #333333, #222222); + background-image: linear-gradient(top, #333333, #222222); + background-image: -moz-linear-gradient(top, #333333, #222222); + background-repeat: repeat-x; + border-color: #222222 #222222 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); + filter: progid:dximagetransform.microsoft.gradient(enabled=false); + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); +} + +.navbar .btn-navbar:hover, +.navbar .btn-navbar:active, +.navbar .btn-navbar.active, +.navbar .btn-navbar.disabled, +.navbar .btn-navbar[disabled] { + background-color: #222222; + *background-color: #151515; +} + +.navbar .btn-navbar:active, +.navbar .btn-navbar.active { + background-color: #080808 \9; +} + +.navbar .btn-navbar .icon-bar { + display: block; + width: 18px; + height: 2px; + background-color: #f5f5f5; + -webkit-border-radius: 1px; + -moz-border-radius: 1px; + border-radius: 1px; + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); +} + +.btn-navbar .icon-bar + .icon-bar { + margin-top: 3px; +} + +.navbar .dropdown-menu:before { + position: absolute; + top: -7px; + left: 9px; + display: inline-block; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-left: 7px solid transparent; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ''; +} + +.navbar .dropdown-menu:after { + position: absolute; + top: -6px; + left: 10px; + display: inline-block; + border-right: 6px solid transparent; + border-bottom: 6px solid #ffffff; + border-left: 6px solid transparent; + content: ''; +} + +.navbar-fixed-bottom .dropdown-menu:before { + top: auto; + bottom: -7px; + border-top: 7px solid #ccc; + border-bottom: 0; + border-top-color: rgba(0, 0, 0, 0.2); +} + +.navbar-fixed-bottom .dropdown-menu:after { + top: auto; + bottom: -6px; + border-top: 6px solid #ffffff; + border-bottom: 0; +} + +.navbar .nav li.dropdown .dropdown-toggle .caret, +.navbar .nav li.dropdown.open .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} + +.navbar .nav li.dropdown.active .caret { + opacity: 1; + filter: alpha(opacity=100); +} + +.navbar .nav li.dropdown.open > .dropdown-toggle, +.navbar .nav li.dropdown.active > .dropdown-toggle, +.navbar .nav li.dropdown.open.active > .dropdown-toggle { + background-color: transparent; +} + +.navbar .nav li.dropdown.active > .dropdown-toggle:hover { + color: #ffffff; +} + +.navbar .pull-right .dropdown-menu, +.navbar .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar .pull-right .dropdown-menu:before, +.navbar .dropdown-menu.pull-right:before { + right: 12px; + left: auto; +} + +.navbar .pull-right .dropdown-menu:after, +.navbar .dropdown-menu.pull-right:after { + right: 13px; + left: auto; +} + +.breadcrumb { + padding: 7px 14px; + margin: 0 0 18px; + list-style: none; + background-color: #fbfbfb; + background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5); + background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5)); + background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5); + background-image: -o-linear-gradient(top, #ffffff, #f5f5f5); + background-image: linear-gradient(top, #ffffff, #f5f5f5); + background-repeat: repeat-x; + border: 1px solid #ddd; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0); + -webkit-box-shadow: inset 0 1px 0 #ffffff; + -moz-box-shadow: inset 0 1px 0 #ffffff; + box-shadow: inset 0 1px 0 #ffffff; +} + +.breadcrumb li { + display: inline-block; + *display: inline; + text-shadow: 0 1px 0 #ffffff; + *zoom: 1; +} + +.breadcrumb .divider { + padding: 0 5px; + color: #999999; +} + +.breadcrumb .active a { + color: #333333; +} + +.pagination { + height: 36px; + margin: 18px 0; +} + +.pagination ul { + display: inline-block; + *display: inline; + margin-bottom: 0; + margin-left: 0; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + *zoom: 1; + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.pagination li { + display: inline; +} + +.pagination a { + float: left; + padding: 0 14px; + line-height: 34px; + text-decoration: none; + border: 1px solid #ddd; + border-left-width: 0; +} + +.pagination a:hover, +.pagination .active a { + background-color: #f5f5f5; +} + +.pagination .active a { + color: #999999; + cursor: default; +} + +.pagination .disabled span, +.pagination .disabled a, +.pagination .disabled a:hover { + color: #999999; + cursor: default; + background-color: transparent; +} + +.pagination li:first-child a { + border-left-width: 1px; + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} + +.pagination li:last-child a { + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} + +.pagination-centered { + text-align: center; +} + +.pagination-right { + text-align: right; +} + +.pager { + margin-bottom: 18px; + margin-left: 0; + text-align: center; + list-style: none; + *zoom: 1; +} + +.pager:before, +.pager:after { + display: table; + content: ""; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager a { + display: inline-block; + padding: 5px 14px; + background-color: #fff; + border: 1px solid #ddd; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} + +.pager a:hover { + text-decoration: none; + background-color: #f5f5f5; +} + +.pager .next a { + float: right; +} + +.pager .previous a { + float: left; +} + +.pager .disabled a, +.pager .disabled a:hover { + color: #999999; + cursor: default; + background-color: #fff; +} + +.modal-open .dropdown-menu { + z-index: 2050; +} + +.modal-open .dropdown.open { + *z-index: 2050; +} + +.modal-open .popover { + z-index: 2060; +} + +.modal-open .tooltip { + z-index: 2070; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; +} + +.modal-backdrop, +.modal-backdrop.fade.in { + opacity: 0.8; + filter: alpha(opacity=80); +} + +.modal { + position: fixed; + top: 50%; + left: 50%; + z-index: 1050; + width: 560px; + margin: -250px 0 0 -280px; + overflow: auto; + background-color: #ffffff; + border: 1px solid #999; + border: 1px solid rgba(0, 0, 0, 0.3); + *border: 1px solid #999; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; +} + +.modal.fade { + top: -25%; + -webkit-transition: opacity 0.3s linear, top 0.3s ease-out; + -moz-transition: opacity 0.3s linear, top 0.3s ease-out; + -ms-transition: opacity 0.3s linear, top 0.3s ease-out; + -o-transition: opacity 0.3s linear, top 0.3s ease-out; + transition: opacity 0.3s linear, top 0.3s ease-out; +} + +.modal.fade.in { + top: 50%; +} + +.modal-header { + padding: 9px 15px; + border-bottom: 1px solid #eee; +} + +.modal-header .close { + margin-top: 2px; +} + +.modal-body { + max-height: 400px; + padding: 15px; + overflow-y: auto; +} + +.modal-form { + margin-bottom: 0; +} + +.modal-footer { + padding: 14px 15px 15px; + margin-bottom: 0; + text-align: right; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; + *zoom: 1; + -webkit-box-shadow: inset 0 1px 0 #ffffff; + -moz-box-shadow: inset 0 1px 0 #ffffff; + box-shadow: inset 0 1px 0 #ffffff; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: ""; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.tooltip { + position: absolute; + z-index: 1020; + display: block; + padding: 5px; + font-size: 11px; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.8; + filter: alpha(opacity=80); +} + +.tooltip.top { + margin-top: -2px; +} + +.tooltip.right { + margin-left: 2px; +} + +.tooltip.bottom { + margin-top: 2px; +} + +.tooltip.left { + margin-left: -2px; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top: 5px solid #000000; + border-right: 5px solid transparent; + border-left: 5px solid transparent; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + border-left: 5px solid #000000; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-right: 5px solid transparent; + border-bottom: 5px solid #000000; + border-left: 5px solid transparent; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-top: 5px solid transparent; + border-right: 5px solid #000000; + border-bottom: 5px solid transparent; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + padding: 5px; +} + +.popover.top { + margin-top: -5px; +} + +.popover.right { + margin-left: 5px; +} + +.popover.bottom { + margin-top: 5px; +} + +.popover.left { + margin-left: -5px; +} + +.popover.top .arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top: 5px solid #000000; + border-right: 5px solid transparent; + border-left: 5px solid transparent; +} + +.popover.right .arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-top: 5px solid transparent; + border-right: 5px solid #000000; + border-bottom: 5px solid transparent; +} + +.popover.bottom .arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-right: 5px solid transparent; + border-bottom: 5px solid #000000; + border-left: 5px solid transparent; +} + +.popover.left .arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + border-left: 5px solid #000000; +} + +.popover .arrow { + position: absolute; + width: 0; + height: 0; +} + +.popover-inner { + width: 280px; + padding: 3px; + overflow: hidden; + background: #000000; + background: rgba(0, 0, 0, 0.8); + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); +} + +.popover-title { + padding: 9px 15px; + line-height: 1; + background-color: #f5f5f5; + border-bottom: 1px solid #eee; + -webkit-border-radius: 3px 3px 0 0; + -moz-border-radius: 3px 3px 0 0; + border-radius: 3px 3px 0 0; +} + +.popover-content { + padding: 14px; + background-color: #ffffff; + -webkit-border-radius: 0 0 3px 3px; + -moz-border-radius: 0 0 3px 3px; + border-radius: 0 0 3px 3px; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; +} + +.popover-content p, +.popover-content ul, +.popover-content ol { + margin-bottom: 0; +} + +.thumbnails { + margin-left: -20px; + list-style: none; + *zoom: 1; +} + +.thumbnails:before, +.thumbnails:after { + display: table; + content: ""; +} + +.thumbnails:after { + clear: both; +} + +.row-fluid .thumbnails { + margin-left: 0; +} + +.thumbnails > li { + float: left; + margin-bottom: 18px; + margin-left: 20px; +} + +.thumbnail { + display: block; + padding: 4px; + line-height: 1; + border: 1px solid #ddd; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); +} + +a.thumbnail:hover { + border-color: #0088cc; + -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); + -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); + box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); +} + +.thumbnail > img { + display: block; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +.thumbnail .caption { + padding: 9px; +} + +.label, +.badge { + font-size: 10.998px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; +} + +.label { + padding: 1px 4px 2px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.badge { + padding: 1px 9px 2px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} + +a.label:hover, +a.badge:hover { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label-important, +.badge-important { + background-color: #b94a48; +} + +.label-important[href], +.badge-important[href] { + background-color: #953b39; +} + +.label-warning, +.badge-warning { + background-color: #f89406; +} + +.label-warning[href], +.badge-warning[href] { + background-color: #c67605; +} + +.label-success, +.badge-success { + background-color: #468847; +} + +.label-success[href], +.badge-success[href] { + background-color: #356635; +} + +.label-info, +.badge-info { + background-color: #3a87ad; +} + +.label-info[href], +.badge-info[href] { + background-color: #2d6987; +} + +.label-inverse, +.badge-inverse { + background-color: #333333; +} + +.label-inverse[href], +.badge-inverse[href] { + background-color: #1a1a1a; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-moz-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-ms-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-o-keyframes progress-bar-stripes { + from { + background-position: 0 0; + } + to { + background-position: 40px 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 18px; + margin-bottom: 18px; + overflow: hidden; + background-color: #f7f7f7; + background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); + background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: linear-gradient(top, #f5f5f5, #f9f9f9); + background-repeat: repeat-x; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0); + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress .bar { + width: 0; + height: 18px; + font-size: 12px; + color: #ffffff; + text-align: center; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #0e90d2; + background-image: -moz-linear-gradient(top, #149bdf, #0480be); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); + background-image: -webkit-linear-gradient(top, #149bdf, #0480be); + background-image: -o-linear-gradient(top, #149bdf, #0480be); + background-image: linear-gradient(top, #149bdf, #0480be); + background-image: -ms-linear-gradient(top, #149bdf, #0480be); + background-repeat: repeat-x; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0); + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: width 0.6s ease; + -moz-transition: width 0.6s ease; + -ms-transition: width 0.6s ease; + -o-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .bar { + background-color: #149bdf; + background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + -webkit-background-size: 40px 40px; + -moz-background-size: 40px 40px; + -o-background-size: 40px 40px; + background-size: 40px 40px; +} + +.progress.active .bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -moz-animation: progress-bar-stripes 2s linear infinite; + -ms-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-danger .bar { + background-color: #dd514c; + background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); + background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); + background-image: linear-gradient(top, #ee5f5b, #c43c35); + background-repeat: repeat-x; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0); +} + +.progress-danger.progress-striped .bar { + background-color: #ee5f5b; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-success .bar { + background-color: #5eb95e; + background-image: -moz-linear-gradient(top, #62c462, #57a957); + background-image: -ms-linear-gradient(top, #62c462, #57a957); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); + background-image: -webkit-linear-gradient(top, #62c462, #57a957); + background-image: -o-linear-gradient(top, #62c462, #57a957); + background-image: linear-gradient(top, #62c462, #57a957); + background-repeat: repeat-x; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0); +} + +.progress-success.progress-striped .bar { + background-color: #62c462; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-info .bar { + background-color: #4bb1cf; + background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); + background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); + background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); + background-image: -o-linear-gradient(top, #5bc0de, #339bb9); + background-image: linear-gradient(top, #5bc0de, #339bb9); + background-repeat: repeat-x; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0); +} + +.progress-info.progress-striped .bar { + background-color: #5bc0de; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-warning .bar { + background-color: #faa732; + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: -ms-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(top, #fbb450, #f89406); + background-repeat: repeat-x; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0); +} + +.progress-warning.progress-striped .bar { + background-color: #fbb450; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.accordion { + margin-bottom: 18px; +} + +.accordion-group { + margin-bottom: 2px; + border: 1px solid #e5e5e5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.accordion-heading { + border-bottom: 0; +} + +.accordion-heading .accordion-toggle { + display: block; + padding: 8px 15px; +} + +.accordion-toggle { + cursor: pointer; +} + +.accordion-inner { + padding: 9px 15px; + border-top: 1px solid #e5e5e5; +} + +.carousel { + position: relative; + margin-bottom: 18px; + line-height: 1; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + -moz-transition: 0.6s ease-in-out left; + -ms-transition: 0.6s ease-in-out left; + -o-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel .item > img { + display: block; + line-height: 1; +} + +.carousel .active, +.carousel .next, +.carousel .prev { + display: block; +} + +.carousel .active { + left: 0; +} + +.carousel .next, +.carousel .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel .next { + left: 100%; +} + +.carousel .prev { + left: -100%; +} + +.carousel .next.left, +.carousel .prev.right { + left: 0; +} + +.carousel .active.left { + left: -100%; +} + +.carousel .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 40%; + left: 15px; + width: 40px; + height: 40px; + margin-top: -20px; + font-size: 60px; + font-weight: 100; + line-height: 30px; + color: #ffffff; + text-align: center; + background: #222222; + border: 3px solid #ffffff; + -webkit-border-radius: 23px; + -moz-border-radius: 23px; + border-radius: 23px; + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.right { + right: 15px; + left: auto; +} + +.carousel-control:hover { + color: #ffffff; + text-decoration: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-caption { + position: absolute; + right: 0; + bottom: 0; + left: 0; + padding: 10px 15px 5px; + background: #333333; + background: rgba(0, 0, 0, 0.75); +} + +.carousel-caption h4, +.carousel-caption p { + color: #ffffff; +} + +.hero-unit { + padding: 60px; + margin-bottom: 30px; + background-color: #eeeeee; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.hero-unit h1 { + margin-bottom: 0; + font-size: 60px; + line-height: 1; + letter-spacing: -1px; + color: inherit; +} + +.hero-unit p { + font-size: 18px; + font-weight: 200; + line-height: 27px; + color: inherit; +} + +.pull-right { + float: right; +} + +.pull-left { + float: left; +} + +.hide { + display: none; +} + +.show { + display: block; +} + +.invisible { + visibility: hidden; +} diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap.min.css b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap.min.css new file mode 100644 index 0000000..1c75d0c --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/css/bootstrap.min.css @@ -0,0 +1,9 @@ +/*! + * Bootstrap v2.0.3 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover{color:#005580;text-decoration:underline}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:""}.row:after{clear:both}[class*="span"]{float:left;margin-left:20px}.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:28px;margin-left:2.127659574%;*margin-left:2.0744680846382977%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%}.row-fluid .span11{width:91.489361693%;*width:91.4361702036383%}.row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%}.row-fluid .span9{width:74.468085099%;*width:74.4148936096383%}.row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%}.row-fluid .span7{width:57.446808505%;*width:57.3936170156383%}.row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%}.row-fluid .span5{width:40.425531911%;*width:40.3723404216383%}.row-fluid .span4{width:31.914893614%;*width:31.8617021246383%}.row-fluid .span3{width:23.404255317%;*width:23.3510638276383%}.row-fluid .span2{width:14.89361702%;*width:14.8404255306383%}.row-fluid .span1{width:6.382978723%;*width:6.329787233638298%}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;content:""}.container-fluid:after{clear:both}p{margin:0 0 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px}p small{font-size:11px;color:#999}.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px}h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999}h1{font-size:30px;line-height:36px}h1 small{font-size:18px}h2{font-size:24px;line-height:36px}h2 small{font-size:18px}h3{font-size:18px;line-height:27px}h3 small{font-size:14px}h4,h5,h6{line-height:18px}h4{font-size:14px}h4 small{font-size:12px}h5{font-size:12px}h6{font-size:11px;color:#999;text-transform:uppercase}.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eee}.page-header h1{line-height:1}ul,ol{padding:0;margin:0 0 9px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}ul{list-style:disc}ol{list-style:decimal}li{line-height:18px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}dl{margin-bottom:18px}dt,dd{line-height:18px}dt{font-weight:bold;line-height:17px}dd{margin-left:9px}.dl-horizontal dt{float:left;width:120px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:130px}hr{margin:18px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}strong{font-weight:bold}em{font-style:italic}.muted{color:#999}abbr[title]{cursor:help;border-bottom:1px dotted #ddd}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eee}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px}blockquote small{display:block;line-height:18px;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:18px;font-style:normal;line-height:18px}small{font-size:100%}cite{font-style:normal}code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:12px;color:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre.prettyprint{margin-bottom:18px}pre code{padding:0;color:inherit;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 18px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333;border:0;border-bottom:1px solid #eee}legend small{font-size:13.5px;color:#999}label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px}input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px;color:#333}input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.uneditable-textarea{width:auto;height:auto}label input,label textarea,label select{display:block}input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;background-color:transparent;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}input[type="image"]{border:0}input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:#fff;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto}select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px}input[type="file"]{line-height:18px \9}select{width:220px;background-color:#fff}select[multiple],select[size]{height:auto}input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}textarea{height:auto}input[type="hidden"]{display:none}.radio,.checkbox{min-height:18px;padding-left:18px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s,box-shadow linear .2s;-moz-transition:border linear .2s,box-shadow linear .2s;-ms-transition:border linear .2s,box-shadow linear .2s;-o-transition:border linear .2s,box-shadow linear .2s;transition:border linear .2s,box-shadow linear .2s}input:focus,textarea:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}input,textarea,.uneditable-input{margin-left:0}input.span12,textarea.span12,.uneditable-input.span12{width:930px}input.span11,textarea.span11,.uneditable-input.span11{width:850px}input.span10,textarea.span10,.uneditable-input.span10{width:770px}input.span9,textarea.span9,.uneditable-input.span9{width:690px}input.span8,textarea.span8,.uneditable-input.span8{width:610px}input.span7,textarea.span7,.uneditable-input.span7{width:530px}input.span6,textarea.span6,.uneditable-input.span6{width:450px}input.span5,textarea.span5,.uneditable-input.span5{width:370px}input.span4,textarea.span4,.uneditable-input.span4{width:290px}input.span3,textarea.span3,.uneditable-input.span3{width:210px}input.span2,textarea.span2,.uneditable-input.span2{width:130px}input.span1,textarea.span1,.uneditable-input.span1{width:50px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eee;border-color:#ddd}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48}.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;border-color:#b94a48}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:0 0 6px #d59392;-moz-box-shadow:0 0 6px #d59392;box-shadow:0 0 6px #d59392}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;*zoom:1}.form-actions:before,.form-actions:after{display:table;content:""}.form-actions:after{clear:both}.uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;background-color:#fff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}:-moz-placeholder{color:#999}::-webkit-input-placeholder{color:#999}.help-block,.help-inline{color:#555}.help-block{display:block;margin-bottom:9px}.help-inline{display:inline-block;*display:inline;padding-left:5px;vertical-align:middle;*zoom:1}.input-prepend,.input-append{margin-bottom:5px}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:middle;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{z-index:2}.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc}.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;height:18px;min-width:16px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #fff;vertical-align:middle;background-color:#eee;border:1px solid #ccc}.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-append .uneditable-input{border-right-color:#ccc;border-left-color:#eee}.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;margin-bottom:0;*zoom:1}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:9px}legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:18px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:160px}.form-horizontal .help-block{margin-top:9px;margin-bottom:0}.form-horizontal .form-actions{padding-left:160px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:18px}.table th,.table td{padding:8px;line-height:18px;text-align:left;vertical-align:top;border-top:1px solid #ddd}.table th{font-weight:bold}.table thead th{vertical-align:bottom}.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #ddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9}.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5}table .span1{float:none;width:44px;margin-left:0}table .span2{float:none;width:124px;margin-left:0}table .span3{float:none;width:204px;margin-left:0}table .span4{float:none;width:284px;margin-left:0}table .span5{float:none;width:364px;margin-left:0}table .span6{float:none;width:444px;margin-left:0}table .span7{float:none;width:524px;margin-left:0}table .span8{float:none;width:604px;margin-left:0}table .span9{float:none;width:684px;margin-left:0}table .span10{float:none;width:764px;margin-left:0}table .span11{float:none;width:844px;margin-left:0}table .span12{float:none;width:924px;margin-left:0}table .span13{float:none;width:1004px;margin-left:0}table .span14{float:none;width:1084px;margin-left:0}table .span15{float:none;width:1164px;margin-left:0}table .span16{float:none;width:1244px;margin-left:0}table .span17{float:none;width:1324px;margin-left:0}table .span18{float:none;width:1404px;margin-left:0}table .span19{float:none;width:1484px;margin-left:0}table .span20{float:none;width:1564px;margin-left:0}table .span21{float:none;width:1644px;margin-left:0}table .span22{float:none;width:1724px;margin-left:0}table .span23{float:none;width:1804px;margin-left:0}table .span24{float:none;width:1884px;margin-left:0}[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}[class^="icon-"]:last-child,[class*=" icon-"]:last-child{*margin-left:0}.icon-white{background-image:url("../img/glyphicons-halflings-white.png")}.icon-glass{background-position:0 0}.icon-music{background-position:-24px 0}.icon-search{background-position:-48px 0}.icon-envelope{background-position:-72px 0}.icon-heart{background-position:-96px 0}.icon-star{background-position:-120px 0}.icon-star-empty{background-position:-144px 0}.icon-user{background-position:-168px 0}.icon-film{background-position:-192px 0}.icon-th-large{background-position:-216px 0}.icon-th{background-position:-240px 0}.icon-th-list{background-position:-264px 0}.icon-ok{background-position:-288px 0}.icon-remove{background-position:-312px 0}.icon-zoom-in{background-position:-336px 0}.icon-zoom-out{background-position:-360px 0}.icon-off{background-position:-384px 0}.icon-signal{background-position:-408px 0}.icon-cog{background-position:-432px 0}.icon-trash{background-position:-456px 0}.icon-home{background-position:0 -24px}.icon-file{background-position:-24px -24px}.icon-time{background-position:-48px -24px}.icon-road{background-position:-72px -24px}.icon-download-alt{background-position:-96px -24px}.icon-download{background-position:-120px -24px}.icon-upload{background-position:-144px -24px}.icon-inbox{background-position:-168px -24px}.icon-play-circle{background-position:-192px -24px}.icon-repeat{background-position:-216px -24px}.icon-refresh{background-position:-240px -24px}.icon-list-alt{background-position:-264px -24px}.icon-lock{background-position:-287px -24px}.icon-flag{background-position:-312px -24px}.icon-headphones{background-position:-336px -24px}.icon-volume-off{background-position:-360px -24px}.icon-volume-down{background-position:-384px -24px}.icon-volume-up{background-position:-408px -24px}.icon-qrcode{background-position:-432px -24px}.icon-barcode{background-position:-456px -24px}.icon-tag{background-position:0 -48px}.icon-tags{background-position:-25px -48px}.icon-book{background-position:-48px -48px}.icon-bookmark{background-position:-72px -48px}.icon-print{background-position:-96px -48px}.icon-camera{background-position:-120px -48px}.icon-font{background-position:-144px -48px}.icon-bold{background-position:-167px -48px}.icon-italic{background-position:-192px -48px}.icon-text-height{background-position:-216px -48px}.icon-text-width{background-position:-240px -48px}.icon-align-left{background-position:-264px -48px}.icon-align-center{background-position:-288px -48px}.icon-align-right{background-position:-312px -48px}.icon-align-justify{background-position:-336px -48px}.icon-list{background-position:-360px -48px}.icon-indent-left{background-position:-384px -48px}.icon-indent-right{background-position:-408px -48px}.icon-facetime-video{background-position:-432px -48px}.icon-picture{background-position:-456px -48px}.icon-pencil{background-position:0 -72px}.icon-map-marker{background-position:-24px -72px}.icon-adjust{background-position:-48px -72px}.icon-tint{background-position:-72px -72px}.icon-edit{background-position:-96px -72px}.icon-share{background-position:-120px -72px}.icon-check{background-position:-144px -72px}.icon-move{background-position:-168px -72px}.icon-step-backward{background-position:-192px -72px}.icon-fast-backward{background-position:-216px -72px}.icon-backward{background-position:-240px -72px}.icon-play{background-position:-264px -72px}.icon-pause{background-position:-288px -72px}.icon-stop{background-position:-312px -72px}.icon-forward{background-position:-336px -72px}.icon-fast-forward{background-position:-360px -72px}.icon-step-forward{background-position:-384px -72px}.icon-eject{background-position:-408px -72px}.icon-chevron-left{background-position:-432px -72px}.icon-chevron-right{background-position:-456px -72px}.icon-plus-sign{background-position:0 -96px}.icon-minus-sign{background-position:-24px -96px}.icon-remove-sign{background-position:-48px -96px}.icon-ok-sign{background-position:-72px -96px}.icon-question-sign{background-position:-96px -96px}.icon-info-sign{background-position:-120px -96px}.icon-screenshot{background-position:-144px -96px}.icon-remove-circle{background-position:-168px -96px}.icon-ok-circle{background-position:-192px -96px}.icon-ban-circle{background-position:-216px -96px}.icon-arrow-left{background-position:-240px -96px}.icon-arrow-right{background-position:-264px -96px}.icon-arrow-up{background-position:-289px -96px}.icon-arrow-down{background-position:-312px -96px}.icon-share-alt{background-position:-336px -96px}.icon-resize-full{background-position:-360px -96px}.icon-resize-small{background-position:-384px -96px}.icon-plus{background-position:-408px -96px}.icon-minus{background-position:-433px -96px}.icon-asterisk{background-position:-456px -96px}.icon-exclamation-sign{background-position:0 -120px}.icon-gift{background-position:-24px -120px}.icon-leaf{background-position:-48px -120px}.icon-fire{background-position:-72px -120px}.icon-eye-open{background-position:-96px -120px}.icon-eye-close{background-position:-120px -120px}.icon-warning-sign{background-position:-144px -120px}.icon-plane{background-position:-168px -120px}.icon-calendar{background-position:-192px -120px}.icon-random{background-position:-216px -120px}.icon-comment{background-position:-240px -120px}.icon-magnet{background-position:-264px -120px}.icon-chevron-up{background-position:-288px -120px}.icon-chevron-down{background-position:-313px -119px}.icon-retweet{background-position:-336px -120px}.icon-shopping-cart{background-position:-360px -120px}.icon-folder-close{background-position:-384px -120px}.icon-folder-open{background-position:-408px -120px}.icon-resize-vertical{background-position:-432px -119px}.icon-resize-horizontal{background-position:-456px -118px}.icon-hdd{background-position:0 -144px}.icon-bullhorn{background-position:-24px -144px}.icon-bell{background-position:-48px -144px}.icon-certificate{background-position:-72px -144px}.icon-thumbs-up{background-position:-96px -144px}.icon-thumbs-down{background-position:-120px -144px}.icon-hand-right{background-position:-144px -144px}.icon-hand-left{background-position:-168px -144px}.icon-hand-up{background-position:-192px -144px}.icon-hand-down{background-position:-216px -144px}.icon-circle-arrow-right{background-position:-240px -144px}.icon-circle-arrow-left{background-position:-264px -144px}.icon-circle-arrow-up{background-position:-288px -144px}.icon-circle-arrow-down{background-position:-312px -144px}.icon-globe{background-position:-336px -144px}.icon-wrench{background-position:-360px -144px}.icon-tasks{background-position:-384px -144px}.icon-filter{background-position:-408px -144px}.icon-briefcase{background-position:-432px -144px}.icon-fullscreen{background-position:-456px -144px}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";opacity:.3;filter:alpha(opacity=30)}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown:hover .caret,.open .caret{opacity:1;filter:alpha(opacity=100)}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:4px 0;margin:1px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#333;white-space:nowrap}.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#fff;text-decoration:none;background-color:#08c}.open{*z-index:1000}.open .dropdown-menu{display:block}.pull-right .dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:"\2191"}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0,0,0,0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;filter:alpha(opacity=0);-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-ms-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1;filter:alpha(opacity=100)}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-moz-transition:height .35s ease;-ms-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;padding:4px 10px 4px;margin-bottom:0;*margin-left:.3em;font-size:13px;line-height:18px;*line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-ms-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(top,#fff,#e6e6e6);background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #ccc;*border:0;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff',endColorstr='#e6e6e6',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover{color:#333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-ms-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.btn-large [class^="icon-"]{margin-top:1px}.btn-small{padding:5px 9px;font-size:11px;line-height:16px}.btn-small [class^="icon-"]{margin-top:-1px}.btn-mini{padding:2px 6px;font-size:11px;line-height:14px}.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn{border-color:#ccc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.btn-primary{background-color:#0074cc;*background-color:#05c;background-image:-ms-linear-gradient(top,#08c,#05c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#05c));background-image:-webkit-linear-gradient(top,#08c,#05c);background-image:-o-linear-gradient(top,#08c,#05c);background-image:-moz-linear-gradient(top,#08c,#05c);background-image:linear-gradient(top,#08c,#05c);background-repeat:repeat-x;border-color:#05c #05c #003580;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#0088cc',endColorstr='#0055cc',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#05c;*background-color:#004ab3}.btn-primary:active,.btn-primary.active{background-color:#004099 \9}.btn-warning{background-color:#faa732;*background-color:#f89406;background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{background-color:#da4f49;*background-color:#bd362f;background-image:-ms-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(top,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#bd362f',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{background-color:#5bb75b;*background-color:#51a351;background-image:-ms-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(top,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#62c462',endColorstr='#51a351',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{background-color:#49afcd;*background-color:#2f96b4;background-image:-ms-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(top,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de',endColorstr='#2f96b4',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{background-color:#414141;*background-color:#222;background-image:-ms-linear-gradient(top,#555,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#555),to(#222));background-image:-webkit-linear-gradient(top,#555,#222);background-image:-o-linear-gradient(top,#555,#222);background-image:-moz-linear-gradient(top,#555,#222);background-image:linear-gradient(top,#555,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#555555',endColorstr='#222222',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-group{position:relative;*margin-left:.3em;*zoom:1}.btn-group:before,.btn-group:after{display:table;content:""}.btn-group:after{clear:both}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:9px;margin-bottom:9px}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1}.btn-group>.btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.dropdown-toggle{*padding-top:4px;padding-right:8px;*padding-bottom:4px;padding-left:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn-group>.btn-mini.dropdown-toggle{padding-right:5px;padding-left:5px}.btn-group>.btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px}.btn-group>.btn-large.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6}.btn-group.open .btn-primary.dropdown-toggle{background-color:#05c}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222}.btn .caret{margin-top:7px;margin-left:0}.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100)}.btn-mini .caret{margin-top:5px}.btn-small .caret{margin-top:6px}.btn-large .caret{margin-top:6px;border-top-width:5px;border-right-width:5px;border-left-width:5px}.dropup .btn-large .caret{border-top:0;border-bottom:5px solid #000}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:.75;filter:alpha(opacity=75)}.alert{padding:8px 35px 8px 14px;margin-bottom:18px;color:#c09853;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.alert-heading{color:inherit}.alert .close{position:relative;top:-2px;right:-21px;line-height:18px}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-danger,.alert-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-bottom:18px;margin-left:0;list-style:none}.nav>li>a{display:block}.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>.pull-right{float:right}.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-right:15px;padding-left:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-right:-15px;margin-left:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#08c}.nav-list [class^="icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:8px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:18px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#fff;background-color:#08c}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.nav-tabs.nav-stacked>li>a:hover{z-index:2;border-color:#ddd}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{margin-top:6px;border-top-color:#08c;border-bottom-color:#08c}.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#005580;border-bottom-color:#005580}.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333;border-bottom-color:#333}.nav>.dropdown.active>a:hover{color:#000;cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover{color:#fff;background-color:#999;border-color:#999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover{border-color:#999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover{border-top-color:#ddd;border-bottom-color:transparent}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover{border-color:#eee #ddd #eee #eee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover{border-color:#eee #eee #eee #ddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff}.navbar{*position:relative;*z-index:2;margin-bottom:18px;overflow:visible}.navbar-inner{min-height:40px;padding-right:20px;padding-left:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top,#333,#222);background-image:-ms-linear-gradient(top,#333,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333),to(#222));background-image:-webkit-linear-gradient(top,#333,#222);background-image:-o-linear-gradient(top,#333,#222);background-image:linear-gradient(top,#333,#222);background-repeat:repeat-x;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1)}.navbar .container{width:auto}.nav-collapse.collapse{height:auto}.navbar{color:#999}.navbar .brand:hover{text-decoration:none}.navbar .brand{display:block;float:left;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#999}.navbar .navbar-text{margin-bottom:0;line-height:40px}.navbar .navbar-link{color:#999}.navbar .navbar-link:hover{color:#fff}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn{margin:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#fff;background-color:#626262;border:1px solid #151515;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.navbar-search .search-query:-moz-placeholder{color:#ccc}.navbar-search .search-query::-webkit-input-placeholder{color:#ccc}.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;outline:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15)}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-right:0;padding-left:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-bottom{bottom:0}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right}.navbar .nav>li{display:block;float:left}.navbar .nav>li>a{float:none;padding:9px 10px 11px;line-height:19px;color:#999;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar .btn{display:inline-block;padding:4px 10px 4px;margin:5px 5px 6px;line-height:18px}.navbar .btn-group{padding:5px 5px 6px;margin:0}.navbar .nav>li>a:hover{color:#fff;text-decoration:none;background-color:transparent}.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#fff;text-decoration:none;background-color:#222}.navbar .divider-vertical{width:1px;height:40px;margin:0 9px;overflow:hidden;background-color:#222;border-right:1px solid #333}.navbar .nav.pull-right{margin-right:0;margin-left:10px}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-right:5px;margin-left:5px;background-color:#2c2c2c;*background-color:#222;background-image:-ms-linear-gradient(top,#333,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#333),to(#222));background-image:-webkit-linear-gradient(top,#333,#222);background-image:-o-linear-gradient(top,#333,#222);background-image:linear-gradient(top,#333,#222);background-image:-moz-linear-gradient(top,#333,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0);filter:progid:dximagetransform.microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{background-color:#222;*background-color:#151515}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#080808 \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .dropdown-menu:before{position:absolute;top:-7px;left:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:''}.navbar .dropdown-menu:after{position:absolute;top:-6px;left:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:''}.navbar-fixed-bottom .dropdown-menu:before{top:auto;bottom:-7px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.navbar-fixed-bottom .dropdown-menu:after{top:auto;bottom:-6px;border-top:6px solid #fff;border-bottom:0}.navbar .nav li.dropdown .dropdown-toggle .caret,.navbar .nav li.dropdown.open .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar .nav li.dropdown.active .caret{opacity:1;filter:alpha(opacity=100)}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:transparent}.navbar .nav li.dropdown.active>.dropdown-toggle:hover{color:#fff}.navbar .pull-right .dropdown-menu,.navbar .dropdown-menu.pull-right{right:0;left:auto}.navbar .pull-right .dropdown-menu:before,.navbar .dropdown-menu.pull-right:before{right:12px;left:auto}.navbar .pull-right .dropdown-menu:after,.navbar .dropdown-menu.pull-right:after{right:13px;left:auto}.breadcrumb{padding:7px 14px;margin:0 0 18px;list-style:none;background-color:#fbfbfb;background-image:-moz-linear-gradient(top,#fff,#f5f5f5);background-image:-ms-linear-gradient(top,#fff,#f5f5f5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#fff,#f5f5f5);background-image:-o-linear-gradient(top,#fff,#f5f5f5);background-image:linear-gradient(top,#fff,#f5f5f5);background-repeat:repeat-x;border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff',endColorstr='#f5f5f5',GradientType=0);-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.breadcrumb li{display:inline-block;*display:inline;text-shadow:0 1px 0 #fff;*zoom:1}.breadcrumb .divider{padding:0 5px;color:#999}.breadcrumb .active a{color:#333}.pagination{height:36px;margin:18px 0}.pagination ul{display:inline-block;*display:inline;margin-bottom:0;margin-left:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;*zoom:1;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination li{display:inline}.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0}.pagination a:hover,.pagination .active a{background-color:#f5f5f5}.pagination .active a{color:#999;cursor:default}.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999;cursor:default;background-color:transparent}.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pager{margin-bottom:18px;margin-left:0;text-align:center;list-style:none;*zoom:1}.pager:before,.pager:after{display:table;content:""}.pager:after{clear:both}.pager li{display:inline}.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager a:hover{text-decoration:none;background-color:#f5f5f5}.pager .next a{float:right}.pager .previous a{float:left}.pager .disabled a,.pager .disabled a:hover{color:#999;cursor:default;background-color:#fff}.modal-open .dropdown-menu{z-index:2050}.modal-open .dropdown.open{*z-index:2050}.modal-open .popover{z-index:2060}.modal-open .tooltip{z-index:2070}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}.modal{position:fixed;top:50%;left:50%;z-index:1050;width:560px;margin:-250px 0 0 -280px;overflow:auto;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{top:-25%;-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-ms-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out}.modal.fade.in{top:50%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-body{max-height:400px;padding:15px;overflow-y:auto}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;*zoom:1;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.modal-footer:before,.modal-footer:after{display:table;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.tooltip{position:absolute;z-index:1020;display:block;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{margin-top:-2px}.tooltip.right{margin-left:2px}.tooltip.bottom{margin-top:2px}.tooltip.left{margin-left:-2px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top:5px solid #000;border-right:5px solid transparent;border-left:5px solid transparent}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-right:5px solid transparent;border-bottom:5px solid #000;border-left:5px solid transparent}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-right:5px solid #000;border-bottom:5px solid transparent}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px}.popover.top{margin-top:-5px}.popover.right{margin-left:5px}.popover.bottom{margin-top:5px}.popover.left{margin-left:-5px}.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-top:5px solid #000;border-right:5px solid transparent;border-left:5px solid transparent}.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-right:5px solid #000;border-bottom:5px solid transparent}.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-right:5px solid transparent;border-bottom:5px solid #000;border-left:5px solid transparent}.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000}.popover .arrow{position:absolute;width:0;height:0}.popover-inner{width:280px;padding:3px;overflow:hidden;background:#000;background:rgba(0,0,0,0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3)}.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.popover-content{padding:14px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:18px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:0 1px 1px rgba(0,0,0,0.075);box-shadow:0 1px 1px rgba(0,0,0,0.075)}a.thumbnail:hover{border-color:#08c;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px}.label,.badge{font-size:10.998px;font-weight:bold;line-height:14px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);white-space:nowrap;vertical-align:baseline;background-color:#999}.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}a.label:hover,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b94a48}.label-important[href],.badge-important[href]{background-color:#953b39}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:18px;margin-bottom:18px;overflow:hidden;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-ms-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(top,#f5f5f5,#f9f9f9);background-repeat:repeat-x;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#f5f5f5',endColorstr='#f9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress .bar{width:0;height:18px;font-size:12px;color:#fff;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(top,#149bdf,#0480be);background-image:-ms-linear-gradient(top,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#149bdf',endColorstr='#0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-ms-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-striped .bar{background-color:#149bdf;background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-ms-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(top,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#c43c35',GradientType=0)}.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-ms-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(top,#62c462,#57a957);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#62c462',endColorstr='#57a957',GradientType=0)}.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-ms-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(top,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de',endColorstr='#339bb9',GradientType=0)}.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-ms-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(top,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450',endColorstr='#f89406',GradientType=0)}.progress-warning.progress-striped .bar{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:18px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:18px;line-height:1}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel .item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-moz-transition:.6s ease-in-out left;-ms-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel .item>img{display:block;line-height:1}.carousel .active,.carousel .next,.carousel .prev{display:block}.carousel .active{left:0}.carousel .next,.carousel .prev{position:absolute;top:0;width:100%}.carousel .next{left:100%}.carousel .prev{left:-100%}.carousel .next.left,.carousel .prev.right{left:0}.carousel .active.left{left:-100%}.carousel .active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:.5;filter:alpha(opacity=50)}.carousel-control.right{right:15px;left:auto}.carousel-control:hover{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-caption{position:absolute;right:0;bottom:0;left:0;padding:10px 15px 5px;background:#333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{color:#fff}.hero-unit{padding:60px;margin-bottom:30px;background-color:#eee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;color:inherit}.hero-unit p{font-size:18px;font-weight:200;line-height:27px;color:inherit}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden} diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/1.json b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/1.json new file mode 100644 index 0000000..d367ff6 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/1.json @@ -0,0 +1,5 @@ +{ + "id": 1, + "title": "Baa, baa, black sheep", + "content": "Baa, baa, black sheep,\nHave you any wool?\nYes, sir, yes, sir,\nThree bags full;\nOne for the master,\nAnd one for the dame,\nAnd one for the little boy\nWho lives down the lane." +} \ No newline at end of file diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/2.json b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/2.json new file mode 100644 index 0000000..371e4d8 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/2.json @@ -0,0 +1,5 @@ +{ + "id": 2, + "title": "Sing a song of sixpence", + "content": "Sing a song of sixpence,\nA pocket full of rye;\nFour and twenty blackbirds\nBaked in a pie.\nWhen the pie was opened,\nThey all began to sing.\nNow, wasn't that a dainty dish\nTo set before the King?\n\nThe King was in his countinghouse,\nCounting out his money;\nThe Queen was in the parlor\nEating bread and honey.\nThe maid was in the garden,\nHanging out the clothes.\nAlong there came a big black bird\nAnd snipped off her nose!" +} \ No newline at end of file diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/3.json b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/3.json new file mode 100644 index 0000000..805c9b5 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/song/3.json @@ -0,0 +1,5 @@ +{ + "id": 3, + "title": "Hush, little baby", + "content": "Hush, little baby, don't say a word\nMama's gonna buy you a mockin'bird\n\nIf that mockin'bird don't sing\nMama's gonna buy you a diamond ring\n\nIf that diamond ring turns brass,\nMama's gonna buy you a looking glass\n\nIf that looking glass gets broke\nMama's gonna buy you a billy goat\n\nIf that billy goat don't pull,\nMama's gonna buy you a cart and mule\n\nIf that cart and mule turn over\nMama's gonna buy you a dog named Rover\n\nIf that dog named Rover won't bark\nMama's gonna buy you a horse and cart\n\nIf that Horse and Cart fall down,\nThen you'll be the sweetest little baby in town\n" +} \ No newline at end of file diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/songs.json b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/songs.json new file mode 100644 index 0000000..d678c05 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/data/songs.json @@ -0,0 +1,14 @@ +[ + { + "id": 1, + "title": "Baa, baa, black sheep" + }, + { + "id": 2, + "title": "Sing a song of sixpence" + }, + { + "id": 3, + "title": "Hush, little baby" + } +] diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/index.html b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/index.html new file mode 100644 index 0000000..07f5d50 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/index.html @@ -0,0 +1,34 @@ + + + + + Songs + + + + + + + + +

Songs for kids

+

AngularJS application

+ + + +
+ + + + + + diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/app.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/app.js new file mode 100644 index 0000000..7a8f274 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/app.js @@ -0,0 +1,3 @@ +'use strict'; + +/* App Module */ diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/controllers.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/controllers.js new file mode 100644 index 0000000..c4e6a90 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/controllers.js @@ -0,0 +1,39 @@ +'use strict'; + +/* Controllers */ + +var SongsApplication = angular.module('SongsApplication', ['ngRoute', 'ngSanitize']); + + +SongsApplication.config(['$routeProvider', + function($routeProvider) { + $routeProvider + .when('/data/song/:songId', { + templateUrl: 'abc', + controller: 'SongsShowCtrl' + }) + .when('/', { + redirectTo: '/data/song/1' + }) + } +]); + + +SongsApplication.controller('SongsIndexCtrl', function($scope, $http) { + + $http.get('data/songs.json').success(function(data) { + $scope.songs = data; + }); + +}); + +SongsApplication.controller('SongsShowCtrl', ['$scope', '$routeParams', '$http', + + function($scope, $routeParams, $http) { + + $http.get('data/song/' + $routeParams.songId + '.json').success(function(data) { + $scope.song = data; + }); + +}]); + diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/directives.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/directives.js new file mode 100644 index 0000000..ebc5dd1 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/directives.js @@ -0,0 +1,3 @@ +'use strict'; + +/* Directives */ diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/filters.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/filters.js new file mode 100644 index 0000000..fd99c1b --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/filters.js @@ -0,0 +1,9 @@ +'use strict'; + +/* Filters */ + +SongsApplication.filter('newlines', function () { + return function(text) { + return text.replace(/\n/g, '
'); + } +}); \ No newline at end of file diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/services.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/services.js new file mode 100644 index 0000000..8207480 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/js/services.js @@ -0,0 +1,4 @@ +'use strict'; + +/* Services */ + diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.js new file mode 100644 index 0000000..f3da0ac --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.js @@ -0,0 +1,1613 @@ +/** + * @license AngularJS v1.3.0-beta.3 + * (c) 2010-2014 Google, Inc. http://angularjs.org + * License: MIT + */ +(function(window, angular, undefined) {'use strict'; + +/* jshint maxlen: false */ + +/** + * @ngdoc module + * @name ngAnimate + * @description + * + * # ngAnimate + * + * The `ngAnimate` module provides support for JavaScript, CSS3 transition and CSS3 keyframe animation hooks within existing core and custom directives. + * + * + *
+ * + * # Usage + * + * To see animations in action, all that is required is to define the appropriate CSS classes + * or to register a JavaScript animation via the myModule.animation() function. The directives that support animation automatically are: + * `ngRepeat`, `ngInclude`, `ngIf`, `ngSwitch`, `ngShow`, `ngHide`, `ngView` and `ngClass`. Custom directives can take advantage of animation + * by using the `$animate` service. + * + * Below is a more detailed breakdown of the supported animation events provided by pre-existing ng directives: + * + * | Directive | Supported Animations | + * |---------------------------------------------------------- |----------------------------------------------------| + * | {@link ng.directive:ngRepeat#usage_animations ngRepeat} | enter, leave and move | + * | {@link ngRoute.directive:ngView#usage_animations ngView} | enter and leave | + * | {@link ng.directive:ngInclude#usage_animations ngInclude} | enter and leave | + * | {@link ng.directive:ngSwitch#usage_animations ngSwitch} | enter and leave | + * | {@link ng.directive:ngIf#usage_animations ngIf} | enter and leave | + * | {@link ng.directive:ngClass#usage_animations ngClass} | add and remove | + * | {@link ng.directive:ngShow#usage_animations ngShow & ngHide} | add and remove (the ng-hide class value) | + * | {@link ng.directive:form#usage_animations form} | add and remove (dirty, pristine, valid, invalid & all other validations) | + * | {@link ng.directive:ngModel#usage_animations ngModel} | add and remove (dirty, pristine, valid, invalid & all other validations) | + * + * You can find out more information about animations upon visiting each directive page. + * + * Below is an example of how to apply animations to a directive that supports animation hooks: + * + * ```html + * + * + * + * + * ``` + * + * Keep in mind that if an animation is running, any child elements cannot be animated until the parent element's + * animation has completed. + * + *

CSS-defined Animations

+ * The animate service will automatically apply two CSS classes to the animated element and these two CSS classes + * are designed to contain the start and end CSS styling. Both CSS transitions and keyframe animations are supported + * and can be used to play along with this naming structure. + * + * The following code below demonstrates how to perform animations using **CSS transitions** with Angular: + * + * ```html + * + * + *
+ *
+ *
+ * ``` + * + * The following code below demonstrates how to perform animations using **CSS animations** with Angular: + * + * ```html + * + * + *
+ *
+ *
+ * ``` + * + * Both CSS3 animations and transitions can be used together and the animate service will figure out the correct duration and delay timing. + * + * Upon DOM mutation, the event class is added first (something like `ng-enter`), then the browser prepares itself to add + * the active class (in this case `ng-enter-active`) which then triggers the animation. The animation module will automatically + * detect the CSS code to determine when the animation ends. Once the animation is over then both CSS classes will be + * removed from the DOM. If a browser does not support CSS transitions or CSS animations then the animation will start and end + * immediately resulting in a DOM element that is at its final state. This final state is when the DOM element + * has no CSS transition/animation classes applied to it. + * + *

CSS Staggering Animations

+ * A Staggering animation is a collection of animations that are issued with a slight delay in between each successive operation resulting in a + * curtain-like effect. The ngAnimate module, as of 1.2.0, supports staggering animations and the stagger effect can be + * performed by creating a **ng-EVENT-stagger** CSS class and attaching that class to the base CSS class used for + * the animation. The style property expected within the stagger class can either be a **transition-delay** or an + * **animation-delay** property (or both if your animation contains both transitions and keyframe animations). + * + * ```css + * .my-animation.ng-enter { + * /* standard transition code */ + * -webkit-transition: 1s linear all; + * transition: 1s linear all; + * opacity:0; + * } + * .my-animation.ng-enter-stagger { + * /* this will have a 100ms delay between each successive leave animation */ + * -webkit-transition-delay: 0.1s; + * transition-delay: 0.1s; + * + * /* in case the stagger doesn't work then these two values + * must be set to 0 to avoid an accidental CSS inheritance */ + * -webkit-transition-duration: 0s; + * transition-duration: 0s; + * } + * .my-animation.ng-enter.ng-enter-active { + * /* standard transition styles */ + * opacity:1; + * } + * ``` + * + * Staggering animations work by default in ngRepeat (so long as the CSS class is defined). Outside of ngRepeat, to use staggering animations + * on your own, they can be triggered by firing multiple calls to the same event on $animate. However, the restrictions surrounding this + * are that each of the elements must have the same CSS className value as well as the same parent element. A stagger operation + * will also be reset if more than 10ms has passed after the last animation has been fired. + * + * The following code will issue the **ng-leave-stagger** event on the element provided: + * + * ```js + * var kids = parent.children(); + * + * $animate.leave(kids[0]); //stagger index=0 + * $animate.leave(kids[1]); //stagger index=1 + * $animate.leave(kids[2]); //stagger index=2 + * $animate.leave(kids[3]); //stagger index=3 + * $animate.leave(kids[4]); //stagger index=4 + * + * $timeout(function() { + * //stagger has reset itself + * $animate.leave(kids[5]); //stagger index=0 + * $animate.leave(kids[6]); //stagger index=1 + * }, 100, false); + * ``` + * + * Stagger animations are currently only supported within CSS-defined animations. + * + *

JavaScript-defined Animations

+ * In the event that you do not want to use CSS3 transitions or CSS3 animations or if you wish to offer animations on browsers that do not + * yet support CSS transitions/animations, then you can make use of JavaScript animations defined inside of your AngularJS module. + * + * ```js + * //!annotate="YourApp" Your AngularJS Module|Replace this or ngModule with the module that you used to define your application. + * var ngModule = angular.module('YourApp', ['ngAnimate']); + * ngModule.animation('.my-crazy-animation', function() { + * return { + * enter: function(element, done) { + * //run the animation here and call done when the animation is complete + * return function(cancelled) { + * //this (optional) function will be called when the animation + * //completes or when the animation is cancelled (the cancelled + * //flag will be set to true if cancelled). + * }; + * }, + * leave: function(element, done) { }, + * move: function(element, done) { }, + * + * //animation that can be triggered before the class is added + * beforeAddClass: function(element, className, done) { }, + * + * //animation that can be triggered after the class is added + * addClass: function(element, className, done) { }, + * + * //animation that can be triggered before the class is removed + * beforeRemoveClass: function(element, className, done) { }, + * + * //animation that can be triggered after the class is removed + * removeClass: function(element, className, done) { } + * }; + * }); + * ``` + * + * JavaScript-defined animations are created with a CSS-like class selector and a collection of events which are set to run + * a javascript callback function. When an animation is triggered, $animate will look for a matching animation which fits + * the element's CSS class attribute value and then run the matching animation event function (if found). + * In other words, if the CSS classes present on the animated element match any of the JavaScript animations then the callback function will + * be executed. It should be also noted that only simple, single class selectors are allowed (compound class selectors are not supported). + * + * Within a JavaScript animation, an object containing various event callback animation functions is expected to be returned. + * As explained above, these callbacks are triggered based on the animation event. Therefore if an enter animation is run, + * and the JavaScript animation is found, then the enter callback will handle that animation (in addition to the CSS keyframe animation + * or transition code that is defined via a stylesheet). + * + */ + +angular.module('ngAnimate', ['ng']) + + /** + * @ngdoc provider + * @name $animateProvider + * @description + * + * The `$animateProvider` allows developers to register JavaScript animation event handlers directly inside of a module. + * When an animation is triggered, the $animate service will query the $animate service to find any animations that match + * the provided name value. + * + * Requires the {@link ngAnimate `ngAnimate`} module to be installed. + * + * Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application. + * + */ + + //this private service is only used within CSS-enabled animations + //IE8 + IE9 do not support rAF natively, but that is fine since they + //also don't support transitions and keyframes which means that the code + //below will never be used by the two browsers. + .factory('$$animateReflow', ['$$rAF', '$document', function($$rAF, $document) { + var bod = $document[0].body; + return function(fn) { + //the returned function acts as the cancellation function + return $$rAF(function() { + //the line below will force the browser to perform a repaint + //so that all the animated elements within the animation frame + //will be properly updated and drawn on screen. This is + //required to perform multi-class CSS based animations with + //Firefox. DO NOT REMOVE THIS LINE. + var a = bod.offsetWidth + 1; + fn(); + }); + }; + }]) + + .config(['$provide', '$animateProvider', function($provide, $animateProvider) { + var noop = angular.noop; + var forEach = angular.forEach; + var selectors = $animateProvider.$$selectors; + + var ELEMENT_NODE = 1; + var NG_ANIMATE_STATE = '$$ngAnimateState'; + var NG_ANIMATE_CLASS_NAME = 'ng-animate'; + var rootAnimateState = {running: true}; + + function extractElementNode(element) { + for(var i = 0; i < element.length; i++) { + var elm = element[i]; + if(elm.nodeType == ELEMENT_NODE) { + return elm; + } + } + } + + function stripCommentsFromElement(element) { + return angular.element(extractElementNode(element)); + } + + function isMatchingElement(elm1, elm2) { + return extractElementNode(elm1) == extractElementNode(elm2); + } + + $provide.decorator('$animate', ['$delegate', '$injector', '$sniffer', '$rootElement', '$$asyncCallback', '$rootScope', '$document', + function($delegate, $injector, $sniffer, $rootElement, $$asyncCallback, $rootScope, $document) { + + var globalAnimationCounter = 0; + $rootElement.data(NG_ANIMATE_STATE, rootAnimateState); + + // disable animations during bootstrap, but once we bootstrapped, wait again + // for another digest until enabling animations. The reason why we digest twice + // is because all structural animations (enter, leave and move) all perform a + // post digest operation before animating. If we only wait for a single digest + // to pass then the structural animation would render its animation on page load. + // (which is what we're trying to avoid when the application first boots up.) + $rootScope.$$postDigest(function() { + $rootScope.$$postDigest(function() { + rootAnimateState.running = false; + }); + }); + + var classNameFilter = $animateProvider.classNameFilter(); + var isAnimatableClassName = !classNameFilter + ? function() { return true; } + : function(className) { + return classNameFilter.test(className); + }; + + function lookup(name) { + if (name) { + var matches = [], + flagMap = {}, + classes = name.substr(1).split('.'); + + //the empty string value is the default animation + //operation which performs CSS transition and keyframe + //animations sniffing. This is always included for each + //element animation procedure if the browser supports + //transitions and/or keyframe animations + if ($sniffer.transitions || $sniffer.animations) { + classes.push(''); + } + + for(var i=0; i < classes.length; i++) { + var klass = classes[i], + selectorFactoryName = selectors[klass]; + if(selectorFactoryName && !flagMap[klass]) { + matches.push($injector.get(selectorFactoryName)); + flagMap[klass] = true; + } + } + return matches; + } + } + + function animationRunner(element, animationEvent, className) { + //transcluded directives may sometimes fire an animation using only comment nodes + //best to catch this early on to prevent any animation operations from occurring + var node = element[0]; + if(!node) { + return; + } + + var isSetClassOperation = animationEvent == 'setClass'; + var isClassBased = isSetClassOperation || + animationEvent == 'addClass' || + animationEvent == 'removeClass'; + + var classNameAdd, classNameRemove; + if(angular.isArray(className)) { + classNameAdd = className[0]; + classNameRemove = className[1]; + className = classNameAdd + ' ' + classNameRemove; + } + + var currentClassName = element.attr('class'); + var classes = currentClassName + ' ' + className; + if(!isAnimatableClassName(classes)) { + return; + } + + var beforeComplete = noop, + beforeCancel = [], + before = [], + afterComplete = noop, + afterCancel = [], + after = []; + + var animationLookup = (' ' + classes).replace(/\s+/g,'.'); + forEach(lookup(animationLookup), function(animationFactory) { + var created = registerAnimation(animationFactory, animationEvent); + if(!created && isSetClassOperation) { + registerAnimation(animationFactory, 'addClass'); + registerAnimation(animationFactory, 'removeClass'); + } + }); + + function registerAnimation(animationFactory, event) { + var afterFn = animationFactory[event]; + var beforeFn = animationFactory['before' + event.charAt(0).toUpperCase() + event.substr(1)]; + if(afterFn || beforeFn) { + if(event == 'leave') { + beforeFn = afterFn; + //when set as null then animation knows to skip this phase + afterFn = null; + } + after.push({ + event : event, fn : afterFn + }); + before.push({ + event : event, fn : beforeFn + }); + return true; + } + } + + function run(fns, cancellations, allCompleteFn) { + var animations = []; + forEach(fns, function(animation) { + animation.fn && animations.push(animation); + }); + + var count = 0; + function afterAnimationComplete(index) { + if(cancellations) { + (cancellations[index] || noop)(); + if(++count < animations.length) return; + cancellations = null; + } + allCompleteFn(); + } + + //The code below adds directly to the array in order to work with + //both sync and async animations. Sync animations are when the done() + //operation is called right away. DO NOT REFACTOR! + forEach(animations, function(animation, index) { + var progress = function() { + afterAnimationComplete(index); + }; + switch(animation.event) { + case 'setClass': + cancellations.push(animation.fn(element, classNameAdd, classNameRemove, progress)); + break; + case 'addClass': + cancellations.push(animation.fn(element, classNameAdd || className, progress)); + break; + case 'removeClass': + cancellations.push(animation.fn(element, classNameRemove || className, progress)); + break; + default: + cancellations.push(animation.fn(element, progress)); + break; + } + }); + + if(cancellations && cancellations.length === 0) { + allCompleteFn(); + } + } + + return { + node : node, + event : animationEvent, + className : className, + isClassBased : isClassBased, + isSetClassOperation : isSetClassOperation, + before : function(allCompleteFn) { + beforeComplete = allCompleteFn; + run(before, beforeCancel, function() { + beforeComplete = noop; + allCompleteFn(); + }); + }, + after : function(allCompleteFn) { + afterComplete = allCompleteFn; + run(after, afterCancel, function() { + afterComplete = noop; + allCompleteFn(); + }); + }, + cancel : function() { + if(beforeCancel) { + forEach(beforeCancel, function(cancelFn) { + (cancelFn || noop)(true); + }); + beforeComplete(true); + } + if(afterCancel) { + forEach(afterCancel, function(cancelFn) { + (cancelFn || noop)(true); + }); + afterComplete(true); + } + } + }; + } + + /** + * @ngdoc service + * @name $animate + * @function + * + * @description + * The `$animate` service provides animation detection support while performing DOM operations (enter, leave and move) as well as during addClass and removeClass operations. + * When any of these operations are run, the $animate service + * will examine any JavaScript-defined animations (which are defined by using the $animateProvider provider object) + * as well as any CSS-defined animations against the CSS classes present on the element once the DOM operation is run. + * + * The `$animate` service is used behind the scenes with pre-existing directives and animation with these directives + * will work out of the box without any extra configuration. + * + * Requires the {@link ngAnimate `ngAnimate`} module to be installed. + * + * Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application. + * + */ + return { + /** + * @ngdoc method + * @name $animate#enter + * @function + * + * @description + * Appends the element to the parentElement element that resides in the document and then runs the enter animation. Once + * the animation is started, the following CSS classes will be present on the element for the duration of the animation: + * + * Below is a breakdown of each step that occurs during enter animation: + * + * | Animation Step | What the element class attribute looks like | + * |----------------------------------------------------------------------------------------------|---------------------------------------------| + * | 1. $animate.enter(...) is called | class="my-animation" | + * | 2. element is inserted into the parentElement element or beside the afterElement element | class="my-animation" | + * | 3. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-animate" | + * | 4. the .ng-enter class is added to the element | class="my-animation ng-animate ng-enter" | + * | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-enter" | + * | 6. $animate waits for 10ms (this performs a reflow) | class="my-animation ng-animate ng-enter" | + * | 7. the .ng-enter-active and .ng-animate-active classes are added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active ng-enter ng-enter-active" | + * | 8. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-animate ng-animate-active ng-enter ng-enter-active" | + * | 9. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | + * | 10. The doneCallback() callback is fired (if provided) | class="my-animation" | + * + * @param {DOMElement} element the element that will be the focus of the enter animation + * @param {DOMElement} parentElement the parent element of the element that will be the focus of the enter animation + * @param {DOMElement} afterElement the sibling element (which is the previous element) of the element that will be the focus of the enter animation + * @param {function()=} doneCallback the callback function that will be called once the animation is complete + */ + enter : function(element, parentElement, afterElement, doneCallback) { + this.enabled(false, element); + $delegate.enter(element, parentElement, afterElement); + $rootScope.$$postDigest(function() { + element = stripCommentsFromElement(element); + performAnimation('enter', 'ng-enter', element, parentElement, afterElement, noop, doneCallback); + }); + }, + + /** + * @ngdoc method + * @name $animate#leave + * @function + * + * @description + * Runs the leave animation operation and, upon completion, removes the element from the DOM. Once + * the animation is started, the following CSS classes will be added for the duration of the animation: + * + * Below is a breakdown of each step that occurs during leave animation: + * + * | Animation Step | What the element class attribute looks like | + * |----------------------------------------------------------------------------------------------|---------------------------------------------| + * | 1. $animate.leave(...) is called | class="my-animation" | + * | 2. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-animate" | + * | 3. the .ng-leave class is added to the element | class="my-animation ng-animate ng-leave" | + * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-leave" | + * | 5. $animate waits for 10ms (this performs a reflow) | class="my-animation ng-animate ng-leave" | + * | 6. the .ng-leave-active and .ng-animate-active classes is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active ng-leave ng-leave-active" | + * | 7. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-animate ng-animate-active ng-leave ng-leave-active" | + * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | + * | 9. The element is removed from the DOM | ... | + * | 10. The doneCallback() callback is fired (if provided) | ... | + * + * @param {DOMElement} element the element that will be the focus of the leave animation + * @param {function()=} doneCallback the callback function that will be called once the animation is complete + */ + leave : function(element, doneCallback) { + cancelChildAnimations(element); + this.enabled(false, element); + $rootScope.$$postDigest(function() { + performAnimation('leave', 'ng-leave', stripCommentsFromElement(element), null, null, function() { + $delegate.leave(element); + }, doneCallback); + }); + }, + + /** + * @ngdoc method + * @name $animate#move + * @function + * + * @description + * Fires the move DOM operation. Just before the animation starts, the animate service will either append it into the parentElement container or + * add the element directly after the afterElement element if present. Then the move animation will be run. Once + * the animation is started, the following CSS classes will be added for the duration of the animation: + * + * Below is a breakdown of each step that occurs during move animation: + * + * | Animation Step | What the element class attribute looks like | + * |----------------------------------------------------------------------------------------------|---------------------------------------------| + * | 1. $animate.move(...) is called | class="my-animation" | + * | 2. element is moved into the parentElement element or beside the afterElement element | class="my-animation" | + * | 3. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-animate" | + * | 4. the .ng-move class is added to the element | class="my-animation ng-animate ng-move" | + * | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-move" | + * | 6. $animate waits for 10ms (this performs a reflow) | class="my-animation ng-animate ng-move" | + * | 7. the .ng-move-active and .ng-animate-active classes is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active ng-move ng-move-active" | + * | 8. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-animate ng-animate-active ng-move ng-move-active" | + * | 9. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | + * | 10. The doneCallback() callback is fired (if provided) | class="my-animation" | + * + * @param {DOMElement} element the element that will be the focus of the move animation + * @param {DOMElement} parentElement the parentElement element of the element that will be the focus of the move animation + * @param {DOMElement} afterElement the sibling element (which is the previous element) of the element that will be the focus of the move animation + * @param {function()=} doneCallback the callback function that will be called once the animation is complete + */ + move : function(element, parentElement, afterElement, doneCallback) { + cancelChildAnimations(element); + this.enabled(false, element); + $delegate.move(element, parentElement, afterElement); + $rootScope.$$postDigest(function() { + element = stripCommentsFromElement(element); + performAnimation('move', 'ng-move', element, parentElement, afterElement, noop, doneCallback); + }); + }, + + /** + * @ngdoc method + * @name $animate#addClass + * + * @description + * Triggers a custom animation event based off the className variable and then attaches the className value to the element as a CSS class. + * Unlike the other animation methods, the animate service will suffix the className value with {@type -add} in order to provide + * the animate service the setup and active CSS classes in order to trigger the animation (this will be skipped if no CSS transitions + * or keyframes are defined on the -add or base CSS class). + * + * Below is a breakdown of each step that occurs during addClass animation: + * + * | Animation Step | What the element class attribute looks like | + * |------------------------------------------------------------------------------------------------|---------------------------------------------| + * | 1. $animate.addClass(element, 'super') is called | class="my-animation" | + * | 2. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-animate" | + * | 3. the .super-add class are added to the element | class="my-animation ng-animate super-add" | + * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate super-add" | + * | 5. $animate waits for 10ms (this performs a reflow) | class="my-animation ng-animate super-add" | + * | 6. the .super, .super-add-active and .ng-animate-active classes are added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active super super-add super-add-active" | + * | 7. $animate waits for X milliseconds for the animation to complete | class="my-animation super super-add super-add-active" | + * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation super" | + * | 9. The super class is kept on the element | class="my-animation super" | + * | 10. The doneCallback() callback is fired (if provided) | class="my-animation super" | + * + * @param {DOMElement} element the element that will be animated + * @param {string} className the CSS class that will be added to the element and then animated + * @param {function()=} doneCallback the callback function that will be called once the animation is complete + */ + addClass : function(element, className, doneCallback) { + element = stripCommentsFromElement(element); + performAnimation('addClass', className, element, null, null, function() { + $delegate.addClass(element, className); + }, doneCallback); + }, + + /** + * @ngdoc method + * @name $animate#removeClass + * + * @description + * Triggers a custom animation event based off the className variable and then removes the CSS class provided by the className value + * from the element. Unlike the other animation methods, the animate service will suffix the className value with {@type -remove} in + * order to provide the animate service the setup and active CSS classes in order to trigger the animation (this will be skipped if + * no CSS transitions or keyframes are defined on the -remove or base CSS classes). + * + * Below is a breakdown of each step that occurs during removeClass animation: + * + * | Animation Step | What the element class attribute looks like | + * |-----------------------------------------------------------------------------------------------|---------------------------------------------| + * | 1. $animate.removeClass(element, 'super') is called | class="my-animation super" | + * | 2. $animate runs any JavaScript-defined animations on the element | class="my-animation super ng-animate" | + * | 3. the .super-remove class are added to the element | class="my-animation super ng-animate super-remove"| + * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation super ng-animate super-remove" | + * | 5. $animate waits for 10ms (this performs a reflow) | class="my-animation super ng-animate super-remove" | + * | 6. the .super-remove-active and .ng-animate-active classes are added and .super is removed (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-animate-active super-remove super-remove-active" | + * | 7. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-animate ng-animate-active super-remove super-remove-active" | + * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | + * | 9. The doneCallback() callback is fired (if provided) | class="my-animation" | + * + * + * @param {DOMElement} element the element that will be animated + * @param {string} className the CSS class that will be animated and then removed from the element + * @param {function()=} doneCallback the callback function that will be called once the animation is complete + */ + removeClass : function(element, className, doneCallback) { + element = stripCommentsFromElement(element); + performAnimation('removeClass', className, element, null, null, function() { + $delegate.removeClass(element, className); + }, doneCallback); + }, + + /** + * + * @ngdoc function + * @name $animate#setClass + * @function + * @description Adds and/or removes the given CSS classes to and from the element. + * Once complete, the done() callback will be fired (if provided). + * @param {DOMElement} element the element which will it's CSS classes changed + * removed from it + * @param {string} add the CSS classes which will be added to the element + * @param {string} remove the CSS class which will be removed from the element + * @param {Function=} done the callback function (if provided) that will be fired after the + * CSS classes have been set on the element + */ + setClass : function(element, add, remove, doneCallback) { + element = stripCommentsFromElement(element); + performAnimation('setClass', [add, remove], element, null, null, function() { + $delegate.setClass(element, add, remove); + }, doneCallback); + }, + + /** + * @ngdoc method + * @name $animate#enabled + * @function + * + * @param {boolean=} value If provided then set the animation on or off. + * @param {DOMElement=} element If provided then the element will be used to represent the enable/disable operation + * @return {boolean} Current animation state. + * + * @description + * Globally enables/disables animations. + * + */ + enabled : function(value, element) { + switch(arguments.length) { + case 2: + if(value) { + cleanup(element); + } else { + var data = element.data(NG_ANIMATE_STATE) || {}; + data.disabled = true; + element.data(NG_ANIMATE_STATE, data); + } + break; + + case 1: + rootAnimateState.disabled = !value; + break; + + default: + value = !rootAnimateState.disabled; + break; + } + return !!value; + } + }; + + /* + all animations call this shared animation triggering function internally. + The animationEvent variable refers to the JavaScript animation event that will be triggered + and the className value is the name of the animation that will be applied within the + CSS code. Element, parentElement and afterElement are provided DOM elements for the animation + and the onComplete callback will be fired once the animation is fully complete. + */ + function performAnimation(animationEvent, className, element, parentElement, afterElement, domOperation, doneCallback) { + + var runner = animationRunner(element, animationEvent, className); + if(!runner) { + fireDOMOperation(); + fireBeforeCallbackAsync(); + fireAfterCallbackAsync(); + closeAnimation(); + return; + } + + className = runner.className; + var elementEvents = angular.element._data(runner.node); + elementEvents = elementEvents && elementEvents.events; + + if (!parentElement) { + parentElement = afterElement ? afterElement.parent() : element.parent(); + } + + var ngAnimateState = element.data(NG_ANIMATE_STATE) || {}; + var runningAnimations = ngAnimateState.active || {}; + var totalActiveAnimations = ngAnimateState.totalActive || 0; + var lastAnimation = ngAnimateState.last; + + //only allow animations if the currently running animation is not structural + //or if there is no animation running at all + var skipAnimations = runner.isClassBased ? + ngAnimateState.disabled || (lastAnimation && !lastAnimation.isClassBased) : + false; + + //skip the animation if animations are disabled, a parent is already being animated, + //the element is not currently attached to the document body or then completely close + //the animation if any matching animations are not found at all. + //NOTE: IE8 + IE9 should close properly (run closeAnimation()) in case an animation was found. + if (skipAnimations || animationsDisabled(element, parentElement)) { + fireDOMOperation(); + fireBeforeCallbackAsync(); + fireAfterCallbackAsync(); + closeAnimation(); + return; + } + + var skipAnimation = false; + if(totalActiveAnimations > 0) { + var animationsToCancel = []; + if(!runner.isClassBased) { + if(animationEvent == 'leave' && runningAnimations['ng-leave']) { + skipAnimation = true; + } else { + //cancel all animations when a structural animation takes place + for(var klass in runningAnimations) { + animationsToCancel.push(runningAnimations[klass]); + cleanup(element, klass); + } + runningAnimations = {}; + totalActiveAnimations = 0; + } + } else if(lastAnimation.event == 'setClass') { + animationsToCancel.push(lastAnimation); + cleanup(element, className); + } + else if(runningAnimations[className]) { + var current = runningAnimations[className]; + if(current.event == animationEvent) { + skipAnimation = true; + } else { + animationsToCancel.push(current); + cleanup(element, className); + } + } + + if(animationsToCancel.length > 0) { + forEach(animationsToCancel, function(operation) { + operation.cancel(); + }); + } + } + + if(runner.isClassBased && !runner.isSetClassOperation && !skipAnimation) { + skipAnimation = (animationEvent == 'addClass') == element.hasClass(className); //opposite of XOR + } + + if(skipAnimation) { + fireBeforeCallbackAsync(); + fireAfterCallbackAsync(); + fireDoneCallbackAsync(); + return; + } + + if(animationEvent == 'leave') { + //there's no need to ever remove the listener since the element + //will be removed (destroyed) after the leave animation ends or + //is cancelled midway + element.one('$destroy', function(e) { + var element = angular.element(this); + var state = element.data(NG_ANIMATE_STATE); + if(state) { + var activeLeaveAnimation = state.active['ng-leave']; + if(activeLeaveAnimation) { + activeLeaveAnimation.cancel(); + cleanup(element, 'ng-leave'); + } + } + }); + } + + //the ng-animate class does nothing, but it's here to allow for + //parent animations to find and cancel child animations when needed + element.addClass(NG_ANIMATE_CLASS_NAME); + + var localAnimationCount = globalAnimationCounter++; + totalActiveAnimations++; + runningAnimations[className] = runner; + + element.data(NG_ANIMATE_STATE, { + last : runner, + active : runningAnimations, + index : localAnimationCount, + totalActive : totalActiveAnimations + }); + + //first we run the before animations and when all of those are complete + //then we perform the DOM operation and run the next set of animations + fireBeforeCallbackAsync(); + runner.before(function(cancelled) { + var data = element.data(NG_ANIMATE_STATE); + cancelled = cancelled || + !data || !data.active[className] || + (runner.isClassBased && data.active[className].event != animationEvent); + + fireDOMOperation(); + if(cancelled === true) { + closeAnimation(); + } else { + fireAfterCallbackAsync(); + runner.after(closeAnimation); + } + }); + + function fireDOMCallback(animationPhase) { + var eventName = '$animate:' + animationPhase; + if(elementEvents && elementEvents[eventName] && elementEvents[eventName].length > 0) { + $$asyncCallback(function() { + element.triggerHandler(eventName, { + event : animationEvent, + className : className + }); + }); + } + } + + function fireBeforeCallbackAsync() { + fireDOMCallback('before'); + } + + function fireAfterCallbackAsync() { + fireDOMCallback('after'); + } + + function fireDoneCallbackAsync() { + fireDOMCallback('close'); + if(doneCallback) { + $$asyncCallback(function() { + doneCallback(); + }); + } + } + + //it is less complicated to use a flag than managing and canceling + //timeouts containing multiple callbacks. + function fireDOMOperation() { + if(!fireDOMOperation.hasBeenRun) { + fireDOMOperation.hasBeenRun = true; + domOperation(); + } + } + + function closeAnimation() { + if(!closeAnimation.hasBeenRun) { + closeAnimation.hasBeenRun = true; + var data = element.data(NG_ANIMATE_STATE); + if(data) { + /* only structural animations wait for reflow before removing an + animation, but class-based animations don't. An example of this + failing would be when a parent HTML tag has a ng-class attribute + causing ALL directives below to skip animations during the digest */ + if(runner && runner.isClassBased) { + cleanup(element, className); + } else { + $$asyncCallback(function() { + var data = element.data(NG_ANIMATE_STATE) || {}; + if(localAnimationCount == data.index) { + cleanup(element, className, animationEvent); + } + }); + element.data(NG_ANIMATE_STATE, data); + } + } + fireDoneCallbackAsync(); + } + } + } + + function cancelChildAnimations(element) { + var node = extractElementNode(element); + if (node) { + var nodes = angular.isFunction(node.getElementsByClassName) ? + node.getElementsByClassName(NG_ANIMATE_CLASS_NAME) : + node.querySelectorAll('.' + NG_ANIMATE_CLASS_NAME); + forEach(nodes, function(element) { + element = angular.element(element); + var data = element.data(NG_ANIMATE_STATE); + if(data && data.active) { + forEach(data.active, function(runner) { + runner.cancel(); + }); + } + }); + } + } + + function cleanup(element, className) { + if(isMatchingElement(element, $rootElement)) { + if(!rootAnimateState.disabled) { + rootAnimateState.running = false; + rootAnimateState.structural = false; + } + } else if(className) { + var data = element.data(NG_ANIMATE_STATE) || {}; + + var removeAnimations = className === true; + if(!removeAnimations && data.active && data.active[className]) { + data.totalActive--; + delete data.active[className]; + } + + if(removeAnimations || !data.totalActive) { + element.removeClass(NG_ANIMATE_CLASS_NAME); + element.removeData(NG_ANIMATE_STATE); + } + } + } + + function animationsDisabled(element, parentElement) { + if (rootAnimateState.disabled) return true; + + if(isMatchingElement(element, $rootElement)) { + return rootAnimateState.disabled || rootAnimateState.running; + } + + do { + //the element did not reach the root element which means that it + //is not apart of the DOM. Therefore there is no reason to do + //any animations on it + if(parentElement.length === 0) break; + + var isRoot = isMatchingElement(parentElement, $rootElement); + var state = isRoot ? rootAnimateState : parentElement.data(NG_ANIMATE_STATE); + var result = state && (!!state.disabled || state.running || state.totalActive > 0); + if(isRoot || result) { + return result; + } + + if(isRoot) return true; + } + while(parentElement = parentElement.parent()); + + return true; + } + }]); + + $animateProvider.register('', ['$window', '$sniffer', '$timeout', '$$animateReflow', + function($window, $sniffer, $timeout, $$animateReflow) { + // Detect proper transitionend/animationend event names. + var CSS_PREFIX = '', TRANSITION_PROP, TRANSITIONEND_EVENT, ANIMATION_PROP, ANIMATIONEND_EVENT; + + // If unprefixed events are not supported but webkit-prefixed are, use the latter. + // Otherwise, just use W3C names, browsers not supporting them at all will just ignore them. + // Note: Chrome implements `window.onwebkitanimationend` and doesn't implement `window.onanimationend` + // but at the same time dispatches the `animationend` event and not `webkitAnimationEnd`. + // Register both events in case `window.onanimationend` is not supported because of that, + // do the same for `transitionend` as Safari is likely to exhibit similar behavior. + // Also, the only modern browser that uses vendor prefixes for transitions/keyframes is webkit + // therefore there is no reason to test anymore for other vendor prefixes: http://caniuse.com/#search=transition + if (window.ontransitionend === undefined && window.onwebkittransitionend !== undefined) { + CSS_PREFIX = '-webkit-'; + TRANSITION_PROP = 'WebkitTransition'; + TRANSITIONEND_EVENT = 'webkitTransitionEnd transitionend'; + } else { + TRANSITION_PROP = 'transition'; + TRANSITIONEND_EVENT = 'transitionend'; + } + + if (window.onanimationend === undefined && window.onwebkitanimationend !== undefined) { + CSS_PREFIX = '-webkit-'; + ANIMATION_PROP = 'WebkitAnimation'; + ANIMATIONEND_EVENT = 'webkitAnimationEnd animationend'; + } else { + ANIMATION_PROP = 'animation'; + ANIMATIONEND_EVENT = 'animationend'; + } + + var DURATION_KEY = 'Duration'; + var PROPERTY_KEY = 'Property'; + var DELAY_KEY = 'Delay'; + var ANIMATION_ITERATION_COUNT_KEY = 'IterationCount'; + var NG_ANIMATE_PARENT_KEY = '$$ngAnimateKey'; + var NG_ANIMATE_CSS_DATA_KEY = '$$ngAnimateCSS3Data'; + var NG_ANIMATE_BLOCK_CLASS_NAME = 'ng-animate-block-transitions'; + var ELAPSED_TIME_MAX_DECIMAL_PLACES = 3; + var CLOSING_TIME_BUFFER = 1.5; + var ONE_SECOND = 1000; + + var lookupCache = {}; + var parentCounter = 0; + var animationReflowQueue = []; + var cancelAnimationReflow; + function afterReflow(element, callback) { + if(cancelAnimationReflow) { + cancelAnimationReflow(); + } + animationReflowQueue.push(callback); + cancelAnimationReflow = $$animateReflow(function() { + forEach(animationReflowQueue, function(fn) { + fn(); + }); + + animationReflowQueue = []; + cancelAnimationReflow = null; + lookupCache = {}; + }); + } + + var closingTimer = null; + var closingTimestamp = 0; + var animationElementQueue = []; + function animationCloseHandler(element, totalTime) { + var node = extractElementNode(element); + element = angular.element(node); + + //this item will be garbage collected by the closing + //animation timeout + animationElementQueue.push(element); + + //but it may not need to cancel out the existing timeout + //if the timestamp is less than the previous one + var futureTimestamp = Date.now() + (totalTime * 1000); + if(futureTimestamp <= closingTimestamp) { + return; + } + + $timeout.cancel(closingTimer); + + closingTimestamp = futureTimestamp; + closingTimer = $timeout(function() { + closeAllAnimations(animationElementQueue); + animationElementQueue = []; + }, totalTime, false); + } + + function closeAllAnimations(elements) { + forEach(elements, function(element) { + var elementData = element.data(NG_ANIMATE_CSS_DATA_KEY); + if(elementData) { + (elementData.closeAnimationFn || noop)(); + } + }); + } + + function getElementAnimationDetails(element, cacheKey) { + var data = cacheKey ? lookupCache[cacheKey] : null; + if(!data) { + var transitionDuration = 0; + var transitionDelay = 0; + var animationDuration = 0; + var animationDelay = 0; + var transitionDelayStyle; + var animationDelayStyle; + var transitionDurationStyle; + var transitionPropertyStyle; + + //we want all the styles defined before and after + forEach(element, function(element) { + if (element.nodeType == ELEMENT_NODE) { + var elementStyles = $window.getComputedStyle(element) || {}; + + transitionDurationStyle = elementStyles[TRANSITION_PROP + DURATION_KEY]; + + transitionDuration = Math.max(parseMaxTime(transitionDurationStyle), transitionDuration); + + transitionPropertyStyle = elementStyles[TRANSITION_PROP + PROPERTY_KEY]; + + transitionDelayStyle = elementStyles[TRANSITION_PROP + DELAY_KEY]; + + transitionDelay = Math.max(parseMaxTime(transitionDelayStyle), transitionDelay); + + animationDelayStyle = elementStyles[ANIMATION_PROP + DELAY_KEY]; + + animationDelay = Math.max(parseMaxTime(animationDelayStyle), animationDelay); + + var aDuration = parseMaxTime(elementStyles[ANIMATION_PROP + DURATION_KEY]); + + if(aDuration > 0) { + aDuration *= parseInt(elementStyles[ANIMATION_PROP + ANIMATION_ITERATION_COUNT_KEY], 10) || 1; + } + + animationDuration = Math.max(aDuration, animationDuration); + } + }); + data = { + total : 0, + transitionPropertyStyle: transitionPropertyStyle, + transitionDurationStyle: transitionDurationStyle, + transitionDelayStyle: transitionDelayStyle, + transitionDelay: transitionDelay, + transitionDuration: transitionDuration, + animationDelayStyle: animationDelayStyle, + animationDelay: animationDelay, + animationDuration: animationDuration + }; + if(cacheKey) { + lookupCache[cacheKey] = data; + } + } + return data; + } + + function parseMaxTime(str) { + var maxValue = 0; + var values = angular.isString(str) ? + str.split(/\s*,\s*/) : + []; + forEach(values, function(value) { + maxValue = Math.max(parseFloat(value) || 0, maxValue); + }); + return maxValue; + } + + function getCacheKey(element) { + var parentElement = element.parent(); + var parentID = parentElement.data(NG_ANIMATE_PARENT_KEY); + if(!parentID) { + parentElement.data(NG_ANIMATE_PARENT_KEY, ++parentCounter); + parentID = parentCounter; + } + return parentID + '-' + extractElementNode(element).className; + } + + function animateSetup(animationEvent, element, className, calculationDecorator) { + var cacheKey = getCacheKey(element); + var eventCacheKey = cacheKey + ' ' + className; + var itemIndex = lookupCache[eventCacheKey] ? ++lookupCache[eventCacheKey].total : 0; + + var stagger = {}; + if(itemIndex > 0) { + var staggerClassName = className + '-stagger'; + var staggerCacheKey = cacheKey + ' ' + staggerClassName; + var applyClasses = !lookupCache[staggerCacheKey]; + + applyClasses && element.addClass(staggerClassName); + + stagger = getElementAnimationDetails(element, staggerCacheKey); + + applyClasses && element.removeClass(staggerClassName); + } + + /* the animation itself may need to add/remove special CSS classes + * before calculating the anmation styles */ + calculationDecorator = calculationDecorator || + function(fn) { return fn(); }; + + element.addClass(className); + + var formerData = element.data(NG_ANIMATE_CSS_DATA_KEY) || {}; + + var timings = calculationDecorator(function() { + return getElementAnimationDetails(element, eventCacheKey); + }); + + var transitionDuration = timings.transitionDuration; + var animationDuration = timings.animationDuration; + if(transitionDuration === 0 && animationDuration === 0) { + element.removeClass(className); + return false; + } + + element.data(NG_ANIMATE_CSS_DATA_KEY, { + running : formerData.running || 0, + itemIndex : itemIndex, + stagger : stagger, + timings : timings, + closeAnimationFn : noop + }); + + //temporarily disable the transition so that the enter styles + //don't animate twice (this is here to avoid a bug in Chrome/FF). + var isCurrentlyAnimating = formerData.running > 0 || animationEvent == 'setClass'; + if(transitionDuration > 0) { + blockTransitions(element, className, isCurrentlyAnimating); + } + + //staggering keyframe animations work by adjusting the `animation-delay` CSS property + //on the given element, however, the delay value can only calculated after the reflow + //since by that time $animate knows how many elements are being animated. Therefore, + //until the reflow occurs the element needs to be blocked (where the keyframe animation + //is set to `none 0s`). This blocking mechanism should only be set for when a stagger + //animation is detected and when the element item index is greater than 0. + if(animationDuration > 0 && stagger.animationDelay > 0 && stagger.animationDuration === 0) { + blockKeyframeAnimations(element); + } + + return true; + } + + function isStructuralAnimation(className) { + return className == 'ng-enter' || className == 'ng-move' || className == 'ng-leave'; + } + + function blockTransitions(element, className, isAnimating) { + if(isStructuralAnimation(className) || !isAnimating) { + extractElementNode(element).style[TRANSITION_PROP + PROPERTY_KEY] = 'none'; + } else { + element.addClass(NG_ANIMATE_BLOCK_CLASS_NAME); + } + } + + function blockKeyframeAnimations(element) { + extractElementNode(element).style[ANIMATION_PROP] = 'none 0s'; + } + + function unblockTransitions(element, className) { + var prop = TRANSITION_PROP + PROPERTY_KEY; + var node = extractElementNode(element); + if(node.style[prop] && node.style[prop].length > 0) { + node.style[prop] = ''; + } + element.removeClass(NG_ANIMATE_BLOCK_CLASS_NAME); + } + + function unblockKeyframeAnimations(element) { + var prop = ANIMATION_PROP; + var node = extractElementNode(element); + if(node.style[prop] && node.style[prop].length > 0) { + node.style[prop] = ''; + } + } + + function animateRun(animationEvent, element, className, activeAnimationComplete) { + var node = extractElementNode(element); + var elementData = element.data(NG_ANIMATE_CSS_DATA_KEY); + if(node.className.indexOf(className) == -1 || !elementData) { + activeAnimationComplete(); + return; + } + + var activeClassName = ''; + forEach(className.split(' '), function(klass, i) { + activeClassName += (i > 0 ? ' ' : '') + klass + '-active'; + }); + + var stagger = elementData.stagger; + var timings = elementData.timings; + var itemIndex = elementData.itemIndex; + var maxDuration = Math.max(timings.transitionDuration, timings.animationDuration); + var maxDelay = Math.max(timings.transitionDelay, timings.animationDelay); + var maxDelayTime = maxDelay * ONE_SECOND; + + var startTime = Date.now(); + var css3AnimationEvents = ANIMATIONEND_EVENT + ' ' + TRANSITIONEND_EVENT; + + var style = '', appliedStyles = []; + if(timings.transitionDuration > 0) { + var propertyStyle = timings.transitionPropertyStyle; + if(propertyStyle.indexOf('all') == -1) { + style += CSS_PREFIX + 'transition-property: ' + propertyStyle + ';'; + style += CSS_PREFIX + 'transition-duration: ' + timings.transitionDurationStyle + ';'; + appliedStyles.push(CSS_PREFIX + 'transition-property'); + appliedStyles.push(CSS_PREFIX + 'transition-duration'); + } + } + + if(itemIndex > 0) { + if(stagger.transitionDelay > 0 && stagger.transitionDuration === 0) { + var delayStyle = timings.transitionDelayStyle; + style += CSS_PREFIX + 'transition-delay: ' + + prepareStaggerDelay(delayStyle, stagger.transitionDelay, itemIndex) + '; '; + appliedStyles.push(CSS_PREFIX + 'transition-delay'); + } + + if(stagger.animationDelay > 0 && stagger.animationDuration === 0) { + style += CSS_PREFIX + 'animation-delay: ' + + prepareStaggerDelay(timings.animationDelayStyle, stagger.animationDelay, itemIndex) + '; '; + appliedStyles.push(CSS_PREFIX + 'animation-delay'); + } + } + + if(appliedStyles.length > 0) { + //the element being animated may sometimes contain comment nodes in + //the jqLite object, so we're safe to use a single variable to house + //the styles since there is always only one element being animated + var oldStyle = node.getAttribute('style') || ''; + node.setAttribute('style', oldStyle + ' ' + style); + } + + element.on(css3AnimationEvents, onAnimationProgress); + element.addClass(activeClassName); + elementData.closeAnimationFn = function() { + onEnd(); + activeAnimationComplete(); + }; + + var staggerTime = itemIndex * (Math.max(stagger.animationDelay, stagger.transitionDelay) || 0); + var animationTime = (maxDelay + maxDuration) * CLOSING_TIME_BUFFER; + var totalTime = (staggerTime + animationTime) * ONE_SECOND; + + elementData.running++; + animationCloseHandler(element, totalTime); + return onEnd; + + // This will automatically be called by $animate so + // there is no need to attach this internally to the + // timeout done method. + function onEnd(cancelled) { + element.off(css3AnimationEvents, onAnimationProgress); + element.removeClass(activeClassName); + animateClose(element, className); + var node = extractElementNode(element); + for (var i in appliedStyles) { + node.style.removeProperty(appliedStyles[i]); + } + } + + function onAnimationProgress(event) { + event.stopPropagation(); + var ev = event.originalEvent || event; + var timeStamp = ev.$manualTimeStamp || ev.timeStamp || Date.now(); + + /* Firefox (or possibly just Gecko) likes to not round values up + * when a ms measurement is used for the animation */ + var elapsedTime = parseFloat(ev.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES)); + + /* $manualTimeStamp is a mocked timeStamp value which is set + * within browserTrigger(). This is only here so that tests can + * mock animations properly. Real events fallback to event.timeStamp, + * or, if they don't, then a timeStamp is automatically created for them. + * We're checking to see if the timeStamp surpasses the expected delay, + * but we're using elapsedTime instead of the timeStamp on the 2nd + * pre-condition since animations sometimes close off early */ + if(Math.max(timeStamp - startTime, 0) >= maxDelayTime && elapsedTime >= maxDuration) { + activeAnimationComplete(); + } + } + } + + function prepareStaggerDelay(delayStyle, staggerDelay, index) { + var style = ''; + forEach(delayStyle.split(','), function(val, i) { + style += (i > 0 ? ',' : '') + + (index * staggerDelay + parseInt(val, 10)) + 's'; + }); + return style; + } + + function animateBefore(animationEvent, element, className, calculationDecorator) { + if(animateSetup(animationEvent, element, className, calculationDecorator)) { + return function(cancelled) { + cancelled && animateClose(element, className); + }; + } + } + + function animateAfter(animationEvent, element, className, afterAnimationComplete) { + if(element.data(NG_ANIMATE_CSS_DATA_KEY)) { + return animateRun(animationEvent, element, className, afterAnimationComplete); + } else { + animateClose(element, className); + afterAnimationComplete(); + } + } + + function animate(animationEvent, element, className, animationComplete) { + //If the animateSetup function doesn't bother returning a + //cancellation function then it means that there is no animation + //to perform at all + var preReflowCancellation = animateBefore(animationEvent, element, className); + if(!preReflowCancellation) { + animationComplete(); + return; + } + + //There are two cancellation functions: one is before the first + //reflow animation and the second is during the active state + //animation. The first function will take care of removing the + //data from the element which will not make the 2nd animation + //happen in the first place + var cancel = preReflowCancellation; + afterReflow(element, function() { + unblockTransitions(element, className); + unblockKeyframeAnimations(element); + //once the reflow is complete then we point cancel to + //the new cancellation function which will remove all of the + //animation properties from the active animation + cancel = animateAfter(animationEvent, element, className, animationComplete); + }); + + return function(cancelled) { + (cancel || noop)(cancelled); + }; + } + + function animateClose(element, className) { + element.removeClass(className); + var data = element.data(NG_ANIMATE_CSS_DATA_KEY); + if(data) { + if(data.running) { + data.running--; + } + if(!data.running || data.running === 0) { + element.removeData(NG_ANIMATE_CSS_DATA_KEY); + } + } + } + + return { + enter : function(element, animationCompleted) { + return animate('enter', element, 'ng-enter', animationCompleted); + }, + + leave : function(element, animationCompleted) { + return animate('leave', element, 'ng-leave', animationCompleted); + }, + + move : function(element, animationCompleted) { + return animate('move', element, 'ng-move', animationCompleted); + }, + + beforeSetClass : function(element, add, remove, animationCompleted) { + var className = suffixClasses(remove, '-remove') + ' ' + + suffixClasses(add, '-add'); + var cancellationMethod = animateBefore('setClass', element, className, function(fn) { + /* when classes are removed from an element then the transition style + * that is applied is the transition defined on the element without the + * CSS class being there. This is how CSS3 functions outside of ngAnimate. + * http://plnkr.co/edit/j8OzgTNxHTb4n3zLyjGW?p=preview */ + var klass = element.attr('class'); + element.removeClass(remove); + element.addClass(add); + var timings = fn(); + element.attr('class', klass); + return timings; + }); + + if(cancellationMethod) { + afterReflow(element, function() { + unblockTransitions(element, className); + unblockKeyframeAnimations(element); + animationCompleted(); + }); + return cancellationMethod; + } + animationCompleted(); + }, + + beforeAddClass : function(element, className, animationCompleted) { + var cancellationMethod = animateBefore('addClass', element, suffixClasses(className, '-add'), function(fn) { + + /* when a CSS class is added to an element then the transition style that + * is applied is the transition defined on the element when the CSS class + * is added at the time of the animation. This is how CSS3 functions + * outside of ngAnimate. */ + element.addClass(className); + var timings = fn(); + element.removeClass(className); + return timings; + }); + + if(cancellationMethod) { + afterReflow(element, function() { + unblockTransitions(element, className); + unblockKeyframeAnimations(element); + animationCompleted(); + }); + return cancellationMethod; + } + animationCompleted(); + }, + + setClass : function(element, add, remove, animationCompleted) { + remove = suffixClasses(remove, '-remove'); + add = suffixClasses(add, '-add'); + var className = remove + ' ' + add; + return animateAfter('setClass', element, className, animationCompleted); + }, + + addClass : function(element, className, animationCompleted) { + return animateAfter('addClass', element, suffixClasses(className, '-add'), animationCompleted); + }, + + beforeRemoveClass : function(element, className, animationCompleted) { + var cancellationMethod = animateBefore('removeClass', element, suffixClasses(className, '-remove'), function(fn) { + /* when classes are removed from an element then the transition style + * that is applied is the transition defined on the element without the + * CSS class being there. This is how CSS3 functions outside of ngAnimate. + * http://plnkr.co/edit/j8OzgTNxHTb4n3zLyjGW?p=preview */ + var klass = element.attr('class'); + element.removeClass(className); + var timings = fn(); + element.attr('class', klass); + return timings; + }); + + if(cancellationMethod) { + afterReflow(element, function() { + unblockTransitions(element, className); + unblockKeyframeAnimations(element); + animationCompleted(); + }); + return cancellationMethod; + } + animationCompleted(); + }, + + removeClass : function(element, className, animationCompleted) { + return animateAfter('removeClass', element, suffixClasses(className, '-remove'), animationCompleted); + } + }; + + function suffixClasses(classes, suffix) { + var className = ''; + classes = angular.isArray(classes) ? classes : classes.split(/\s+/); + forEach(classes, function(klass, i) { + if(klass && klass.length > 0) { + className += (i > 0 ? ' ' : '') + klass + suffix; + } + }); + return className; + } + }]); + }]); + + +})(window, window.angular); diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.min.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.min.js new file mode 100644 index 0000000..23397d8 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-animate.min.js @@ -0,0 +1,27 @@ +/* + AngularJS v1.3.0-beta.3 + (c) 2010-2014 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(F,g,P){'use strict';g.module("ngAnimate",["ng"]).factory("$$animateReflow",["$$rAF","$document",function(g,F){return function(e){return g(function(){e()})}}]).config(["$provide","$animateProvider",function(V,G){function e(e){for(var p=0;p=x&&b>=v&&f()}var l=e(b);a=b.data(n);if(-1!=l.className.indexOf(c)&&a){var r="";p(c.split(" "),function(a,b){r+=(0 + * + * See {@link ngCookies.$cookies `$cookies`} and + * {@link ngCookies.$cookieStore `$cookieStore`} for usage. + */ + + +angular.module('ngCookies', ['ng']). + /** + * @ngdoc service + * @name $cookies + * + * @description + * Provides read/write access to browser's cookies. + * + * Only a simple Object is exposed and by adding or removing properties to/from this object, new + * cookies are created/deleted at the end of current $eval. + * The object's properties can only be strings. + * + * Requires the {@link ngCookies `ngCookies`} module to be installed. + * + * @example + + + + + + */ + factory('$cookies', ['$rootScope', '$browser', function ($rootScope, $browser) { + var cookies = {}, + lastCookies = {}, + lastBrowserCookies, + runEval = false, + copy = angular.copy, + isUndefined = angular.isUndefined; + + //creates a poller fn that copies all cookies from the $browser to service & inits the service + $browser.addPollFn(function() { + var currentCookies = $browser.cookies(); + if (lastBrowserCookies != currentCookies) { //relies on browser.cookies() impl + lastBrowserCookies = currentCookies; + copy(currentCookies, lastCookies); + copy(currentCookies, cookies); + if (runEval) $rootScope.$apply(); + } + })(); + + runEval = true; + + //at the end of each eval, push cookies + //TODO: this should happen before the "delayed" watches fire, because if some cookies are not + // strings or browser refuses to store some cookies, we update the model in the push fn. + $rootScope.$watch(push); + + return cookies; + + + /** + * Pushes all the cookies from the service to the browser and verifies if all cookies were + * stored. + */ + function push() { + var name, + value, + browserCookies, + updated; + + //delete any cookies deleted in $cookies + for (name in lastCookies) { + if (isUndefined(cookies[name])) { + $browser.cookies(name, undefined); + } + } + + //update all cookies updated in $cookies + for(name in cookies) { + value = cookies[name]; + if (!angular.isString(value)) { + value = '' + value; + cookies[name] = value; + } + if (value !== lastCookies[name]) { + $browser.cookies(name, value); + updated = true; + } + } + + //verify what was actually stored + if (updated){ + updated = false; + browserCookies = $browser.cookies(); + + for (name in cookies) { + if (cookies[name] !== browserCookies[name]) { + //delete or reset all cookies that the browser dropped from $cookies + if (isUndefined(browserCookies[name])) { + delete cookies[name]; + } else { + cookies[name] = browserCookies[name]; + } + updated = true; + } + } + } + } + }]). + + + /** + * @ngdoc service + * @name $cookieStore + * @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. + * + * @example + */ + 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. + */ + get: function(key) { + var value = $cookies[key]; + return value ? angular.fromJson(value) : value; + }, + + /** + * @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[key] = angular.toJson(value); + }, + + /** + * @ngdoc method + * @name $cookieStore#remove + * + * @description + * Remove given cookie + * + * @param {string} key Id of the key-value pair to delete. + */ + remove: function(key) { + delete $cookies[key]; + } + }; + + }]); + + +})(window, window.angular); diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.min.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.min.js new file mode 100644 index 0000000..e8f6181 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.min.js @@ -0,0 +1,8 @@ +/* + AngularJS v1.3.0-beta.3 + (c) 2010-2014 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(p,f,n){'use strict';f.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(e,b){var c={},g={},h,k=!1,l=f.copy,m=f.isUndefined;b.addPollFn(function(){var a=b.cookies();h!=a&&(h=a,l(a,g),l(a,c),k&&e.$apply())})();k=!0;e.$watch(function(){var a,d,e;for(a in g)m(c[a])&&b.cookies(a,n);for(a in c)d=c[a],f.isString(d)||(d=""+d,c[a]=d),d!==g[a]&&(b.cookies(a,d),e=!0);if(e)for(a in d=b.cookies(),c)c[a]!==d[a]&&(m(d[a])?delete c[a]:c[a]=d[a])});return c}]).factory("$cookieStore", +["$cookies",function(e){return{get:function(b){return(b=e[b])?f.fromJson(b):b},put:function(b,c){e[b]=f.toJson(c)},remove:function(b){delete e[b]}}}])})(window,window.angular); +//# sourceMappingURL=angular-cookies.min.js.map diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.min.js.map b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.min.js.map new file mode 100644 index 0000000..1d3c5d3 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-cookies.min.js.map @@ -0,0 +1,8 @@ +{ +"version":3, +"file":"angular-cookies.min.js", +"lineCount":7, +"mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkBC,CAAlB,CAA6B,CAmBtCD,CAAAE,OAAA,CAAe,WAAf,CAA4B,CAAC,IAAD,CAA5B,CAAAC,QAAA,CA4BW,UA5BX,CA4BuB,CAAC,YAAD,CAAe,UAAf,CAA2B,QAAS,CAACC,CAAD,CAAaC,CAAb,CAAuB,CAAA,IACxEC,EAAU,EAD8D,CAExEC,EAAc,EAF0D,CAGxEC,CAHwE,CAIxEC,EAAU,CAAA,CAJ8D,CAKxEC,EAAOV,CAAAU,KALiE,CAMxEC,EAAcX,CAAAW,YAGlBN,EAAAO,UAAA,CAAmB,QAAQ,EAAG,CAC5B,IAAIC,EAAiBR,CAAAC,QAAA,EACjBE,EAAJ,EAA0BK,CAA1B,GACEL,CAGA,CAHqBK,CAGrB,CAFAH,CAAA,CAAKG,CAAL,CAAqBN,CAArB,CAEA,CADAG,CAAA,CAAKG,CAAL,CAAqBP,CAArB,CACA,CAAIG,CAAJ,EAAaL,CAAAU,OAAA,EAJf,CAF4B,CAA9B,CAAA,EAUAL,EAAA,CAAU,CAAA,CAKVL,EAAAW,OAAA,CASAC,QAAa,EAAG,CAAA,IACVC,CADU,CAEVC,CAFU,CAIVC,CAGJ,KAAKF,CAAL,GAAaV,EAAb,CACMI,CAAA,CAAYL,CAAA,CAAQW,CAAR,CAAZ,CAAJ,EACEZ,CAAAC,QAAA,CAAiBW,CAAjB,CAAuBhB,CAAvB,CAKJ,KAAIgB,CAAJ,GAAYX,EAAZ,CACEY,CAKA,CALQZ,CAAA,CAAQW,CAAR,CAKR,CAJKjB,CAAAoB,SAAA,CAAiBF,CAAjB,CAIL,GAHEA,CACA,CADQ,EACR,CADaA,CACb,CAAAZ,CAAA,CAAQW,CAAR,CAAA,CAAgBC,CAElB,EAAIA,CAAJ,GAAcX,CAAA,CAAYU,CAAZ,CAAd,GACEZ,CAAAC,QAAA,CAAiBW,CAAjB,CAAuBC,CAAvB,CACA,CAAAC,CAAA,CAAU,CAAA,CAFZ,CAOF,IAAIA,CAAJ,CAIE,IAAKF,CAAL,GAFAI,EAEaf,CAFID,CAAAC,QAAA,EAEJA,CAAAA,CAAb,CACMA,CAAA,CAAQW,CAAR,CAAJ,GAAsBI,CAAA,CAAeJ,CAAf,CAAtB,GAEMN,CAAA,CAAYU,CAAA,CAAeJ,CAAf,CAAZ,CAAJ,CACE,OAAOX,CAAA,CAAQW,CAAR,CADT,CAGEX,CAAA,CAAQW,CAAR,CAHF,CAGkBI,CAAA,CAAeJ,CAAf,CALpB,CAhCU,CAThB,CAEA,OAAOX,EA1BqE,CAA3D,CA5BvB,CAAAH,QAAA,CA0HW,cA1HX;AA0H2B,CAAC,UAAD,CAAa,QAAQ,CAACmB,CAAD,CAAW,CAErD,MAAO,KAWAC,QAAQ,CAACC,CAAD,CAAM,CAEjB,MAAO,CADHN,CACG,CADKI,CAAA,CAASE,CAAT,CACL,EAAQxB,CAAAyB,SAAA,CAAiBP,CAAjB,CAAR,CAAkCA,CAFxB,CAXd,KA0BAQ,QAAQ,CAACF,CAAD,CAAMN,CAAN,CAAa,CACxBI,CAAA,CAASE,CAAT,CAAA,CAAgBxB,CAAA2B,OAAA,CAAeT,CAAf,CADQ,CA1BrB,QAuCGU,QAAQ,CAACJ,CAAD,CAAM,CACpB,OAAOF,CAAA,CAASE,CAAT,CADa,CAvCjB,CAF8C,CAAhC,CA1H3B,CAnBsC,CAArC,CAAA,CA8LEzB,MA9LF,CA8LUA,MAAAC,QA9LV;", +"sources":["angular-cookies.js"], +"names":["window","angular","undefined","module","factory","$rootScope","$browser","cookies","lastCookies","lastBrowserCookies","runEval","copy","isUndefined","addPollFn","currentCookies","$apply","$watch","push","name","value","updated","isString","browserCookies","$cookies","get","key","fromJson","put","toJson","remove"] +} diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-csp.css b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-csp.css new file mode 100644 index 0000000..0d3d3a9 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-csp.css @@ -0,0 +1,18 @@ +/* Include this file in your html if you are using the CSP mode. */ + +@charset "UTF-8"; + +[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], +.ng-cloak, .x-ng-cloak, +.ng-hide { + display: none !important; +} + +ng\:form { + display: block; +} + +.ng-animate-block-transitions { + transition:0s all!important; + -webkit-transition:0s all!important; +} diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.js new file mode 100644 index 0000000..90a7174 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.js @@ -0,0 +1,412 @@ +/** + * @license AngularJS v1.3.0-beta.3 + * (c) 2010-2014 Google, Inc. http://angularjs.org + * License: MIT + */ + +(function() {'use strict'; + +/** + * @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. + * @returns {function(code:string, template:string, ...templateArgs): Error} minErr instance + */ + +function minErr(module) { + return function () { + var code = arguments[0], + prefix = '[' + (module ? module + ':' : '') + code + '] ', + template = arguments[1], + templateArgs = arguments, + stringify = function (obj) { + if (typeof obj === 'function') { + return obj.toString().replace(/ \{[\s\S]*$/, ''); + } else if (typeof obj === 'undefined') { + return 'undefined'; + } else if (typeof obj !== 'string') { + return JSON.stringify(obj); + } + return obj; + }, + message, i; + + message = prefix + template.replace(/\{\d+\}/g, function (match) { + var index = +match.slice(1, -1), arg; + + if (index + 2 < templateArgs.length) { + arg = templateArgs[index + 2]; + if (typeof arg === 'function') { + return arg.toString().replace(/ ?\{[\s\S]*$/, ''); + } else if (typeof arg === 'undefined') { + return 'undefined'; + } else if (typeof arg !== 'string') { + return toJson(arg); + } + return arg; + } + return match; + }); + + message = message + '\nhttp://errors.angularjs.org/1.3.0-beta.3/' + + (module ? module + '/' : '') + code; + for (i = 2; i < arguments.length; i++) { + message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' + + encodeURIComponent(stringify(arguments[i])); + } + + return new Error(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. + * + * When passed two or more arguments, a new module is created. If passed only one argument, an + * existing module (the name passed as the first argument to `module`) is retrieved. + * + * + * # Module + * + * A module is a collection of services, directives, 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 runBlocks = []; + + var config = invokeLater('$injector', 'invoke'); + + /** @type {angular.Module} */ + var moduleInstance = { + // Private state + _invokeQueue: invokeQueue, + _runBlocks: runBlocks, + + /** + * @ngdoc property + * @name angular.Module#requires + * @module ng + * @returns {Array.} List of module names which must be loaded before this module. + * @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 + * @returns {string} Name of the module. + * @description + */ + 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: invokeLater('$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: invokeLater('$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: invokeLater('$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#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 ngAnimate.$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 ngAnimate.$animateProvider#register $animateProvider.register()} and + * {@link ngAnimate ngAnimate module} for more information. + */ + animation: invokeLater('$animateProvider', 'register'), + + /** + * @ngdoc method + * @name angular.Module#filter + * @module ng + * @param {string} name Filter name. + * @param {Function} filterFactory Factory function for creating new instance of filter. + * @description + * See {@link ng.$filterProvider#register $filterProvider.register()}. + */ + filter: invokeLater('$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: invokeLater('$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: invokeLater('$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. + */ + 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) { + return function() { + invokeQueue[insertMethod || '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/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.min.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.min.js new file mode 100644 index 0000000..e65fb6e --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-loader.min.js @@ -0,0 +1,9 @@ +/* + AngularJS v1.3.0-beta.3 + (c) 2010-2014 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(){'use strict';function d(a){return function(){var c=arguments[0],b,c="["+(a?a+":":"")+c+"] http://errors.angularjs.org/1.3.0-beta.3/"+(a?a+"/":"")+c;for(b=1;b 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) $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 = int(match[9] + match[10]); + tzMin = int(match[9] + match[11]); + } + date.setUTCFullYear(int(match[1]), int(match[2]) - 1, int(match[3])); + date.setUTCHours(int(match[4]||0) - tzHour, + int(match[5]||0) - tzMin, + int(match[6]||0), + int(match[7]||0)); + return date; + } + return string; +} + +function int(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) { + + var reflowQueue = []; + $provide.value('$$animateReflow', function(fn) { + var index = reflowQueue.length; + reflowQueue.push(fn); + return function cancel() { + reflowQueue.splice(index, 1); + }; + }); + + $provide.decorator('$animate', function($delegate, $$asyncCallback) { + var animate = { + queue : [], + enabled : $delegate.enabled, + triggerCallbacks : function() { + $$asyncCallback.flush(); + }, + triggerReflow : function() { + angular.forEach(reflowQueue, function(fn) { + fn(); + }); + reflowQueue = []; + } + }; + + angular.forEach( + ['enter','leave','move','addClass','removeClass','setClass'], function(method) { + animate[method] = function() { + animate.queue.push({ + event : method, + element : arguments[0], + args : arguments + }); + $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 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 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; + + beforeEach(inject(function($injector) { + // Set up the mock http service responses + $httpBackend = $injector.get('$httpBackend'); + // backend definition common for all tests + $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 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 send, 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', 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, $delegate, $browser) { + var definitions = [], + expectations = [], + responses = [], + responsesPush = angular.bind(responses, responses.push), + copy = angular.copy; + + function createResponse(status, data, headers) { + if (angular.isFunction(status)) return status; + + return function() { + return angular.isNumber(status) + ? [status, data, headers] + : [200, status, data]; + }; + } + + // 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); + + 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()); + } + + 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 the url + * and returns true if the url match 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. + * + * - respond – + * `{function([status,] data[, headers])|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) and response headers + * (Object). + */ + $httpBackend.when = function(method, url, data, headers) { + var definition = new MockHttpExpectation(method, url, data, headers), + chain = { + respond: function(status, data, headers) { + definition.response = createResponse(status, data, headers); + } + }; + + if ($browser) { + chain.passThrough = function() { + definition.passThrough = true; + }; + } + + 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 the url + * and returns true if the url match the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that control 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 the url + * and returns true if the url match the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that control 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 the url + * and returns true if the url match the current definition. + * @param {(Object|function(Object))=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that control 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 the url + * and returns true if the url match 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 control 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 the url + * and returns true if the url match 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 control 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 the url + * and returns true if the url match the current definition. + * @returns {requestHandler} Returns an object with `respond` method that control 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 the url + * and returns true if the url match 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 control how a matched + * request is handled. + * + * - respond – + * `{function([status,] data[, headers])|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) and response headers + * (Object). + */ + $httpBackend.expect = function(method, url, data, headers) { + var expectation = new MockHttpExpectation(method, url, data, headers); + expectations.push(expectation); + return { + respond: function(status, data, headers) { + expectation.response = createResponse(status, data, headers); + } + }; + }; + + + /** + * @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 the url + * and returns true if the url match the current definition. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that control 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 the url + * and returns true if the url match the current definition. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that control 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 the url + * and returns true if the url match the current definition. + * @param {Object=} headers HTTP headers. + * @returns {requestHandler} Returns an object with `respond` method that control 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 the url + * and returns true if the url match 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 control 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 the url + * and returns true if the url match 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 control 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 the url + * and returns true if the url match 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 control 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 the url + * and returns true if the url match the current definition. + * @returns {requestHandler} Returns an object with `respond` method that control 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) { + $rootScope.$digest(); + if (!responses.length) throw new Error('No pending request to flush !'); + + if (angular.isDefined(count)) { + while (count--) { + if (!responses.length) throw new Error('No more pending request to flush !'); + responses.shift()(); + } + } else { + while (responses.length) { + responses.shift()(); + } + } + $httpBackend.verifyNoOutstandingExpectation(); + }; + + + /** + * @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() { + $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'], 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(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 = 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 = 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'); + }; +}; + +/** + * @ngdoc module + * @name ngMock + * @description + * + * # ngMock + * + * The `ngMock` module providers 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('$$asyncCallback', angular.mock.$AsyncCallbackDecorator); +}]); + +/** + * @ngdoc module + * @name ngMockE2E + * @module ngMockE2E + * @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 automatically 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) { + * phones.push(angular.fromJson(data)); + * }); + * $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 the url + * and returns true if the url match 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. + * + * - respond – + * `{function([status,] data[, headers])|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) and response headers + * (Object). + * - 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.) + */ + +/** + * @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 the url + * and returns true if the url match 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. + */ + +/** + * @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 the url + * and returns true if the url match 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. + */ + +/** + * @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 the url + * and returns true if the url match 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. + */ + +/** + * @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 the url + * and returns true if the url match 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. + */ + +/** + * @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 the url + * and returns true if the url match 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. + */ + +/** + * @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 the url + * and returns true if the url match 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. + */ + +/** + * @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 the url + * and returns true if the url match the current definition. + * @returns {requestHandler} Returns an object with `respond` and `passThrough` methods that + * control how a matched request is handled. + */ +angular.mock.e2e = {}; +angular.mock.e2e.$httpBackendDecorator = + ['$rootScope', '$delegate', '$browser', createHttpBackendMock]; + + +angular.mock.clearDataCache = function() { + var key, + cache = angular.element.cache; + + for(key in cache) { + if (Object.prototype.hasOwnProperty.call(cache,key)) { + var handle = cache[key].handle; + + handle && angular.element(handle.elem).off(); + delete cache[key]; + } + } +}; + + +if(window.jasmine || window.mocha) { + + var currentSpec = null, + isSpecRunning = function() { + return !!currentSpec; + }; + + + beforeEach(function() { + currentSpec = this; + }); + + afterEach(function() { + var injector = currentSpec.$injector; + + currentSpec.$injector = null; + currentSpec.$modules = null; + currentSpec = null; + + if (injector) { + injector.get('$rootElement').off(); + injector.get('$browser').pollFns.length = 0; + } + + angular.mock.clearDataCache(); + + // 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.
+ * + * 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 register 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.
+ * + * 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 || []; + + modules.unshift('ngMock'); + modules.unshift('ng'); + var injector = currentSpec.$injector; + if (!injector) { + injector = currentSpec.$injector = angular.injector(modules); + } + for(var i = 0, ii = blockFns.length; i < ii; 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; + } + } + } + }; +} + + +})(window, window.angular); diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.js new file mode 100644 index 0000000..643707d --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.js @@ -0,0 +1,607 @@ +/** + * @license AngularJS v1.3.0-beta.3 + * (c) 2010-2014 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. + * + * @param {string} url A parametrized 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 of that parameter is extracted from + * the data object (useful for non-GET operations). + * + * @param {Object.=} actions Hash with declaration of custom action that should extend + * the default set of resource actions. The declaration should be created in the format of {@link + * ng.$http#usage_parameters $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} – HTTP request method. Valid methods are: `GET`, `POST`, `PUT`, + * `DELETE`, and `JSONP`. + * - **`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. + * - **`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. + * - **`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}. + * + * @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. 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. + * + * - `$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']). + factory('$resource', ['$http', '$q', function($http, $q) { + + var DEFAULT_ACTIONS = { + 'get': {method:'GET'}, + 'save': {method:'POST'}, + 'query': {method:'GET', isArray:true}, + 'remove': {method:'DELETE'}, + 'delete': {method:'DELETE'} + }; + 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 = 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 + 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) { + var route = new Route(url); + + actions = extend({}, DEFAULT_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); + } + + 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. Expected ' + + 'response to contain an {0} but got an {1}', + action.isArray?'array':'object', angular.isArray(data)?'array':'object'); + } + // jshint +W018 + if (action.isArray) { + value.length = 0; + forEach(data, function(item) { + value.push(new Resource(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/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.min.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.min.js new file mode 100644 index 0000000..ac7bcea --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-resource.min.js @@ -0,0 +1,13 @@ +/* + AngularJS v1.3.0-beta.3 + (c) 2010-2014 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(H,a,A){'use strict';function D(p,g){g=g||{};a.forEach(g,function(a,c){delete g[c]});for(var c in p)!p.hasOwnProperty(c)||"$"===c.charAt(0)&&"$"===c.charAt(1)||(g[c]=p[c]);return g}var v=a.$$minErr("$resource"),C=/^(\.[a-zA-Z_$][0-9a-zA-Z_$]*)+$/;a.module("ngResource",["ng"]).factory("$resource",["$http","$q",function(p,g){function c(a,c){this.template=a;this.defaults=c||{};this.urlParams={}}function t(n,w,l){function r(h,d){var e={};d=x({},w,d);s(d,function(b,d){u(b)&&(b=b());var k;if(b&& +b.charAt&&"@"==b.charAt(0)){k=h;var a=b.substr(1);if(null==a||""===a||"hasOwnProperty"===a||!C.test("."+a))throw v("badmember",a);for(var a=a.split("."),f=0,c=a.length;f + */ + /* global -ngRouteModule */ +var ngRouteModule = angular.module('ngRoute', ['ng']). + provider('$route', $RouteProvider); + +/** + * @ngdoc provider + * @name $routeProvider + * @function + * + * @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(new (angular.extend(function() {}, {prototype: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=}` – A controller alias name. 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) { + routes[path] = angular.extend( + {reloadOnSearch: true}, + route, + path && pathRegExp(path, route) + ); + + // 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, route) + ); + } + + return this; + }; + + /** + * @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} params Mapping information to be assigned to `$route.current`. + * @returns {Object} self + */ + this.otherwise = function(params) { + this.when(null, params); + return this; + }; + + + this.$get = ['$rootScope', + '$location', + '$routeParams', + '$q', + '$injector', + '$http', + '$templateCache', + '$sce', + function($rootScope, $location, $routeParams, $q, $injector, $http, $templateCache, $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. + * + * Note that this example is using {@link ng.directive:script inlined templates} + * to get it working on jsfiddle as well. + * + * + * + *
+ * 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. + * + * @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 dependencies are resolved. + * {@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. + */ + + var forceReload = false, + $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, reinstantiates the controller. + */ + reload: function() { + forceReload = true; + $rootScope.$evalAsync(updateRoute); + } + }; + + $rootScope.$on('$locationChangeSuccess', updateRoute); + + 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 = 'string' == typeof m[i] + ? decodeURIComponent(m[i]) + : m[i]; + + if (key && val) { + params[key.name] = val; + } + } + return params; + } + + function updateRoute() { + var next = parseRoute(), + last = $route.current; + + if (next && last && next.$$route === last.$$route + && angular.equals(next.pathParams, last.pathParams) + && !next.reloadOnSearch && !forceReload) { + last.params = next.params; + angular.copy(last.params, $routeParams); + $rootScope.$broadcast('$routeUpdate', last); + } else if (next || last) { + forceReload = false; + $rootScope.$broadcast('$routeChangeStart', next, last); + $route.current = next; + if (next) { + if (next.redirectTo) { + if (angular.isString(next.redirectTo)) { + $location.path(interpolate(next.redirectTo, next.params)).search(next.params) + .replace(); + } else { + $location.url(next.redirectTo(next.pathParams, $location.path(), $location.search())) + .replace(); + } + } + } + + $q.when(next). + then(function() { + if (next) { + var locals = angular.extend({}, next.resolve), + template, templateUrl; + + angular.forEach(locals, function(value, key) { + locals[key] = angular.isString(value) ? + $injector.get(value) : $injector.invoke(value); + }); + + if (angular.isDefined(template = next.template)) { + if (angular.isFunction(template)) { + template = template(next.params); + } + } else if (angular.isDefined(templateUrl = next.templateUrl)) { + if (angular.isFunction(templateUrl)) { + templateUrl = templateUrl(next.params); + } + templateUrl = $sce.getTrustedResourceUrl(templateUrl); + if (angular.isDefined(templateUrl)) { + next.loadedTemplateUrl = templateUrl; + template = $http.get(templateUrl, {cache: $templateCache}). + then(function(response) { return response.data; }); + } + } + if (angular.isDefined(template)) { + locals['$template'] = template; + } + return $q.all(locals); + } + }). + // after route change + then(function(locals) { + if (next == $route.current) { + if (next) { + next.locals = locals; + angular.copy(next.params, $routeParams); + } + $rootScope.$broadcast('$routeChangeSuccess', next, last); + } + }, function(error) { + if (next == $route.current) { + $rootScope.$broadcast('$routeChangeError', next, last, 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}}
+
$route.current.scope.name = {{main.$route.current.scope.name}}
+
$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; + position:relative; + 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' + }); + + // configure html5 to get links working on jsfiddle + $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, + previousElement, + autoScrollExp = attr.autoscroll, + onloadExp = attr.onload || ''; + + scope.$on('$routeChangeSuccess', update); + update(); + + function cleanupLastView() { + if(previousElement) { + previousElement.remove(); + previousElement = null; + } + if(currentScope) { + currentScope.$destroy(); + currentScope = null; + } + if(currentElement) { + $animate.leave(currentElement, function() { + previousElement = null; + }); + previousElement = currentElement; + 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, 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/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-route.min.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-route.min.js new file mode 100644 index 0000000..bc9f429 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-route.min.js @@ -0,0 +1,14 @@ +/* + AngularJS v1.3.0-beta.3 + (c) 2010-2014 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(n,e,A){'use strict';function x(s,g,k){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,c,b,f,w){function y(){p&&(p.remove(),p=null);h&&(h.$destroy(),h=null);l&&(k.leave(l,function(){p=null}),p=l,l=null)}function v(){var b=s.current&&s.current.locals;if(e.isDefined(b&&b.$template)){var b=a.$new(),d=s.current;l=w(b,function(d){k.enter(d,null,l||c,function(){!e.isDefined(t)||t&&!a.$eval(t)||g()});y()});h=d.scope=b;h.$emit("$viewContentLoaded");h.$eval(u)}else y()} +var h,l,p,t=b.autoscroll,u=b.onload||"";a.$on("$routeChangeSuccess",v);v()}}}function z(e,g,k){return{restrict:"ECA",priority:-400,link:function(a,c){var b=k.current,f=b.locals;c.html(f.$template);var w=e(c.contents());b.controller&&(f.$scope=a,f=g(b.controller,f),b.controllerAs&&(a[b.controllerAs]=f),c.data("$ngControllerController",f),c.children().data("$ngControllerController",f));w(a)}}}n=e.module("ngRoute",["ng"]).provider("$route",function(){function s(a,c){return e.extend(new (e.extend(function(){}, +{prototype:a})),c)}function g(a,e){var b=e.caseInsensitiveMatch,f={originalPath:a,regexp:a},k=f.keys=[];a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,e,b,c){a="?"===c?c:null;c="*"===c?c:null;k.push({name:b,optional:!!a});e=e||"";return""+(a?"":e)+"(?:"+(a?e:"")+(c&&"(.+?)"||"([^/]+)")+(a||"")+")"+(a||"")}).replace(/([\/$\*])/g,"\\$1");f.regexp=RegExp("^"+a+"$",b?"i":"");return f}var k={};this.when=function(a,c){k[a]=e.extend({reloadOnSearch:!0},c,a&&g(a,c));if(a){var b= +"/"==a[a.length-1]?a.substr(0,a.length-1):a+"/";k[b]=e.extend({redirectTo:a},g(b,c))}return this};this.otherwise=function(a){this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache","$sce",function(a,c,b,f,g,n,v,h){function l(){var d=p(),m=r.current;if(d&&m&&d.$$route===m.$$route&&e.equals(d.pathParams,m.pathParams)&&!d.reloadOnSearch&&!u)m.params=d.params,e.copy(m.params,b),a.$broadcast("$routeUpdate",m);else if(d||m)u=!1,a.$broadcast("$routeChangeStart", +d,m),(r.current=d)&&d.redirectTo&&(e.isString(d.redirectTo)?c.path(t(d.redirectTo,d.params)).search(d.params).replace():c.url(d.redirectTo(d.pathParams,c.path(),c.search())).replace()),f.when(d).then(function(){if(d){var a=e.extend({},d.resolve),c,b;e.forEach(a,function(d,c){a[c]=e.isString(d)?g.get(d):g.invoke(d)});e.isDefined(c=d.template)?e.isFunction(c)&&(c=c(d.params)):e.isDefined(b=d.templateUrl)&&(e.isFunction(b)&&(b=b(d.params)),b=h.getTrustedResourceUrl(b),e.isDefined(b)&&(d.loadedTemplateUrl= +b,c=n.get(b,{cache:v}).then(function(a){return a.data})));e.isDefined(c)&&(a.$template=c);return f.all(a)}}).then(function(c){d==r.current&&(d&&(d.locals=c,e.copy(d.params,b)),a.$broadcast("$routeChangeSuccess",d,m))},function(c){d==r.current&&a.$broadcast("$routeChangeError",d,m,c)})}function p(){var a,b;e.forEach(k,function(f,k){var q;if(q=!b){var g=c.path();q=f.keys;var l={};if(f.regexp)if(g=f.regexp.exec(g)){for(var h=1,p=g.length;h + * + * 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 + * @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 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 = + /^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/, + END_TAG_REGEXP = /^<\s*\/\s*([\w:-]+)[^>]*>/, + ATTR_REGEXP = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g, + BEGIN_TAG_REGEXP = /^/g, + DOCTYPE_REGEXP = /]*?)>/i, + CDATA_REGEXP = //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")); + + +// Special Elements (can contain anything) +var specialElements = makeMap("script,style"); + +var validElements = angular.extend({}, + voidElements, + blockElements, + inlineElements, + optionalEndTagElements); + +//Attributes that have href and hence need to be sanitized +var uriAttrs = makeMap("background,cite,href,longdesc,src,usemap"); +var validAttrs = angular.extend({}, uriAttrs, 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,target,title,type,'+ + 'valign,value,vspace,width')); + +function makeMap(str) { + var obj = {}, items = str.split(','), i; + for (i = 0; i < items.length; i++) obj[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 ) { + var index, chars, match, stack = [], last = html; + stack.last = function() { return stack[ stack.length - 1 ]; }; + + while ( html ) { + 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 ) { + html = html.substring( match[0].length ); + match[0].replace( START_TAG_REGEXP, parseStartTag ); + chars = false; + } + } + + if ( chars ) { + index = html.indexOf("<"); + + var text = index < 0 ? html : html.substring( 0, index ); + html = index < 0 ? "" : html.substring( index ); + + if (handler.chars) handler.chars( decodeEntities(text) ); + } + + } else { + html = html.replace(new RegExp("(.*)<\\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"); +var spaceRe = /^(\s*)([\s\S]*?)(\s*)$/; +/** + * decodes all entities into regular string + * @param value + * @returns {string} A string with decoded entities. + */ +function decodeEntities(value) { + if (!value) { return ''; } + + // Note: IE8 does not preserve spaces at the start/end of innerHTML + // so we must capture them and reattach them afterward + var parts = spaceRe.exec(value); + var spaceBefore = parts[1]; + var spaceAfter = parts[3]; + var content = parts[2]; + if (content) { + hiddenPre.innerHTML=content.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 + * @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?):\/\/|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>]/, + MAILTO_REGEXP = /^mailto:/; + + 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/mailto then assume mailto + if (match[2] == match[3]) url = '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/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.min.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.min.js new file mode 100644 index 0000000..2928262 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.min.js @@ -0,0 +1,14 @@ +/* + AngularJS v1.3.0-beta.3 + (c) 2010-2014 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(p,h,q){'use strict';function E(a){var e=[];s(e,h.noop).chars(a);return e.join("")}function k(a){var e={};a=a.split(",");var d;for(d=0;d=c;d--)e.end&&e.end(f[d]);f.length=c}}var b,g,f=[],l=a;for(f.last=function(){return f[f.length-1]};a;){g=!0;if(f.last()&&x[f.last()])a=a.replace(RegExp("(.*)<\\s*\\/\\s*"+f.last()+"[^>]*>","i"),function(b,a){a=a.replace(H,"$1").replace(I,"$1");e.chars&&e.chars(r(a));return""}),c("",f.last());else{if(0===a.indexOf("\x3c!--"))b=a.indexOf("--",4),0<=b&&a.lastIndexOf("--\x3e",b)===b&&(e.comment&&e.comment(a.substring(4,b)),a=a.substring(b+3),g=!1);else if(y.test(a)){if(b=a.match(y))a= +a.replace(b[0],""),g=!1}else if(J.test(a)){if(b=a.match(z))a=a.substring(b[0].length),b[0].replace(z,c),g=!1}else K.test(a)&&(b=a.match(A))&&(a=a.substring(b[0].length),b[0].replace(A,d),g=!1);g&&(b=a.indexOf("<"),g=0>b?a:a.substring(0,b),a=0>b?"":a.substring(b),e.chars&&e.chars(r(g)))}if(a==l)throw L("badparse",a);l=a}c()}function r(a){if(!a)return"";var e=M.exec(a);a=e[1];var d=e[3];if(e=e[2])n.innerHTML=e.replace(//g,">")}function s(a,e){var d=!1,c=h.bind(a,a.push);return{start:function(a,g,f){a=h.lowercase(a);!d&&x[a]&&(d=a);d||!0!==C[a]||(c("<"),c(a),h.forEach(g,function(d,f){var g=h.lowercase(f),k="img"===a&&"src"===g||"background"===g;!0!==O[g]||!0===D[g]&&!e(d,k)||(c(" "),c(f),c('="'),c(B(d)),c('"'))}),c(f?"/>":">"))},end:function(a){a=h.lowercase(a);d||!0!==C[a]||(c(""));a==d&&(d=!1)},chars:function(a){d|| +c(B(a))}}}var L=h.$$minErr("$sanitize"),A=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,z=/^<\s*\/\s*([\w:-]+)[^>]*>/,G=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,K=/^]*?)>/i,I=/]/,d=/^mailto:/;return function(c,b){function g(a){a&&m.push(E(a))}function f(a,c){m.push("');g(c);m.push("")}if(!c)return c;for(var l,k=c,m=[],n,p;l=k.match(e);)n=l[0],l[2]==l[3]&&(n="mailto:"+n),p=l.index,g(k.substr(0,p)),f(n,l[0].replace(d,"")),k=k.substring(p+l[0].length);g(k);return a(m.join(""))}}])})(window,window.angular); +//# sourceMappingURL=angular-sanitize.min.js.map diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.min.js.map b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.min.js.map new file mode 100644 index 0000000..dbf6b25 --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-sanitize.min.js.map @@ -0,0 +1,8 @@ +{ +"version":3, +"file":"angular-sanitize.min.js", +"lineCount":13, +"mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkBC,CAAlB,CAA6B,CAiJtCC,QAASA,EAAY,CAACC,CAAD,CAAQ,CAC3B,IAAIC,EAAM,EACGC,EAAAC,CAAmBF,CAAnBE,CAAwBN,CAAAO,KAAxBD,CACbH,MAAA,CAAaA,CAAb,CACA,OAAOC,EAAAI,KAAA,CAAS,EAAT,CAJoB,CAmE7BC,QAASA,EAAO,CAACC,CAAD,CAAM,CAAA,IAChBC,EAAM,EAAIC,EAAAA,CAAQF,CAAAG,MAAA,CAAU,GAAV,CAAtB,KAAsCC,CACtC,KAAKA,CAAL,CAAS,CAAT,CAAYA,CAAZ,CAAgBF,CAAAG,OAAhB,CAA8BD,CAAA,EAA9B,CAAmCH,CAAA,CAAIC,CAAA,CAAME,CAAN,CAAJ,CAAA,CAAgB,CAAA,CACnD,OAAOH,EAHa,CAmBtBK,QAASA,EAAU,CAAEC,CAAF,CAAQC,CAAR,CAAkB,CAiFnCC,QAASA,EAAa,CAAEC,CAAF,CAAOC,CAAP,CAAgBC,CAAhB,CAAsBC,CAAtB,CAA8B,CAClDF,CAAA,CAAUrB,CAAAwB,UAAA,CAAkBH,CAAlB,CACV,IAAKI,CAAA,CAAeJ,CAAf,CAAL,CACE,IAAA,CAAQK,CAAAC,KAAA,EAAR,EAAwBC,CAAA,CAAgBF,CAAAC,KAAA,EAAhB,CAAxB,CAAA,CACEE,CAAA,CAAa,EAAb,CAAiBH,CAAAC,KAAA,EAAjB,CAICG,EAAA,CAAwBT,CAAxB,CAAL,EAA0CK,CAAAC,KAAA,EAA1C,EAA0DN,CAA1D,EACEQ,CAAA,CAAa,EAAb,CAAiBR,CAAjB,CAKF,EAFAE,CAEA,CAFQQ,CAAA,CAAcV,CAAd,CAER,EAFmC,CAAC,CAACE,CAErC,GACEG,CAAAM,KAAA,CAAYX,CAAZ,CAEF,KAAIY,EAAQ,EAEZX,EAAAY,QAAA,CAAaC,CAAb,CACE,QAAQ,CAACC,CAAD,CAAQC,CAAR,CAAcC,CAAd,CAAiCC,CAAjC,CAAoDC,CAApD,CAAmE,CAMzEP,CAAA,CAAMI,CAAN,CAAA,CAAcI,CAAA,CALFH,CAKE,EAJTC,CAIS,EAHTC,CAGS,EAFT,EAES,CAN2D,CAD7E,CASItB,EAAAwB,MAAJ,EAAmBxB,CAAAwB,MAAA,CAAerB,CAAf,CAAwBY,CAAxB,CAA+BV,CAA/B,CA5B+B,CA+BpDM,QAASA,EAAW,CAAET,CAAF,CAAOC,CAAP,CAAiB,CAAA,IAC/BsB,EAAM,CADyB,CACtB7B,CAEb,IADAO,CACA,CADUrB,CAAAwB,UAAA,CAAkBH,CAAlB,CACV,CAEE,IAAMsB,CAAN,CAAYjB,CAAAX,OAAZ,CAA2B,CAA3B,CAAqC,CAArC,EAA8B4B,CAA9B,EACOjB,CAAA,CAAOiB,CAAP,CADP,EACuBtB,CADvB,CAAwCsB,CAAA,EAAxC;AAIF,GAAY,CAAZ,EAAKA,CAAL,CAAgB,CAEd,IAAM7B,CAAN,CAAUY,CAAAX,OAAV,CAAyB,CAAzB,CAA4BD,CAA5B,EAAiC6B,CAAjC,CAAsC7B,CAAA,EAAtC,CACMI,CAAA0B,IAAJ,EAAiB1B,CAAA0B,IAAA,CAAalB,CAAA,CAAOZ,CAAP,CAAb,CAGnBY,EAAAX,OAAA,CAAe4B,CAND,CATmB,CAhHF,IAC/BE,CAD+B,CACxB1C,CADwB,CACVuB,EAAQ,EADE,CACEC,EAAOV,CAG5C,KAFAS,CAAAC,KAEA,CAFamB,QAAQ,EAAG,CAAE,MAAOpB,EAAA,CAAOA,CAAAX,OAAP,CAAsB,CAAtB,CAAT,CAExB,CAAQE,CAAR,CAAA,CAAe,CACbd,CAAA,CAAQ,CAAA,CAGR,IAAMuB,CAAAC,KAAA,EAAN,EAAuBoB,CAAA,CAAiBrB,CAAAC,KAAA,EAAjB,CAAvB,CAmDEV,CASA,CATOA,CAAAiB,QAAA,CAAiBc,MAAJ,CAAW,kBAAX,CAAgCtB,CAAAC,KAAA,EAAhC,CAA+C,QAA/C,CAAyD,GAAzD,CAAb,CACL,QAAQ,CAACsB,CAAD,CAAMC,CAAN,CAAW,CACjBA,CAAA,CAAOA,CAAAhB,QAAA,CAAaiB,CAAb,CAA6B,IAA7B,CAAAjB,QAAA,CAA2CkB,CAA3C,CAAyD,IAAzD,CAEHlC,EAAAf,MAAJ,EAAmBe,CAAAf,MAAA,CAAesC,CAAA,CAAeS,CAAf,CAAf,CAEnB,OAAO,EALU,CADd,CASP,CAAArB,CAAA,CAAa,EAAb,CAAiBH,CAAAC,KAAA,EAAjB,CA5DF,KAAyD,CAGvD,GAA8B,CAA9B,GAAKV,CAAAoC,QAAA,CAAa,SAAb,CAAL,CAEER,CAEA,CAFQ5B,CAAAoC,QAAA,CAAa,IAAb,CAAmB,CAAnB,CAER,CAAc,CAAd,EAAKR,CAAL,EAAmB5B,CAAAqC,YAAA,CAAiB,QAAjB,CAAwBT,CAAxB,CAAnB,GAAsDA,CAAtD,GACM3B,CAAAqC,QAEJ,EAFqBrC,CAAAqC,QAAA,CAAiBtC,CAAAuC,UAAA,CAAgB,CAAhB,CAAmBX,CAAnB,CAAjB,CAErB,CADA5B,CACA,CADOA,CAAAuC,UAAA,CAAgBX,CAAhB,CAAwB,CAAxB,CACP,CAAA1C,CAAA,CAAQ,CAAA,CAHV,CAJF,KAUO,IAAKsD,CAAAC,KAAA,CAAoBzC,CAApB,CAAL,CAGL,IAFAmB,CAEA,CAFQnB,CAAAmB,MAAA,CAAYqB,CAAZ,CAER,CACExC,CACA;AADOA,CAAAiB,QAAA,CAAcE,CAAA,CAAM,CAAN,CAAd,CAAwB,EAAxB,CACP,CAAAjC,CAAA,CAAQ,CAAA,CAFV,CAHK,IAQA,IAAKwD,CAAAD,KAAA,CAA4BzC,CAA5B,CAAL,CAGL,IAFAmB,CAEA,CAFQnB,CAAAmB,MAAA,CAAYwB,CAAZ,CAER,CACE3C,CAEA,CAFOA,CAAAuC,UAAA,CAAgBpB,CAAA,CAAM,CAAN,CAAArB,OAAhB,CAEP,CADAqB,CAAA,CAAM,CAAN,CAAAF,QAAA,CAAkB0B,CAAlB,CAAkC/B,CAAlC,CACA,CAAA1B,CAAA,CAAQ,CAAA,CAHV,CAHK,IAUK0D,EAAAH,KAAA,CAAsBzC,CAAtB,CAAL,GACLmB,CADK,CACGnB,CAAAmB,MAAA,CAAY0B,CAAZ,CADH,IAIH7C,CAEA,CAFOA,CAAAuC,UAAA,CAAgBpB,CAAA,CAAM,CAAN,CAAArB,OAAhB,CAEP,CADAqB,CAAA,CAAM,CAAN,CAAAF,QAAA,CAAkB4B,CAAlB,CAAoC3C,CAApC,CACA,CAAAhB,CAAA,CAAQ,CAAA,CANL,CAUFA,EAAL,GACE0C,CAKA,CALQ5B,CAAAoC,QAAA,CAAa,GAAb,CAKR,CAHIH,CAGJ,CAHmB,CAAR,CAAAL,CAAA,CAAY5B,CAAZ,CAAmBA,CAAAuC,UAAA,CAAgB,CAAhB,CAAmBX,CAAnB,CAG9B,CAFA5B,CAEA,CAFe,CAAR,CAAA4B,CAAA,CAAY,EAAZ,CAAiB5B,CAAAuC,UAAA,CAAgBX,CAAhB,CAExB,CAAI3B,CAAAf,MAAJ,EAAmBe,CAAAf,MAAA,CAAesC,CAAA,CAAeS,CAAf,CAAf,CANrB,CAzCuD,CA+DzD,GAAKjC,CAAL,EAAaU,CAAb,CACE,KAAMoC,EAAA,CAAgB,UAAhB,CAC4C9C,CAD5C,CAAN,CAGFU,CAAA,CAAOV,CAvEM,CA2EfY,CAAA,EA/EmC,CA2IrCY,QAASA,EAAc,CAACuB,CAAD,CAAQ,CAC7B,GAAI,CAACA,CAAL,CAAc,MAAO,EAIrB,KAAIC,EAAQC,CAAAC,KAAA,CAAaH,CAAb,CACRI,EAAAA,CAAcH,CAAA,CAAM,CAAN,CAClB,KAAII,EAAaJ,CAAA,CAAM,CAAN,CAEjB,IADIK,CACJ,CADcL,CAAA,CAAM,CAAN,CACd,CACEM,CAAAC,UAKA,CALoBF,CAAApC,QAAA,CAAgB,IAAhB,CAAqB,MAArB,CAKpB,CAAAoC,CAAA,CAAU,aAAA,EAAiBC,EAAjB,CACRA,CAAAE,YADQ,CACgBF,CAAAG,UAE5B,OAAON,EAAP,CAAqBE,CAArB,CAA+BD,CAlBF,CA4B/BM,QAASA,EAAc,CAACX,CAAD,CAAQ,CAC7B,MAAOA,EAAA9B,QAAA,CACG,IADH;AACS,OADT,CAAAA,QAAA,CAEG0C,CAFH,CAE4B,QAAQ,CAACZ,CAAD,CAAO,CAC9C,MAAO,IAAP,CAAcA,CAAAa,WAAA,CAAiB,CAAjB,CAAd,CAAoC,GADU,CAF3C,CAAA3C,QAAA,CAKG,IALH,CAKS,MALT,CAAAA,QAAA,CAMG,IANH,CAMS,MANT,CADsB,CAoB/B7B,QAASA,EAAkB,CAACD,CAAD,CAAM0E,CAAN,CAAmB,CAC5C,IAAIC,EAAS,CAAA,CAAb,CACIC,EAAMhF,CAAAiF,KAAA,CAAa7E,CAAb,CAAkBA,CAAA4B,KAAlB,CACV,OAAO,OACEU,QAAQ,CAACtB,CAAD,CAAMa,CAAN,CAAaV,CAAb,CAAmB,CAChCH,CAAA,CAAMpB,CAAAwB,UAAA,CAAkBJ,CAAlB,CACD2D,EAAAA,CAAL,EAAehC,CAAA,CAAgB3B,CAAhB,CAAf,GACE2D,CADF,CACW3D,CADX,CAGK2D,EAAL,EAAsC,CAAA,CAAtC,GAAeG,CAAA,CAAc9D,CAAd,CAAf,GACE4D,CAAA,CAAI,GAAJ,CAcA,CAbAA,CAAA,CAAI5D,CAAJ,CAaA,CAZApB,CAAAmF,QAAA,CAAgBlD,CAAhB,CAAuB,QAAQ,CAAC+B,CAAD,CAAQoB,CAAR,CAAY,CACzC,IAAIC,EAAKrF,CAAAwB,UAAA,CAAkB4D,CAAlB,CAAT,CACIE,EAAmB,KAAnBA,GAAWlE,CAAXkE,EAAqC,KAArCA,GAA4BD,CAA5BC,EAAyD,YAAzDA,GAAgDD,CAC3B,EAAA,CAAzB,GAAIE,CAAA,CAAWF,CAAX,CAAJ,EACsB,CAAA,CADtB,GACGG,CAAA,CAASH,CAAT,CADH,EAC8B,CAAAP,CAAA,CAAad,CAAb,CAAoBsB,CAApB,CAD9B,GAEEN,CAAA,CAAI,GAAJ,CAIA,CAHAA,CAAA,CAAII,CAAJ,CAGA,CAFAJ,CAAA,CAAI,IAAJ,CAEA,CADAA,CAAA,CAAIL,CAAA,CAAeX,CAAf,CAAJ,CACA,CAAAgB,CAAA,CAAI,GAAJ,CANF,CAHyC,CAA3C,CAYA,CAAAA,CAAA,CAAIzD,CAAA,CAAQ,IAAR,CAAe,GAAnB,CAfF,CALgC,CAD7B,KAwBAqB,QAAQ,CAACxB,CAAD,CAAK,CACdA,CAAA,CAAMpB,CAAAwB,UAAA,CAAkBJ,CAAlB,CACD2D,EAAL,EAAsC,CAAA,CAAtC,GAAeG,CAAA,CAAc9D,CAAd,CAAf,GACE4D,CAAA,CAAI,IAAJ,CAEA,CADAA,CAAA,CAAI5D,CAAJ,CACA,CAAA4D,CAAA,CAAI,GAAJ,CAHF,CAKI5D,EAAJ,EAAW2D,CAAX,GACEA,CADF,CACW,CAAA,CADX,CAPc,CAxBb,OAmCE5E,QAAQ,CAACA,CAAD,CAAO,CACb4E,CAAL;AACEC,CAAA,CAAIL,CAAA,CAAexE,CAAf,CAAJ,CAFgB,CAnCjB,CAHqC,CAha9C,IAAI4D,EAAkB/D,CAAAyF,SAAA,CAAiB,WAAjB,CAAtB,CAwJI3B,EACG,4FAzJP,CA0JEF,EAAiB,2BA1JnB,CA2JEzB,EAAc,yEA3JhB,CA4JE0B,EAAmB,IA5JrB,CA6JEF,EAAyB,SA7J3B,CA8JER,EAAiB,qBA9JnB,CA+JEM,EAAiB,qBA/JnB,CAgKEL,EAAe,yBAhKjB,CAkKEwB,EAA0B,gBAlK5B,CA2KI7C,EAAetB,CAAA,CAAQ,wBAAR,CAIfiF,EAAAA,CAA8BjF,CAAA,CAAQ,gDAAR,CAC9BkF,EAAAA,CAA+BlF,CAAA,CAAQ,OAAR,CADnC,KAEIqB,EAAyB9B,CAAA4F,OAAA,CAAe,EAAf,CACeD,CADf,CAEeD,CAFf,CAF7B,CAOIjE,EAAgBzB,CAAA4F,OAAA,CAAe,EAAf,CAAmBF,CAAnB,CAAgDjF,CAAA,CAAQ,4KAAR,CAAhD,CAPpB;AAYImB,EAAiB5B,CAAA4F,OAAA,CAAe,EAAf,CAAmBD,CAAnB,CAAiDlF,CAAA,CAAQ,2JAAR,CAAjD,CAZrB,CAkBIsC,EAAkBtC,CAAA,CAAQ,cAAR,CAlBtB,CAoBIyE,EAAgBlF,CAAA4F,OAAA,CAAe,EAAf,CACe7D,CADf,CAEeN,CAFf,CAGeG,CAHf,CAIeE,CAJf,CApBpB,CA2BI0D,EAAW/E,CAAA,CAAQ,0CAAR,CA3Bf,CA4BI8E,EAAavF,CAAA4F,OAAA,CAAe,EAAf,CAAmBJ,CAAnB,CAA6B/E,CAAA,CAC1C,ySAD0C,CAA7B,CA5BjB;AA0LI8D,EAAUsB,QAAAC,cAAA,CAAuB,KAAvB,CA1Ld,CA2LI5B,EAAU,wBAsGdlE,EAAA+F,OAAA,CAAe,YAAf,CAA6B,EAA7B,CAAAC,SAAA,CAA0C,WAA1C,CA7UAC,QAA0B,EAAG,CAC3B,IAAAC,KAAA,CAAY,CAAC,eAAD,CAAkB,QAAQ,CAACC,CAAD,CAAgB,CACpD,MAAO,SAAQ,CAAClF,CAAD,CAAO,CACpB,IAAIb,EAAM,EACVY,EAAA,CAAWC,CAAX,CAAiBZ,CAAA,CAAmBD,CAAnB,CAAwB,QAAQ,CAACgG,CAAD,CAAMd,CAAN,CAAe,CAC9D,MAAO,CAAC,SAAA5B,KAAA,CAAeyC,CAAA,CAAcC,CAAd,CAAmBd,CAAnB,CAAf,CADsD,CAA/C,CAAjB,CAGA,OAAOlF,EAAAI,KAAA,CAAS,EAAT,CALa,CAD8B,CAA1C,CADe,CA6U7B,CAuGAR,EAAA+F,OAAA,CAAe,YAAf,CAAAM,OAAA,CAAoC,OAApC,CAA6C,CAAC,WAAD,CAAc,QAAQ,CAACC,CAAD,CAAY,CAAA,IACzEC,EACE,mEAFuE,CAGzEC,EAAgB,UAEpB,OAAO,SAAQ,CAACtD,CAAD,CAAOuD,CAAP,CAAe,CAoB5BC,QAASA,EAAO,CAACxD,CAAD,CAAO,CAChBA,CAAL,EAGAjC,CAAAe,KAAA,CAAU9B,CAAA,CAAagD,CAAb,CAAV,CAJqB,CAOvByD,QAASA,EAAO,CAACC,CAAD,CAAM1D,CAAN,CAAY,CAC1BjC,CAAAe,KAAA,CAAU,KAAV,CACIhC,EAAA6G,UAAA,CAAkBJ,CAAlB,CAAJ;CACExF,CAAAe,KAAA,CAAU,UAAV,CAEA,CADAf,CAAAe,KAAA,CAAUyE,CAAV,CACA,CAAAxF,CAAAe,KAAA,CAAU,IAAV,CAHF,CAKAf,EAAAe,KAAA,CAAU,QAAV,CACAf,EAAAe,KAAA,CAAU4E,CAAV,CACA3F,EAAAe,KAAA,CAAU,IAAV,CACA0E,EAAA,CAAQxD,CAAR,CACAjC,EAAAe,KAAA,CAAU,MAAV,CAX0B,CA1B5B,GAAI,CAACkB,CAAL,CAAW,MAAOA,EAMlB,KALA,IAAId,CAAJ,CACI0E,EAAM5D,CADV,CAEIjC,EAAO,EAFX,CAGI2F,CAHJ,CAII9F,CACJ,CAAQsB,CAAR,CAAgB0E,CAAA1E,MAAA,CAAUmE,CAAV,CAAhB,CAAA,CAEEK,CAMA,CANMxE,CAAA,CAAM,CAAN,CAMN,CAJIA,CAAA,CAAM,CAAN,CAIJ,EAJgBA,CAAA,CAAM,CAAN,CAIhB,GAJ0BwE,CAI1B,CAJgC,SAIhC,CAJ4CA,CAI5C,EAHA9F,CAGA,CAHIsB,CAAAS,MAGJ,CAFA6D,CAAA,CAAQI,CAAAC,OAAA,CAAW,CAAX,CAAcjG,CAAd,CAAR,CAEA,CADA6F,CAAA,CAAQC,CAAR,CAAaxE,CAAA,CAAM,CAAN,CAAAF,QAAA,CAAiBsE,CAAjB,CAAgC,EAAhC,CAAb,CACA,CAAAM,CAAA,CAAMA,CAAAtD,UAAA,CAAc1C,CAAd,CAAkBsB,CAAA,CAAM,CAAN,CAAArB,OAAlB,CAER2F,EAAA,CAAQI,CAAR,CACA,OAAOR,EAAA,CAAUrF,CAAAT,KAAA,CAAU,EAAV,CAAV,CAlBqB,CAL+C,CAAlC,CAA7C,CAzjBsC,CAArC,CAAA,CA0mBET,MA1mBF,CA0mBUA,MAAAC,QA1mBV;", +"sources":["angular-sanitize.js"], +"names":["window","angular","undefined","sanitizeText","chars","buf","htmlSanitizeWriter","writer","noop","join","makeMap","str","obj","items","split","i","length","htmlParser","html","handler","parseStartTag","tag","tagName","rest","unary","lowercase","blockElements","stack","last","inlineElements","parseEndTag","optionalEndTagElements","voidElements","push","attrs","replace","ATTR_REGEXP","match","name","doubleQuotedValue","singleQuotedValue","unquotedValue","decodeEntities","start","pos","end","index","stack.last","specialElements","RegExp","all","text","COMMENT_REGEXP","CDATA_REGEXP","indexOf","lastIndexOf","comment","substring","DOCTYPE_REGEXP","test","BEGING_END_TAGE_REGEXP","END_TAG_REGEXP","BEGIN_TAG_REGEXP","START_TAG_REGEXP","$sanitizeMinErr","value","parts","spaceRe","exec","spaceBefore","spaceAfter","content","hiddenPre","innerHTML","textContent","innerText","encodeEntities","NON_ALPHANUMERIC_REGEXP","charCodeAt","uriValidator","ignore","out","bind","validElements","forEach","key","lkey","isImage","validAttrs","uriAttrs","$$minErr","optionalEndTagBlockElements","optionalEndTagInlineElements","extend","document","createElement","module","provider","$SanitizeProvider","$get","$$sanitizeUri","uri","filter","$sanitize","LINKY_URL_REGEXP","MAILTO_REGEXP","target","addText","addLink","url","isDefined","raw","substr"] +} diff --git a/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-scenario.js b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-scenario.js new file mode 100644 index 0000000..91525ff --- /dev/null +++ b/pro-vagrant-v1.0.1/chapter-02/songs-app-angularjs/web/lib/angular/angular-scenario.js @@ -0,0 +1,33735 @@ +/*! + * jQuery JavaScript Library v1.10.2 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2013-07-03T13:48Z + */ +(function( window, undefined ) {'use strict'; + +// 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 + // The deferred used on DOM ready + readyList, + + // A central reference to the root jQuery(document) + rootjQuery, + + // Support: IE<10 + // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined` + core_strundefined = typeof undefined, + + // Use the correct document accordingly with window argument (sandbox) + location = window.location, + document = window.document, + docElem = document.documentElement, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // [[Class]] -> 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("