├── LICENSE ├── README.md ├── aws ├── Amazon-DynamoDB │ ├── LastUse │ │ ├── PAGE2.md │ │ ├── PAGE3.md │ │ ├── PAGE4.md │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ └── SampleUtterances.txt │ │ ├── src │ │ │ ├── index.js │ │ │ └── package.json │ │ └── tests │ │ │ ├── events │ │ │ └── alexa-start-session.json │ │ │ ├── test.js │ │ │ └── webapp │ │ │ ├── README.md │ │ │ └── magic.html │ ├── README.md │ └── read │ │ ├── PAGE2.md │ │ ├── PAGE3.md │ │ ├── PAGE4.md │ │ ├── README.md │ │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ │ ├── src │ │ ├── index.js │ │ └── package.json │ │ └── tests │ │ ├── events │ │ └── alexa-start-session.json │ │ ├── test.js │ │ └── webapp │ │ ├── README.md │ │ └── magic.html ├── Amazon-IOT │ ├── IAM_POLICIES.md │ ├── README.md │ ├── setup-thing │ │ └── README.md │ ├── step-1.md │ ├── step-2.md │ ├── step-3.md │ ├── step-4.md │ ├── step-5.md │ ├── update-shadow │ │ ├── PAGE2.md │ │ ├── PAGE3.md │ │ ├── PAGE4.md │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ ├── InteractionModel.json │ │ │ └── SampleUtterances.txt │ │ ├── src │ │ │ ├── index.js │ │ │ └── package.json │ │ └── tests │ │ │ ├── events │ │ │ ├── alexa-intent-slot-city.json │ │ │ └── alexa-start-session.json │ │ │ └── test.js │ └── webapp-thing │ │ ├── README.md │ │ ├── bower_components │ │ ├── aws-sdk │ │ │ ├── .bower.json │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE.txt │ │ │ ├── NOTICE.txt │ │ │ ├── README.md │ │ │ ├── UPGRADING.md │ │ │ ├── bower.json │ │ │ └── dist │ │ │ │ ├── BUNDLE_LICENSE.txt │ │ │ │ ├── aws-sdk.js │ │ │ │ └── aws-sdk.min.js │ │ ├── crypto-js │ │ │ ├── .bower.json │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── aes.js │ │ │ ├── bower.json │ │ │ ├── cipher-core.js │ │ │ ├── core.js │ │ │ ├── crypto-js.js │ │ │ ├── docs │ │ │ │ └── QuickStartGuide.wiki │ │ │ ├── enc-base64.js │ │ │ ├── enc-hex.js │ │ │ ├── enc-latin1.js │ │ │ ├── enc-utf16.js │ │ │ ├── enc-utf8.js │ │ │ ├── evpkdf.js │ │ │ ├── format-hex.js │ │ │ ├── format-openssl.js │ │ │ ├── hmac-md5.js │ │ │ ├── hmac-ripemd160.js │ │ │ ├── hmac-sha1.js │ │ │ ├── hmac-sha224.js │ │ │ ├── hmac-sha256.js │ │ │ ├── hmac-sha3.js │ │ │ ├── hmac-sha384.js │ │ │ ├── hmac-sha512.js │ │ │ ├── hmac.js │ │ │ ├── index.js │ │ │ ├── lib-typedarrays.js │ │ │ ├── md5.js │ │ │ ├── mode-cfb.js │ │ │ ├── mode-ctr-gladman.js │ │ │ ├── mode-ctr.js │ │ │ ├── mode-ecb.js │ │ │ ├── mode-ofb.js │ │ │ ├── package.json │ │ │ ├── pad-ansix923.js │ │ │ ├── pad-iso10126.js │ │ │ ├── pad-iso97971.js │ │ │ ├── pad-nopadding.js │ │ │ ├── pad-pkcs7.js │ │ │ ├── pad-zeropadding.js │ │ │ ├── pbkdf2.js │ │ │ ├── rabbit-legacy.js │ │ │ ├── rabbit.js │ │ │ ├── rc4.js │ │ │ ├── ripemd160.js │ │ │ ├── sha1.js │ │ │ ├── sha224.js │ │ │ ├── sha256.js │ │ │ ├── sha3.js │ │ │ ├── sha384.js │ │ │ ├── sha512.js │ │ │ ├── tripledes.js │ │ │ └── x64-core.js │ │ ├── jquery-color │ │ │ ├── .bower.json │ │ │ ├── .gitignore │ │ │ ├── .gitmodules │ │ │ ├── .jshintrc │ │ │ ├── AUTHORS.TXT │ │ │ ├── MIT-LICENSE.txt │ │ │ ├── README.md │ │ │ ├── color.jquery.json │ │ │ ├── grunt.js │ │ │ ├── jquery.color.js │ │ │ ├── jquery.color.svg-names.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── data │ │ │ │ ├── swarminject.js │ │ │ │ └── testinit.js │ │ │ │ ├── index.html │ │ │ │ ├── jquery-1.5.1.js │ │ │ │ ├── jquery-1.5.2.js │ │ │ │ ├── jquery-1.5.js │ │ │ │ ├── jquery-1.6.1.js │ │ │ │ ├── jquery-1.6.2.js │ │ │ │ ├── jquery-1.6.3.js │ │ │ │ ├── jquery-1.6.4.js │ │ │ │ ├── jquery-1.6.js │ │ │ │ ├── jquery-1.7.1.js │ │ │ │ ├── jquery-1.7.2.js │ │ │ │ ├── jquery-1.7.js │ │ │ │ ├── jquery.js │ │ │ │ ├── test.html │ │ │ │ └── unit │ │ │ │ ├── .jshintrc │ │ │ │ └── color.js │ │ ├── jquery │ │ │ ├── .bower.json │ │ │ ├── AUTHORS.txt │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── dist │ │ │ │ ├── jquery.js │ │ │ │ ├── jquery.min.js │ │ │ │ ├── jquery.min.map │ │ │ │ ├── jquery.slim.js │ │ │ │ ├── jquery.slim.min.js │ │ │ │ └── jquery.slim.min.map │ │ │ ├── sizzle │ │ │ │ ├── LICENSE.txt │ │ │ │ └── dist │ │ │ │ │ ├── sizzle.js │ │ │ │ │ ├── sizzle.min.js │ │ │ │ │ └── sizzle.min.map │ │ │ └── src │ │ │ │ ├── .jshintrc │ │ │ │ ├── ajax.js │ │ │ │ ├── ajax │ │ │ │ ├── jsonp.js │ │ │ │ ├── load.js │ │ │ │ ├── parseJSON.js │ │ │ │ ├── parseXML.js │ │ │ │ ├── script.js │ │ │ │ ├── var │ │ │ │ │ ├── location.js │ │ │ │ │ ├── nonce.js │ │ │ │ │ └── rquery.js │ │ │ │ └── xhr.js │ │ │ │ ├── attributes.js │ │ │ │ ├── attributes │ │ │ │ ├── attr.js │ │ │ │ ├── classes.js │ │ │ │ ├── prop.js │ │ │ │ ├── support.js │ │ │ │ └── val.js │ │ │ │ ├── callbacks.js │ │ │ │ ├── core.js │ │ │ │ ├── core │ │ │ │ ├── DOMEval.js │ │ │ │ ├── access.js │ │ │ │ ├── init.js │ │ │ │ ├── parseHTML.js │ │ │ │ ├── ready.js │ │ │ │ ├── support.js │ │ │ │ └── var │ │ │ │ │ └── rsingleTag.js │ │ │ │ ├── css.js │ │ │ │ ├── css │ │ │ │ ├── addGetHookIf.js │ │ │ │ ├── adjustCSS.js │ │ │ │ ├── curCSS.js │ │ │ │ ├── defaultDisplay.js │ │ │ │ ├── hiddenVisibleSelectors.js │ │ │ │ ├── showHide.js │ │ │ │ ├── support.js │ │ │ │ └── var │ │ │ │ │ ├── cssExpand.js │ │ │ │ │ ├── getStyles.js │ │ │ │ │ ├── isHidden.js │ │ │ │ │ ├── rmargin.js │ │ │ │ │ ├── rnumnonpx.js │ │ │ │ │ └── swap.js │ │ │ │ ├── data.js │ │ │ │ ├── data │ │ │ │ ├── Data.js │ │ │ │ ├── accepts.js │ │ │ │ ├── support.js │ │ │ │ └── var │ │ │ │ │ ├── acceptData.js │ │ │ │ │ ├── dataPriv.js │ │ │ │ │ └── dataUser.js │ │ │ │ ├── deferred.js │ │ │ │ ├── deferred │ │ │ │ └── exceptionHook.js │ │ │ │ ├── deprecated.js │ │ │ │ ├── dimensions.js │ │ │ │ ├── effects.js │ │ │ │ ├── effects │ │ │ │ ├── Tween.js │ │ │ │ ├── animatedSelector.js │ │ │ │ └── support.js │ │ │ │ ├── event.js │ │ │ │ ├── event │ │ │ │ ├── ajax.js │ │ │ │ ├── alias.js │ │ │ │ ├── focusin.js │ │ │ │ ├── support.js │ │ │ │ └── trigger.js │ │ │ │ ├── exports │ │ │ │ ├── amd.js │ │ │ │ └── global.js │ │ │ │ ├── intro.js │ │ │ │ ├── jquery.js │ │ │ │ ├── manipulation.js │ │ │ │ ├── manipulation │ │ │ │ ├── _evalUrl.js │ │ │ │ ├── buildFragment.js │ │ │ │ ├── createSafeFragment.js │ │ │ │ ├── getAll.js │ │ │ │ ├── setGlobalEval.js │ │ │ │ ├── support.js │ │ │ │ ├── var │ │ │ │ │ ├── nodeNames.js │ │ │ │ │ ├── rcheckableType.js │ │ │ │ │ ├── rleadingWhitespace.js │ │ │ │ │ ├── rscriptType.js │ │ │ │ │ └── rtagName.js │ │ │ │ └── wrapMap.js │ │ │ │ ├── offset.js │ │ │ │ ├── outro.js │ │ │ │ ├── queue.js │ │ │ │ ├── queue │ │ │ │ └── delay.js │ │ │ │ ├── selector-native.js │ │ │ │ ├── selector-sizzle.js │ │ │ │ ├── selector.js │ │ │ │ ├── serialize.js │ │ │ │ ├── support.js │ │ │ │ ├── traversing.js │ │ │ │ ├── traversing │ │ │ │ ├── findFilter.js │ │ │ │ └── var │ │ │ │ │ ├── dir.js │ │ │ │ │ ├── rneedsContext.js │ │ │ │ │ └── siblings.js │ │ │ │ ├── var │ │ │ │ ├── arr.js │ │ │ │ ├── class2type.js │ │ │ │ ├── concat.js │ │ │ │ ├── deletedIds.js │ │ │ │ ├── document.js │ │ │ │ ├── documentElement.js │ │ │ │ ├── hasOwn.js │ │ │ │ ├── indexOf.js │ │ │ │ ├── pnum.js │ │ │ │ ├── push.js │ │ │ │ ├── rcssNum.js │ │ │ │ ├── rnotwhite.js │ │ │ │ ├── slice.js │ │ │ │ ├── support.js │ │ │ │ └── toString.js │ │ │ │ └── wrap.js │ │ ├── moment │ │ │ ├── .bower.json │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── locale │ │ │ │ ├── af.js │ │ │ │ ├── ar-ma.js │ │ │ │ ├── ar-sa.js │ │ │ │ ├── ar-tn.js │ │ │ │ ├── ar.js │ │ │ │ ├── az.js │ │ │ │ ├── be.js │ │ │ │ ├── bg.js │ │ │ │ ├── bn.js │ │ │ │ ├── bo.js │ │ │ │ ├── br.js │ │ │ │ ├── bs.js │ │ │ │ ├── ca.js │ │ │ │ ├── cs.js │ │ │ │ ├── cv.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de-at.js │ │ │ │ ├── de.js │ │ │ │ ├── dv.js │ │ │ │ ├── el.js │ │ │ │ ├── en-au.js │ │ │ │ ├── en-ca.js │ │ │ │ ├── en-gb.js │ │ │ │ ├── en-ie.js │ │ │ │ ├── en-nz.js │ │ │ │ ├── eo.js │ │ │ │ ├── es.js │ │ │ │ ├── et.js │ │ │ │ ├── eu.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fo.js │ │ │ │ ├── fr-ca.js │ │ │ │ ├── fr-ch.js │ │ │ │ ├── fr.js │ │ │ │ ├── fy.js │ │ │ │ ├── gd.js │ │ │ │ ├── gl.js │ │ │ │ ├── he.js │ │ │ │ ├── hi.js │ │ │ │ ├── hr.js │ │ │ │ ├── hu.js │ │ │ │ ├── hy-am.js │ │ │ │ ├── id.js │ │ │ │ ├── is.js │ │ │ │ ├── it.js │ │ │ │ ├── ja.js │ │ │ │ ├── jv.js │ │ │ │ ├── ka.js │ │ │ │ ├── kk.js │ │ │ │ ├── km.js │ │ │ │ ├── ko.js │ │ │ │ ├── ky.js │ │ │ │ ├── lb.js │ │ │ │ ├── lo.js │ │ │ │ ├── lt.js │ │ │ │ ├── lv.js │ │ │ │ ├── me.js │ │ │ │ ├── mk.js │ │ │ │ ├── ml.js │ │ │ │ ├── mr.js │ │ │ │ ├── ms-my.js │ │ │ │ ├── ms.js │ │ │ │ ├── my.js │ │ │ │ ├── nb.js │ │ │ │ ├── ne.js │ │ │ │ ├── nl.js │ │ │ │ ├── nn.js │ │ │ │ ├── pa-in.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── pt.js │ │ │ │ ├── ro.js │ │ │ │ ├── ru.js │ │ │ │ ├── se.js │ │ │ │ ├── si.js │ │ │ │ ├── sk.js │ │ │ │ ├── sl.js │ │ │ │ ├── sq.js │ │ │ │ ├── sr-cyrl.js │ │ │ │ ├── sr.js │ │ │ │ ├── ss.js │ │ │ │ ├── sv.js │ │ │ │ ├── sw.js │ │ │ │ ├── ta.js │ │ │ │ ├── te.js │ │ │ │ ├── th.js │ │ │ │ ├── tl-ph.js │ │ │ │ ├── tlh.js │ │ │ │ ├── tr.js │ │ │ │ ├── tzl.js │ │ │ │ ├── tzm-latn.js │ │ │ │ ├── tzm.js │ │ │ │ ├── uk.js │ │ │ │ ├── uz.js │ │ │ │ ├── vi.js │ │ │ │ ├── x-pseudo.js │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh-tw.js │ │ │ ├── min │ │ │ │ ├── locales.js │ │ │ │ ├── locales.min.js │ │ │ │ ├── moment-with-locales.js │ │ │ │ ├── moment-with-locales.min.js │ │ │ │ ├── moment.min.js │ │ │ │ └── tests.js │ │ │ ├── moment.d.ts │ │ │ ├── moment.js │ │ │ ├── src │ │ │ │ ├── lib │ │ │ │ │ ├── create │ │ │ │ │ │ ├── check-overflow.js │ │ │ │ │ │ ├── date-from-array.js │ │ │ │ │ │ ├── from-anything.js │ │ │ │ │ │ ├── from-array.js │ │ │ │ │ │ ├── from-object.js │ │ │ │ │ │ ├── from-string-and-array.js │ │ │ │ │ │ ├── from-string-and-format.js │ │ │ │ │ │ ├── from-string.js │ │ │ │ │ │ ├── local.js │ │ │ │ │ │ ├── parsing-flags.js │ │ │ │ │ │ ├── utc.js │ │ │ │ │ │ └── valid.js │ │ │ │ │ ├── duration │ │ │ │ │ │ ├── abs.js │ │ │ │ │ │ ├── add-subtract.js │ │ │ │ │ │ ├── as.js │ │ │ │ │ │ ├── bubble.js │ │ │ │ │ │ ├── constructor.js │ │ │ │ │ │ ├── create.js │ │ │ │ │ │ ├── duration.js │ │ │ │ │ │ ├── get.js │ │ │ │ │ │ ├── humanize.js │ │ │ │ │ │ ├── iso-string.js │ │ │ │ │ │ └── prototype.js │ │ │ │ │ ├── format │ │ │ │ │ │ └── format.js │ │ │ │ │ ├── locale │ │ │ │ │ │ ├── calendar.js │ │ │ │ │ │ ├── constructor.js │ │ │ │ │ │ ├── en.js │ │ │ │ │ │ ├── formats.js │ │ │ │ │ │ ├── invalid.js │ │ │ │ │ │ ├── lists.js │ │ │ │ │ │ ├── locale.js │ │ │ │ │ │ ├── locales.js │ │ │ │ │ │ ├── ordinal.js │ │ │ │ │ │ ├── pre-post-format.js │ │ │ │ │ │ ├── prototype.js │ │ │ │ │ │ ├── relative.js │ │ │ │ │ │ └── set.js │ │ │ │ │ ├── moment │ │ │ │ │ │ ├── add-subtract.js │ │ │ │ │ │ ├── calendar.js │ │ │ │ │ │ ├── clone.js │ │ │ │ │ │ ├── compare.js │ │ │ │ │ │ ├── constructor.js │ │ │ │ │ │ ├── creation-data.js │ │ │ │ │ │ ├── diff.js │ │ │ │ │ │ ├── format.js │ │ │ │ │ │ ├── from.js │ │ │ │ │ │ ├── get-set.js │ │ │ │ │ │ ├── locale.js │ │ │ │ │ │ ├── min-max.js │ │ │ │ │ │ ├── moment.js │ │ │ │ │ │ ├── now.js │ │ │ │ │ │ ├── prototype.js │ │ │ │ │ │ ├── start-end-of.js │ │ │ │ │ │ ├── to-type.js │ │ │ │ │ │ ├── to.js │ │ │ │ │ │ └── valid.js │ │ │ │ │ ├── parse │ │ │ │ │ │ ├── regex.js │ │ │ │ │ │ └── token.js │ │ │ │ │ ├── units │ │ │ │ │ │ ├── aliases.js │ │ │ │ │ │ ├── constants.js │ │ │ │ │ │ ├── day-of-month.js │ │ │ │ │ │ ├── day-of-week.js │ │ │ │ │ │ ├── day-of-year.js │ │ │ │ │ │ ├── hour.js │ │ │ │ │ │ ├── millisecond.js │ │ │ │ │ │ ├── minute.js │ │ │ │ │ │ ├── month.js │ │ │ │ │ │ ├── offset.js │ │ │ │ │ │ ├── quarter.js │ │ │ │ │ │ ├── second.js │ │ │ │ │ │ ├── timestamp.js │ │ │ │ │ │ ├── timezone.js │ │ │ │ │ │ ├── units.js │ │ │ │ │ │ ├── week-calendar-utils.js │ │ │ │ │ │ ├── week-year.js │ │ │ │ │ │ ├── week.js │ │ │ │ │ │ └── year.js │ │ │ │ │ └── utils │ │ │ │ │ │ ├── abs-ceil.js │ │ │ │ │ │ ├── abs-floor.js │ │ │ │ │ │ ├── abs-round.js │ │ │ │ │ │ ├── compare-arrays.js │ │ │ │ │ │ ├── defaults.js │ │ │ │ │ │ ├── deprecate.js │ │ │ │ │ │ ├── extend.js │ │ │ │ │ │ ├── has-own-prop.js │ │ │ │ │ │ ├── hooks.js │ │ │ │ │ │ ├── index-of.js │ │ │ │ │ │ ├── is-array.js │ │ │ │ │ │ ├── is-date.js │ │ │ │ │ │ ├── is-function.js │ │ │ │ │ │ ├── is-object.js │ │ │ │ │ │ ├── is-undefined.js │ │ │ │ │ │ ├── keys.js │ │ │ │ │ │ ├── map.js │ │ │ │ │ │ ├── some.js │ │ │ │ │ │ ├── to-int.js │ │ │ │ │ │ └── zero-fill.js │ │ │ │ ├── locale │ │ │ │ │ ├── af.js │ │ │ │ │ ├── ar-ma.js │ │ │ │ │ ├── ar-sa.js │ │ │ │ │ ├── ar-tn.js │ │ │ │ │ ├── ar.js │ │ │ │ │ ├── az.js │ │ │ │ │ ├── be.js │ │ │ │ │ ├── bg.js │ │ │ │ │ ├── bn.js │ │ │ │ │ ├── bo.js │ │ │ │ │ ├── br.js │ │ │ │ │ ├── bs.js │ │ │ │ │ ├── ca.js │ │ │ │ │ ├── cs.js │ │ │ │ │ ├── cv.js │ │ │ │ │ ├── cy.js │ │ │ │ │ ├── da.js │ │ │ │ │ ├── de-at.js │ │ │ │ │ ├── de.js │ │ │ │ │ ├── dv.js │ │ │ │ │ ├── el.js │ │ │ │ │ ├── en-au.js │ │ │ │ │ ├── en-ca.js │ │ │ │ │ ├── en-gb.js │ │ │ │ │ ├── en-ie.js │ │ │ │ │ ├── en-nz.js │ │ │ │ │ ├── eo.js │ │ │ │ │ ├── es.js │ │ │ │ │ ├── et.js │ │ │ │ │ ├── eu.js │ │ │ │ │ ├── fa.js │ │ │ │ │ ├── fi.js │ │ │ │ │ ├── fo.js │ │ │ │ │ ├── fr-ca.js │ │ │ │ │ ├── fr-ch.js │ │ │ │ │ ├── fr.js │ │ │ │ │ ├── fy.js │ │ │ │ │ ├── gd.js │ │ │ │ │ ├── gl.js │ │ │ │ │ ├── he.js │ │ │ │ │ ├── hi.js │ │ │ │ │ ├── hr.js │ │ │ │ │ ├── hu.js │ │ │ │ │ ├── hy-am.js │ │ │ │ │ ├── id.js │ │ │ │ │ ├── is.js │ │ │ │ │ ├── it.js │ │ │ │ │ ├── ja.js │ │ │ │ │ ├── jv.js │ │ │ │ │ ├── ka.js │ │ │ │ │ ├── kk.js │ │ │ │ │ ├── km.js │ │ │ │ │ ├── ko.js │ │ │ │ │ ├── ky.js │ │ │ │ │ ├── lb.js │ │ │ │ │ ├── lo.js │ │ │ │ │ ├── lt.js │ │ │ │ │ ├── lv.js │ │ │ │ │ ├── me.js │ │ │ │ │ ├── mk.js │ │ │ │ │ ├── ml.js │ │ │ │ │ ├── mr.js │ │ │ │ │ ├── ms-my.js │ │ │ │ │ ├── ms.js │ │ │ │ │ ├── my.js │ │ │ │ │ ├── nb.js │ │ │ │ │ ├── ne.js │ │ │ │ │ ├── nl.js │ │ │ │ │ ├── nn.js │ │ │ │ │ ├── pa-in.js │ │ │ │ │ ├── pl.js │ │ │ │ │ ├── pt-br.js │ │ │ │ │ ├── pt.js │ │ │ │ │ ├── ro.js │ │ │ │ │ ├── ru.js │ │ │ │ │ ├── se.js │ │ │ │ │ ├── si.js │ │ │ │ │ ├── sk.js │ │ │ │ │ ├── sl.js │ │ │ │ │ ├── sq.js │ │ │ │ │ ├── sr-cyrl.js │ │ │ │ │ ├── sr.js │ │ │ │ │ ├── ss.js │ │ │ │ │ ├── sv.js │ │ │ │ │ ├── sw.js │ │ │ │ │ ├── ta.js │ │ │ │ │ ├── te.js │ │ │ │ │ ├── th.js │ │ │ │ │ ├── tl-ph.js │ │ │ │ │ ├── tlh.js │ │ │ │ │ ├── tr.js │ │ │ │ │ ├── tzl.js │ │ │ │ │ ├── tzm-latn.js │ │ │ │ │ ├── tzm.js │ │ │ │ │ ├── uk.js │ │ │ │ │ ├── uz.js │ │ │ │ │ ├── vi.js │ │ │ │ │ ├── x-pseudo.js │ │ │ │ │ ├── zh-cn.js │ │ │ │ │ └── zh-tw.js │ │ │ │ └── moment.js │ │ │ └── templates │ │ │ │ ├── amd-named.js │ │ │ │ ├── amd.js │ │ │ │ ├── default.js │ │ │ │ ├── globals.js │ │ │ │ ├── locale-header.js │ │ │ │ └── test-header.js │ │ └── mqttws │ │ │ ├── .bower.json │ │ │ ├── CONTRIBUTING.md │ │ │ ├── Gruntfile.js │ │ │ ├── README.md │ │ │ ├── about.html │ │ │ ├── bower.json │ │ │ ├── edl-v10 │ │ │ ├── epl-v10 │ │ │ ├── mqttws31.js │ │ │ ├── notice.html │ │ │ └── package.json │ │ ├── js │ │ ├── aws_config.js │ │ ├── aws_iot.js │ │ ├── aws_sigv4.js │ │ ├── colors.js │ │ ├── connectAsThing.js │ │ └── updateDom.js │ │ └── thing1.html ├── Amazon-S3 │ ├── README.md │ ├── read │ │ ├── PAGE2.md │ │ ├── PAGE3.md │ │ ├── PAGE4.md │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ └── SampleUtterances.txt │ │ ├── src │ │ │ ├── index.js │ │ │ └── package.json │ │ └── tests │ │ │ ├── events │ │ │ └── alexa-start-session.json │ │ │ └── test.js │ └── write │ │ ├── README.md │ │ └── src │ │ ├── index.js │ │ └── package.json ├── Amazon-SES │ ├── PAGE2.md │ ├── PAGE3.md │ ├── PAGE4.md │ ├── README.md │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ └── package.json │ └── tests │ │ ├── events │ │ └── alexa-start-session.json │ │ └── test.js ├── Amazon-SNS │ ├── PAGE2.md │ ├── PAGE3.md │ ├── PAGE4.md │ ├── README.md │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ └── package.json │ └── tests │ │ ├── events │ │ └── alexa-start-session.json │ │ └── test.js ├── IAM_POLICIES.md ├── README.md ├── lambda-role.md └── set-up-aws.md ├── context ├── README.md ├── device-address │ └── README.md ├── lists │ ├── README.md │ ├── speech-assets │ │ ├── IntentSchema.json │ │ └── sampleUtterances.txt │ ├── src │ │ └── index.js │ └── step-by-step │ │ ├── 1-voice-user-interface.md │ │ ├── 2-lambda-function.md │ │ ├── 3-connect-vui-to-code.md │ │ └── 4-testing.md └── skill-events │ ├── .ask │ └── config │ ├── README.md │ ├── lambda │ └── custom │ │ ├── handlers │ │ └── noModeHandlers.js │ │ ├── index.js │ │ └── package.json │ ├── models │ └── en-US.json │ └── skill.json ├── display-directive ├── bodyTemplate │ ├── BodyTemplate1.json │ ├── BodyTemplate2.json │ ├── BodyTemplate3.json │ ├── BodyTemplate6.json │ ├── BodyTemplate7.json │ ├── README.md │ ├── index.js │ ├── package.json │ └── test-events │ │ ├── LaunchRequest-no-display.json │ │ ├── LaunchRequest-simulator.json │ │ └── LaunchRequest-with-display.json └── listTemplate │ ├── ListTemplate1.json │ ├── ListTemplate2.json │ ├── README.md │ ├── index.js │ ├── package.json │ ├── test-events │ ├── AnswerIntent-no-display.json │ ├── AnswerIntent-with-display.json │ ├── LaunchRequest-no-display.json │ ├── LaunchRequest-simulator.json │ ├── LaunchRequest-with-display.json │ ├── QuizIntent-no-display.json │ └── QuizIntent-with-display.json │ └── test-views │ ├── AnswerDetailsView.json │ └── MultipleChoiceListView.json ├── external-calls ├── FactService │ ├── README.md │ ├── api │ │ ├── index.js │ │ └── package.json │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ └── package.json │ ├── tests │ │ ├── events │ │ │ └── alexa-start-session.json │ │ └── test.js │ └── webapp │ │ ├── factlist.html │ │ └── sync.sh ├── README.md ├── httpsGet │ ├── PAGE2.md │ ├── PAGE3.md │ ├── PAGE4.md │ ├── README.md │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ ├── lambda_function.py │ │ └── package.json │ └── tests │ │ ├── events │ │ └── alexa-start-session.json │ │ ├── test.js │ │ └── test.py └── httpsPost │ ├── PAGE2.md │ ├── PAGE3.md │ ├── PAGE4.md │ ├── README.md │ ├── speechAssets │ ├── IntentSchema.json │ └── SampleUtterances.txt │ ├── src │ ├── index.js │ └── package.json │ └── tests │ ├── events │ └── alexa-start-session.json │ └── test.js ├── games ├── FlashCards │ ├── README.md │ ├── dialogs │ │ ├── default.txt │ │ ├── practice.txt │ │ └── quiz.txt │ ├── speechAssets │ │ ├── IntentSchema.json │ │ ├── InteractionModel.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ └── package.json │ ├── testflow.js │ └── tests │ │ ├── events │ │ ├── alexa-start-session.json │ │ └── quiztest.json │ │ ├── start.sh │ │ └── test.js ├── MixMaster │ ├── .ask │ │ └── config │ ├── README.md │ ├── lambda │ │ └── custom │ │ │ ├── index.js │ │ │ └── package.json │ ├── models │ │ └── en-US.json │ └── skill.json ├── README.md └── State_Path │ ├── .ask │ └── config │ ├── README.md │ ├── lambda │ └── custom │ │ └── index.js │ ├── models │ └── en-US.json │ ├── skill.json │ ├── tests │ ├── dialogs │ │ ├── biggerpop.txt │ │ ├── coast.txt │ │ └── default.txt │ ├── test.js │ └── testflow.js │ └── webapp │ ├── bower_components │ ├── aws-sdk │ │ ├── .bower.json │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.txt │ │ ├── NOTICE.txt │ │ ├── README.md │ │ ├── UPGRADING.md │ │ ├── bower.json │ │ └── dist │ │ │ ├── BUNDLE_LICENSE.txt │ │ │ ├── aws-sdk.js │ │ │ └── aws-sdk.min.js │ ├── crypto-js │ │ ├── .bower.json │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── aes.js │ │ ├── bower.json │ │ ├── cipher-core.js │ │ ├── core.js │ │ ├── crypto-js.js │ │ ├── docs │ │ │ └── QuickStartGuide.wiki │ │ ├── enc-base64.js │ │ ├── enc-hex.js │ │ ├── enc-latin1.js │ │ ├── enc-utf16.js │ │ ├── enc-utf8.js │ │ ├── evpkdf.js │ │ ├── format-hex.js │ │ ├── format-openssl.js │ │ ├── hmac-md5.js │ │ ├── hmac-ripemd160.js │ │ ├── hmac-sha1.js │ │ ├── hmac-sha224.js │ │ ├── hmac-sha256.js │ │ ├── hmac-sha3.js │ │ ├── hmac-sha384.js │ │ ├── hmac-sha512.js │ │ ├── hmac.js │ │ ├── index.js │ │ ├── lib-typedarrays.js │ │ ├── md5.js │ │ ├── mode-cfb.js │ │ ├── mode-ctr-gladman.js │ │ ├── mode-ctr.js │ │ ├── mode-ecb.js │ │ ├── mode-ofb.js │ │ ├── package.json │ │ ├── pad-ansix923.js │ │ ├── pad-iso10126.js │ │ ├── pad-iso97971.js │ │ ├── pad-nopadding.js │ │ ├── pad-pkcs7.js │ │ ├── pad-zeropadding.js │ │ ├── pbkdf2.js │ │ ├── rabbit-legacy.js │ │ ├── rabbit.js │ │ ├── rc4.js │ │ ├── ripemd160.js │ │ ├── sha1.js │ │ ├── sha224.js │ │ ├── sha256.js │ │ ├── sha3.js │ │ ├── sha384.js │ │ ├── sha512.js │ │ ├── tripledes.js │ │ └── x64-core.js │ ├── jquery-color │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── .gitmodules │ │ ├── .jshintrc │ │ ├── AUTHORS.TXT │ │ ├── MIT-LICENSE.txt │ │ ├── README.md │ │ ├── color.jquery.json │ │ ├── grunt.js │ │ ├── jquery.color.js │ │ ├── jquery.color.svg-names.js │ │ ├── package.json │ │ └── test │ │ │ ├── data │ │ │ ├── swarminject.js │ │ │ └── testinit.js │ │ │ ├── index.html │ │ │ ├── jquery-1.5.1.js │ │ │ ├── jquery-1.5.2.js │ │ │ ├── jquery-1.5.js │ │ │ ├── jquery-1.6.1.js │ │ │ ├── jquery-1.6.2.js │ │ │ ├── jquery-1.6.3.js │ │ │ ├── jquery-1.6.4.js │ │ │ ├── jquery-1.6.js │ │ │ ├── jquery-1.7.1.js │ │ │ ├── jquery-1.7.2.js │ │ │ ├── jquery-1.7.js │ │ │ ├── jquery.js │ │ │ ├── test.html │ │ │ └── unit │ │ │ ├── .jshintrc │ │ │ └── color.js │ ├── jquery │ │ ├── .bower.json │ │ ├── AUTHORS.txt │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── bower.json │ │ ├── dist │ │ │ ├── jquery.js │ │ │ ├── jquery.min.js │ │ │ ├── jquery.min.map │ │ │ ├── jquery.slim.js │ │ │ ├── jquery.slim.min.js │ │ │ └── jquery.slim.min.map │ │ ├── sizzle │ │ │ ├── LICENSE.txt │ │ │ └── dist │ │ │ │ ├── sizzle.js │ │ │ │ ├── sizzle.min.js │ │ │ │ └── sizzle.min.map │ │ └── src │ │ │ ├── .jshintrc │ │ │ ├── ajax.js │ │ │ ├── ajax │ │ │ ├── jsonp.js │ │ │ ├── load.js │ │ │ ├── parseJSON.js │ │ │ ├── parseXML.js │ │ │ ├── script.js │ │ │ ├── var │ │ │ │ ├── location.js │ │ │ │ ├── nonce.js │ │ │ │ └── rquery.js │ │ │ └── xhr.js │ │ │ ├── attributes.js │ │ │ ├── attributes │ │ │ ├── attr.js │ │ │ ├── classes.js │ │ │ ├── prop.js │ │ │ ├── support.js │ │ │ └── val.js │ │ │ ├── callbacks.js │ │ │ ├── core.js │ │ │ ├── core │ │ │ ├── DOMEval.js │ │ │ ├── access.js │ │ │ ├── init.js │ │ │ ├── parseHTML.js │ │ │ ├── ready.js │ │ │ ├── support.js │ │ │ └── var │ │ │ │ └── rsingleTag.js │ │ │ ├── css.js │ │ │ ├── css │ │ │ ├── addGetHookIf.js │ │ │ ├── adjustCSS.js │ │ │ ├── curCSS.js │ │ │ ├── defaultDisplay.js │ │ │ ├── hiddenVisibleSelectors.js │ │ │ ├── showHide.js │ │ │ ├── support.js │ │ │ └── var │ │ │ │ ├── cssExpand.js │ │ │ │ ├── getStyles.js │ │ │ │ ├── isHidden.js │ │ │ │ ├── rmargin.js │ │ │ │ ├── rnumnonpx.js │ │ │ │ └── swap.js │ │ │ ├── data.js │ │ │ ├── data │ │ │ ├── Data.js │ │ │ ├── accepts.js │ │ │ ├── support.js │ │ │ └── var │ │ │ │ ├── acceptData.js │ │ │ │ ├── dataPriv.js │ │ │ │ └── dataUser.js │ │ │ ├── deferred.js │ │ │ ├── deferred │ │ │ └── exceptionHook.js │ │ │ ├── deprecated.js │ │ │ ├── dimensions.js │ │ │ ├── effects.js │ │ │ ├── effects │ │ │ ├── Tween.js │ │ │ ├── animatedSelector.js │ │ │ └── support.js │ │ │ ├── event.js │ │ │ ├── event │ │ │ ├── ajax.js │ │ │ ├── alias.js │ │ │ ├── focusin.js │ │ │ ├── support.js │ │ │ └── trigger.js │ │ │ ├── exports │ │ │ ├── amd.js │ │ │ └── global.js │ │ │ ├── intro.js │ │ │ ├── jquery.js │ │ │ ├── manipulation.js │ │ │ ├── manipulation │ │ │ ├── _evalUrl.js │ │ │ ├── buildFragment.js │ │ │ ├── createSafeFragment.js │ │ │ ├── getAll.js │ │ │ ├── setGlobalEval.js │ │ │ ├── support.js │ │ │ ├── var │ │ │ │ ├── nodeNames.js │ │ │ │ ├── rcheckableType.js │ │ │ │ ├── rleadingWhitespace.js │ │ │ │ ├── rscriptType.js │ │ │ │ └── rtagName.js │ │ │ └── wrapMap.js │ │ │ ├── offset.js │ │ │ ├── outro.js │ │ │ ├── queue.js │ │ │ ├── queue │ │ │ └── delay.js │ │ │ ├── selector-native.js │ │ │ ├── selector-sizzle.js │ │ │ ├── selector.js │ │ │ ├── serialize.js │ │ │ ├── support.js │ │ │ ├── traversing.js │ │ │ ├── traversing │ │ │ ├── findFilter.js │ │ │ └── var │ │ │ │ ├── dir.js │ │ │ │ ├── rneedsContext.js │ │ │ │ └── siblings.js │ │ │ ├── var │ │ │ ├── arr.js │ │ │ ├── class2type.js │ │ │ ├── concat.js │ │ │ ├── deletedIds.js │ │ │ ├── document.js │ │ │ ├── documentElement.js │ │ │ ├── hasOwn.js │ │ │ ├── indexOf.js │ │ │ ├── pnum.js │ │ │ ├── push.js │ │ │ ├── rcssNum.js │ │ │ ├── rnotwhite.js │ │ │ ├── slice.js │ │ │ ├── support.js │ │ │ └── toString.js │ │ │ └── wrap.js │ ├── moment │ │ ├── .bower.json │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bower.json │ │ ├── locale │ │ │ ├── af.js │ │ │ ├── ar-ma.js │ │ │ ├── ar-sa.js │ │ │ ├── ar-tn.js │ │ │ ├── ar.js │ │ │ ├── az.js │ │ │ ├── be.js │ │ │ ├── bg.js │ │ │ ├── bn.js │ │ │ ├── bo.js │ │ │ ├── br.js │ │ │ ├── bs.js │ │ │ ├── ca.js │ │ │ ├── cs.js │ │ │ ├── cv.js │ │ │ ├── cy.js │ │ │ ├── da.js │ │ │ ├── de-at.js │ │ │ ├── de.js │ │ │ ├── dv.js │ │ │ ├── el.js │ │ │ ├── en-au.js │ │ │ ├── en-ca.js │ │ │ ├── en-gb.js │ │ │ ├── en-ie.js │ │ │ ├── en-nz.js │ │ │ ├── eo.js │ │ │ ├── es.js │ │ │ ├── et.js │ │ │ ├── eu.js │ │ │ ├── fa.js │ │ │ ├── fi.js │ │ │ ├── fo.js │ │ │ ├── fr-ca.js │ │ │ ├── fr-ch.js │ │ │ ├── fr.js │ │ │ ├── fy.js │ │ │ ├── gd.js │ │ │ ├── gl.js │ │ │ ├── he.js │ │ │ ├── hi.js │ │ │ ├── hr.js │ │ │ ├── hu.js │ │ │ ├── hy-am.js │ │ │ ├── id.js │ │ │ ├── is.js │ │ │ ├── it.js │ │ │ ├── ja.js │ │ │ ├── jv.js │ │ │ ├── ka.js │ │ │ ├── kk.js │ │ │ ├── km.js │ │ │ ├── ko.js │ │ │ ├── ky.js │ │ │ ├── lb.js │ │ │ ├── lo.js │ │ │ ├── lt.js │ │ │ ├── lv.js │ │ │ ├── me.js │ │ │ ├── mk.js │ │ │ ├── ml.js │ │ │ ├── mr.js │ │ │ ├── ms-my.js │ │ │ ├── ms.js │ │ │ ├── my.js │ │ │ ├── nb.js │ │ │ ├── ne.js │ │ │ ├── nl.js │ │ │ ├── nn.js │ │ │ ├── pa-in.js │ │ │ ├── pl.js │ │ │ ├── pt-br.js │ │ │ ├── pt.js │ │ │ ├── ro.js │ │ │ ├── ru.js │ │ │ ├── se.js │ │ │ ├── si.js │ │ │ ├── sk.js │ │ │ ├── sl.js │ │ │ ├── sq.js │ │ │ ├── sr-cyrl.js │ │ │ ├── sr.js │ │ │ ├── ss.js │ │ │ ├── sv.js │ │ │ ├── sw.js │ │ │ ├── ta.js │ │ │ ├── te.js │ │ │ ├── th.js │ │ │ ├── tl-ph.js │ │ │ ├── tlh.js │ │ │ ├── tr.js │ │ │ ├── tzl.js │ │ │ ├── tzm-latn.js │ │ │ ├── tzm.js │ │ │ ├── uk.js │ │ │ ├── uz.js │ │ │ ├── vi.js │ │ │ ├── x-pseudo.js │ │ │ ├── zh-cn.js │ │ │ └── zh-tw.js │ │ ├── min │ │ │ ├── locales.js │ │ │ ├── locales.min.js │ │ │ ├── moment-with-locales.js │ │ │ ├── moment-with-locales.min.js │ │ │ ├── moment.min.js │ │ │ └── tests.js │ │ ├── moment.d.ts │ │ ├── moment.js │ │ ├── src │ │ │ ├── lib │ │ │ │ ├── create │ │ │ │ │ ├── check-overflow.js │ │ │ │ │ ├── date-from-array.js │ │ │ │ │ ├── from-anything.js │ │ │ │ │ ├── from-array.js │ │ │ │ │ ├── from-object.js │ │ │ │ │ ├── from-string-and-array.js │ │ │ │ │ ├── from-string-and-format.js │ │ │ │ │ ├── from-string.js │ │ │ │ │ ├── local.js │ │ │ │ │ ├── parsing-flags.js │ │ │ │ │ ├── utc.js │ │ │ │ │ └── valid.js │ │ │ │ ├── duration │ │ │ │ │ ├── abs.js │ │ │ │ │ ├── add-subtract.js │ │ │ │ │ ├── as.js │ │ │ │ │ ├── bubble.js │ │ │ │ │ ├── constructor.js │ │ │ │ │ ├── create.js │ │ │ │ │ ├── duration.js │ │ │ │ │ ├── get.js │ │ │ │ │ ├── humanize.js │ │ │ │ │ ├── iso-string.js │ │ │ │ │ └── prototype.js │ │ │ │ ├── format │ │ │ │ │ └── format.js │ │ │ │ ├── locale │ │ │ │ │ ├── calendar.js │ │ │ │ │ ├── constructor.js │ │ │ │ │ ├── en.js │ │ │ │ │ ├── formats.js │ │ │ │ │ ├── invalid.js │ │ │ │ │ ├── lists.js │ │ │ │ │ ├── locale.js │ │ │ │ │ ├── locales.js │ │ │ │ │ ├── ordinal.js │ │ │ │ │ ├── pre-post-format.js │ │ │ │ │ ├── prototype.js │ │ │ │ │ ├── relative.js │ │ │ │ │ └── set.js │ │ │ │ ├── moment │ │ │ │ │ ├── add-subtract.js │ │ │ │ │ ├── calendar.js │ │ │ │ │ ├── clone.js │ │ │ │ │ ├── compare.js │ │ │ │ │ ├── constructor.js │ │ │ │ │ ├── creation-data.js │ │ │ │ │ ├── diff.js │ │ │ │ │ ├── format.js │ │ │ │ │ ├── from.js │ │ │ │ │ ├── get-set.js │ │ │ │ │ ├── locale.js │ │ │ │ │ ├── min-max.js │ │ │ │ │ ├── moment.js │ │ │ │ │ ├── now.js │ │ │ │ │ ├── prototype.js │ │ │ │ │ ├── start-end-of.js │ │ │ │ │ ├── to-type.js │ │ │ │ │ ├── to.js │ │ │ │ │ └── valid.js │ │ │ │ ├── parse │ │ │ │ │ ├── regex.js │ │ │ │ │ └── token.js │ │ │ │ ├── units │ │ │ │ │ ├── aliases.js │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── day-of-month.js │ │ │ │ │ ├── day-of-week.js │ │ │ │ │ ├── day-of-year.js │ │ │ │ │ ├── hour.js │ │ │ │ │ ├── millisecond.js │ │ │ │ │ ├── minute.js │ │ │ │ │ ├── month.js │ │ │ │ │ ├── offset.js │ │ │ │ │ ├── quarter.js │ │ │ │ │ ├── second.js │ │ │ │ │ ├── timestamp.js │ │ │ │ │ ├── timezone.js │ │ │ │ │ ├── units.js │ │ │ │ │ ├── week-calendar-utils.js │ │ │ │ │ ├── week-year.js │ │ │ │ │ ├── week.js │ │ │ │ │ └── year.js │ │ │ │ └── utils │ │ │ │ │ ├── abs-ceil.js │ │ │ │ │ ├── abs-floor.js │ │ │ │ │ ├── abs-round.js │ │ │ │ │ ├── compare-arrays.js │ │ │ │ │ ├── defaults.js │ │ │ │ │ ├── deprecate.js │ │ │ │ │ ├── extend.js │ │ │ │ │ ├── has-own-prop.js │ │ │ │ │ ├── hooks.js │ │ │ │ │ ├── index-of.js │ │ │ │ │ ├── is-array.js │ │ │ │ │ ├── is-date.js │ │ │ │ │ ├── is-function.js │ │ │ │ │ ├── is-object.js │ │ │ │ │ ├── is-undefined.js │ │ │ │ │ ├── keys.js │ │ │ │ │ ├── map.js │ │ │ │ │ ├── some.js │ │ │ │ │ ├── to-int.js │ │ │ │ │ └── zero-fill.js │ │ │ ├── locale │ │ │ │ ├── af.js │ │ │ │ ├── ar-ma.js │ │ │ │ ├── ar-sa.js │ │ │ │ ├── ar-tn.js │ │ │ │ ├── ar.js │ │ │ │ ├── az.js │ │ │ │ ├── be.js │ │ │ │ ├── bg.js │ │ │ │ ├── bn.js │ │ │ │ ├── bo.js │ │ │ │ ├── br.js │ │ │ │ ├── bs.js │ │ │ │ ├── ca.js │ │ │ │ ├── cs.js │ │ │ │ ├── cv.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de-at.js │ │ │ │ ├── de.js │ │ │ │ ├── dv.js │ │ │ │ ├── el.js │ │ │ │ ├── en-au.js │ │ │ │ ├── en-ca.js │ │ │ │ ├── en-gb.js │ │ │ │ ├── en-ie.js │ │ │ │ ├── en-nz.js │ │ │ │ ├── eo.js │ │ │ │ ├── es.js │ │ │ │ ├── et.js │ │ │ │ ├── eu.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fo.js │ │ │ │ ├── fr-ca.js │ │ │ │ ├── fr-ch.js │ │ │ │ ├── fr.js │ │ │ │ ├── fy.js │ │ │ │ ├── gd.js │ │ │ │ ├── gl.js │ │ │ │ ├── he.js │ │ │ │ ├── hi.js │ │ │ │ ├── hr.js │ │ │ │ ├── hu.js │ │ │ │ ├── hy-am.js │ │ │ │ ├── id.js │ │ │ │ ├── is.js │ │ │ │ ├── it.js │ │ │ │ ├── ja.js │ │ │ │ ├── jv.js │ │ │ │ ├── ka.js │ │ │ │ ├── kk.js │ │ │ │ ├── km.js │ │ │ │ ├── ko.js │ │ │ │ ├── ky.js │ │ │ │ ├── lb.js │ │ │ │ ├── lo.js │ │ │ │ ├── lt.js │ │ │ │ ├── lv.js │ │ │ │ ├── me.js │ │ │ │ ├── mk.js │ │ │ │ ├── ml.js │ │ │ │ ├── mr.js │ │ │ │ ├── ms-my.js │ │ │ │ ├── ms.js │ │ │ │ ├── my.js │ │ │ │ ├── nb.js │ │ │ │ ├── ne.js │ │ │ │ ├── nl.js │ │ │ │ ├── nn.js │ │ │ │ ├── pa-in.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── pt.js │ │ │ │ ├── ro.js │ │ │ │ ├── ru.js │ │ │ │ ├── se.js │ │ │ │ ├── si.js │ │ │ │ ├── sk.js │ │ │ │ ├── sl.js │ │ │ │ ├── sq.js │ │ │ │ ├── sr-cyrl.js │ │ │ │ ├── sr.js │ │ │ │ ├── ss.js │ │ │ │ ├── sv.js │ │ │ │ ├── sw.js │ │ │ │ ├── ta.js │ │ │ │ ├── te.js │ │ │ │ ├── th.js │ │ │ │ ├── tl-ph.js │ │ │ │ ├── tlh.js │ │ │ │ ├── tr.js │ │ │ │ ├── tzl.js │ │ │ │ ├── tzm-latn.js │ │ │ │ ├── tzm.js │ │ │ │ ├── uk.js │ │ │ │ ├── uz.js │ │ │ │ ├── vi.js │ │ │ │ ├── x-pseudo.js │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh-tw.js │ │ │ └── moment.js │ │ └── templates │ │ │ ├── amd-named.js │ │ │ ├── amd.js │ │ │ ├── default.js │ │ │ ├── globals.js │ │ │ ├── locale-header.js │ │ │ └── test-header.js │ └── mqttws │ │ ├── .bower.json │ │ ├── CONTRIBUTING.md │ │ ├── Gruntfile.js │ │ ├── README.md │ │ ├── about.html │ │ ├── bower.json │ │ ├── edl-v10 │ │ ├── epl-v10 │ │ ├── mqttws31.js │ │ ├── notice.html │ │ └── package.json │ ├── game.html │ ├── js │ ├── aws_iot.js │ ├── aws_sigv4.js │ ├── color.jquery.js │ ├── colors.js │ ├── connectAsThing.js │ ├── jquery.usmap.js │ ├── map.js │ ├── raphael.js │ └── updateDom.js │ ├── map.html │ └── sync.sh ├── handling-responses ├── README.md ├── dialog-directive-delegate │ ├── LICENSE.txt │ ├── README.md │ ├── package.json │ ├── sample-nodejs-fact │ │ ├── README.md │ │ ├── speech-assets │ │ │ └── InteractionModel.json │ │ └── src │ │ │ ├── index.js │ │ │ └── package.json │ ├── sample-nodejs-plan-my-trip │ │ ├── speech-assets │ │ │ └── InteractionModel.json │ │ ├── src │ │ │ ├── SampleWithoutTheSDK.js │ │ │ ├── index.js │ │ │ └── package.json │ │ └── tests │ │ │ ├── AlexaStartSession.json │ │ │ ├── RequestCompleted.json │ │ │ ├── RequestInProgress.json │ │ │ ├── RequestStarted.json │ │ │ ├── confirm.json │ │ │ └── elicit.json │ ├── set-up-aws.md │ └── step-by-step │ │ ├── 1-voice-user-interface.md │ │ ├── 2-lambda-function.md │ │ ├── 3-connect-vui-to-code.md │ │ └── 4-testing.md ├── entity-resolution │ ├── README.md │ ├── index.js │ └── interactionModel.json ├── progressive-response │ ├── .ask │ │ └── config │ ├── .gitignore │ ├── README.md │ ├── instructions │ │ ├── 1-voice-user-interface.md │ │ ├── 2-lambda-function.md │ │ ├── 3-connect-vui-to-code.md │ │ ├── 4-testing.md │ │ ├── lambda-role.md │ │ └── set-up-aws.md │ ├── lambda │ │ └── custom │ │ │ ├── Messages.js │ │ │ ├── WikiEventsParseClient.js │ │ │ ├── WikiRequestClient.js │ │ │ ├── index.js │ │ │ └── package.json │ ├── models │ │ └── en-US.json │ ├── skill.json │ └── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt ├── random-phrase │ ├── PAGE2.md │ ├── PAGE3.md │ ├── PAGE4.md │ ├── README.md │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ └── package.json │ └── tests │ │ ├── events │ │ └── alexa-start-session.json │ │ └── test.js ├── say-array │ ├── PAGE2.md │ ├── PAGE3.md │ ├── PAGE4.md │ ├── README.md │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ └── package.json │ └── tests │ │ ├── events │ │ └── alexa-start-session.json │ │ └── test.js ├── slot-value-check │ ├── README.md │ └── index.js ├── ssml-audio │ ├── PAGE2.md │ ├── PAGE3.md │ ├── PAGE4.md │ ├── README.md │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ └── package.json │ └── tests │ │ ├── events │ │ └── alexa-start-session.json │ │ └── test.js └── ssml-speechcons │ ├── README.md │ └── index.js ├── ingredients ├── detecting-if-theres-a-display.md ├── dynamic-welcome-messages.md ├── track-most-frequently-used-intent.md └── using-new-session-to-short-circuit-incoming-intent-and-launch-requests.md ├── labs ├── BirthdayHotline │ ├── README.md │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── Utterances.txt │ └── src │ │ ├── audioEventHandlers.js │ │ ├── constants.js │ │ ├── getRecordings.js │ │ ├── index.js │ │ ├── stateHandlers.js │ │ └── twilio-config-sample.js ├── Day-1 │ ├── 0-hello-world │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ └── SampleUtterances.txt │ │ └── src │ │ │ └── index.js │ ├── 1-number-facts (Simple Fact) │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ └── SampleUtterances.txt │ │ └── src │ │ │ └── index.js │ ├── 2-number-facts (Random Fact) │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ └── SampleUtterances.txt │ │ └── src │ │ │ └── index.js │ ├── 3-number-facts (Built-in Slots) │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ └── SampleUtterances.txt │ │ └── src │ │ │ └── index.js │ ├── 4-number-facts (External API) │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ └── SampleUtterances.txt │ │ └── src │ │ │ └── index.js │ ├── 5-number-facts (Custom Slots) │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ ├── SampleUtterances.txt │ │ │ └── slots.txt │ │ └── src │ │ │ └── index.js │ ├── 6-number-facts (Set Session Attributes) │ │ ├── README.md │ │ ├── speechAssets │ │ │ ├── IntentSchema.json │ │ │ ├── SampleUtterances.txt │ │ │ └── slots.txt │ │ └── src │ │ │ └── index.js │ └── 7-number-facts (Get Session Attributes) │ │ ├── README.md │ │ ├── speechAssets │ │ ├── IntentSchema.json │ │ ├── SampleUtterances.txt │ │ └── slots.txt │ │ └── src │ │ └── index.js ├── FactService │ ├── README.md │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ └── src │ │ ├── index.js │ │ └── package.json ├── HelloWorld │ ├── .ask │ │ └── config │ ├── InteractionModel.json │ ├── LICENSE.txt │ ├── README.md │ ├── instructions │ │ ├── 0-intro.md │ │ ├── 1-voice-user-interface.md │ │ ├── 2-lambda-function.md │ │ ├── 3-connect-vui-to-code.md │ │ ├── 4-testing.md │ │ ├── 5-customization.md │ │ └── 6-publication.md │ ├── lambda │ │ ├── custom │ │ │ ├── index.js │ │ │ └── package.json │ │ └── tests │ │ │ ├── events │ │ │ └── alexa-start-session.json │ │ │ └── test.js │ ├── models │ │ ├── en-US.json │ │ └── models │ │ │ └── en-US.json │ └── skill.json ├── LocalRecommendations │ └── README.md ├── README.md ├── Recipe │ ├── Detailed-Setup-Instructions │ │ ├── Lambda-Function │ │ │ └── README.md │ │ ├── README.md │ │ ├── connect-vui-to-code │ │ │ └── README.md │ │ ├── customization │ │ │ └── README.md │ │ ├── publication │ │ │ └── README.md │ │ ├── testing │ │ │ └── README.md │ │ └── voice-user-interface │ │ │ └── README.md │ ├── README.md │ ├── dialogs │ │ ├── default.txt │ │ └── resume.txt │ ├── speechAssets │ │ ├── IntentSchema.json │ │ ├── InteractionModel.json │ │ └── SampleUtterances.txt │ ├── src │ │ └── index.js │ ├── test.json │ ├── testflow.js │ └── tests │ │ ├── events │ │ └── alexa-start-session.json │ │ └── test.js └── design │ └── README.md ├── testing ├── README.md ├── TestFlow │ ├── README.md │ ├── dialogs │ │ ├── default.txt │ │ └── staterequest.txt │ ├── speechAssets │ │ ├── IntentSchema.json │ │ └── SampleUtterances.txt │ ├── src │ │ ├── index.js │ │ └── package.json │ └── testflow.js └── postman │ └── README.md └── tools ├── README.md └── VUI Testing Tool ├── LICENSE.txt ├── README.md ├── src ├── index.js └── package.json └── step-by-step ├── 1-voice-user-interface.md ├── 2-lambda-function.md ├── 3-connect-vui-to-code.md └── 4-testing.md /aws/Amazon-DynamoDB/LastUse/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent" 5 | }, 6 | { 7 | "intent": "WhatsUpIntent" 8 | }, 9 | { 10 | "intent": "MyNameIsIntent", 11 | "slots": [ 12 | { 13 | "name": "firstname", 14 | "type": "AMAZON.US_FIRST_NAME" 15 | } 16 | ] 17 | }, 18 | { 19 | "intent": "AMAZON.HelpIntent" 20 | }, 21 | { 22 | "intent": "AMAZON.StopIntent" 23 | }, 24 | { 25 | "intent": "AMAZON.CancelIntent" 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /aws/Amazon-DynamoDB/LastUse/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | WhatsUpIntent what is up 3 | MyNameIsIntent my name is {firstname} -------------------------------------------------------------------------------- /aws/Amazon-DynamoDB/read/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", 5 | "slots": [ 6 | { 7 | "name": "MyQuestion", 8 | "type": "AMAZON.US_STATE" 9 | } 10 | ] 11 | }, 12 | 13 | { 14 | "intent": "AMAZON.HelpIntent" 15 | }, 16 | { 17 | "intent": "AMAZON.StopIntent" 18 | }, 19 | { 20 | "intent": "AMAZON.CancelIntent" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /aws/Amazon-DynamoDB/read/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent {MyQuestion} -------------------------------------------------------------------------------- /aws/Amazon-DynamoDB/read/src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SkillStuff", 3 | "version": "1.0.0", 4 | "description": "Lambda function for Alexa", 5 | "readme": "Lambda function for Alexa", 6 | "repository": "my repository", 7 | "main": "index.js", 8 | "scripts": { 9 | "invoke": "aws lambda invoke --function-name 'HelloWorld' --payload fileb://../tests/events/alexa-start-session.json ../tests/out.txt && cat ../tests/out.txt", 10 | "test": "node ../tests/test.js", 11 | "deploy": "npm run zip && npm run upload", 12 | "upload": "aws lambda update-function-code --function-name 'HelloWorld' --zip-file fileb://../index.zip", 13 | "zip": "zip -r ../index.zip . -x 'package.json' -x '*.git*' " 14 | }, 15 | "author": "me", 16 | "license": "Apache-2.0", 17 | "dependencies": { 18 | "alexa-sdk": "^1.0.7" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/update-shadow/README.md: -------------------------------------------------------------------------------- 1 | # Alexa Skills and AWS IoT Workshop. 2 | 3 | 1. [Setup Thing](../setup-thing/README.md#title) || 2. [Create The Skill](../step-2.md#title) || 3. [Create The Lambda Function](../step-3.md#title) || 4. [Connect Skill To Lambda & Add IOT Permissions](../step-4.md#title) || 5. [Webapp-Thing](../step-5.md#title) 4 | 5 | ## Update Shadow 6 | 7 | This skill includes an Intent called `CityIntent` with a slot called `city`, that is of type `AMAZON.EUROPE_CITY`. 8 | 9 | The user will say: `go to London` and the skill will update the IOT Device Shadow with the name of the city. 10 | 11 | #### Instructions for deploying this sample skill 12 | 13 | * [Part 2 - Create the skill](./PAGE2.md#title) 14 | 15 | Back to the [Home Page](../README.md#title) 16 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/update-shadow/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | { 7 | "intent": "CityIntent", 8 | "slots":[ 9 | { 10 | "name":"city", 11 | "type":"AMAZON.EUROPE_CITY" 12 | } 13 | ] 14 | }, 15 | { 16 | "intent": "AMAZON.HelpIntent" 17 | }, 18 | { 19 | "intent": "AMAZON.StopIntent" 20 | }, 21 | { 22 | "intent": "AMAZON.CancelIntent" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/update-shadow/speechAssets/InteractionModel.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "name": "AMAZON.CancelIntent", 5 | "samples": [] 6 | }, 7 | { 8 | "name": "AMAZON.HelpIntent", 9 | "samples": [] 10 | }, 11 | { 12 | "name": "AMAZON.StopIntent", 13 | "samples": [] 14 | }, 15 | { 16 | "name": "CityIntent", 17 | "samples": [ 18 | "go to {city}", 19 | "i am from {city}" 20 | ], 21 | "slots": [ 22 | { 23 | "name": "city", 24 | "type": "AMAZON.EUROPE_CITY", 25 | "samples": [] 26 | } 27 | ] 28 | }, 29 | { 30 | "name": "MyIntent", 31 | "samples": [ 32 | "hello" 33 | ], 34 | "slots": [] 35 | } 36 | ] 37 | } -------------------------------------------------------------------------------- /aws/Amazon-IOT/update-shadow/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | 2 | MyIntent hello 3 | CityIntent go to {city} 4 | CityIntent i am from {city} 5 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/aws-sdk/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for JavaScript 2 | Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | 4 | This product includes software developed at 5 | Amazon Web Services, Inc. (http://aws.amazon.com/). 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/aws-sdk/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aws-sdk", 3 | "ignore": [ 4 | "apis", "doc-src", "dist-tools", "eslint-rules", "features", "lib", 5 | "scripts", "tasks", "test", "Gemfile*", "configuration*", 6 | "Rakefile", "package.json", "testem.json", ".*", "index.js" 7 | ], 8 | "main": "dist/aws-sdk.js" 9 | } 10 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution 2 | 3 | # Git Flow 4 | 5 | The crypto-js project uses [git flow](https://github.com/nvie/gitflow) to manage branches. 6 | Do your changes on the `develop` or even better on a `feature/*` branch. Don't do any changes on the `master` branch. 7 | 8 | # Pull request 9 | 10 | Target your pull request on `develop` branch. Other pull request won't be accepted. 11 | 12 | # How to build 13 | 14 | 1. Clone 15 | 16 | 2. Run 17 | 18 | ```sh 19 | npm install 20 | ``` 21 | 22 | 3. Run 23 | 24 | ```sh 25 | npm run build 26 | ``` 27 | 28 | 4. Check `build` folder -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "crypto-js", 3 | "version": "3.1.6", 4 | "description": "JavaScript library of crypto standards.", 5 | "license": "MIT", 6 | "homepage": "http://github.com/brix/crypto-js", 7 | "repository": { 8 | "type": "git", 9 | "url": "http://github.com/brix/crypto-js.git" 10 | }, 11 | "keywords": [ 12 | "security", 13 | "crypto", 14 | "Hash", 15 | "MD5", 16 | "SHA1", 17 | "SHA-1", 18 | "SHA256", 19 | "SHA-256", 20 | "RC4", 21 | "Rabbit", 22 | "AES", 23 | "DES", 24 | "PBKDF2", 25 | "HMAC", 26 | "OFB", 27 | "CFB", 28 | "CTR", 29 | "CBC", 30 | "Base64" 31 | ], 32 | "main": "index.js", 33 | "dependencies": {}, 34 | "ignore": [] 35 | } 36 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/enc-hex.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Hex; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/enc-latin1.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Latin1; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/enc-utf8.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Utf8; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/format-openssl.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.format.OpenSSL; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/hmac-md5.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./md5"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./md5", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacMD5; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/hmac-ripemd160.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./ripemd160"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./ripemd160", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacRIPEMD160; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/hmac-sha1.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha1"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha1", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA1; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/hmac-sha224.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha256"), require("./sha224"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha256", "./sha224", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA224; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/hmac-sha256.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha256"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha256", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA256; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/hmac-sha3.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha3"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha3", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA3; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/hmac-sha384.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha512"), require("./sha384"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha512", "./sha384", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA384; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/hmac-sha512.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha512"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha512", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA512; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/pad-nopadding.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | /** 17 | * A noop padding strategy. 18 | */ 19 | CryptoJS.pad.NoPadding = { 20 | pad: function () { 21 | }, 22 | 23 | unpad: function () { 24 | } 25 | }; 26 | 27 | 28 | return CryptoJS.pad.NoPadding; 29 | 30 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/crypto-js/pad-pkcs7.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.pad.Pkcs7; 17 | 18 | })); -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-color", 3 | "homepage": "https://github.com/jquery/jquery-color", 4 | "version": "2.1.2", 5 | "_release": "2.1.2", 6 | "_resolution": { 7 | "type": "version", 8 | "tag": "2.1.2", 9 | "commit": "9e5e04c1c4ee66427fbe04cfce8155b76748ca64" 10 | }, 11 | "_source": "https://github.com/jquery/jquery-color.git", 12 | "_target": "^2.1.2", 13 | "_originalSource": "jquery-color", 14 | "_direct": true 15 | } -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/.gitignore: -------------------------------------------------------------------------------- 1 | build/.sizecache.json 2 | dist/ 3 | .DS_Store 4 | node_modules 5 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "test/qunit"] 2 | path = test/qunit 3 | url = git://github.com/jquery/qunit.git 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser": true, 3 | "curly": true, 4 | "eqnull": true, 5 | "eqeqeq": true, 6 | "expr": true, 7 | "jquery": true, 8 | "noarg": true, 9 | "onevar": true, 10 | "quotmark": "double", 11 | "trailing": true, 12 | "undef": true, 13 | "unused": true 14 | } 15 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/AUTHORS.TXT: -------------------------------------------------------------------------------- 1 | Authors ordered by first contribution 2 | 3 | John Resig 4 | Scott González 5 | Corey Frang 6 | eddiemonge 7 | Krinkle 8 | Richard D. Worth 9 | Jörn Zaefferer 10 | Mike Sherov 11 | Brendan Byrd 12 | Christoffer Sawicki 13 | Dmitry 14 | Ben Olson 15 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/test/data/swarminject.js: -------------------------------------------------------------------------------- 1 | // load testswarm agent 2 | (function() { 3 | var url = window.location.search; 4 | url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) ); 5 | if ( !url || url.indexOf("http") !== 0 ) { 6 | return; 7 | } 8 | document.write(""); 9 | })(); 10 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/test/data/testinit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/test/data/testinit.js -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery-Color Test Suite 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

jQuery-Color Test Suite

16 |

17 |
18 |

19 |
    20 | 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/test/jquery.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | var parts = document.location.search.slice( 1 ).split( "&" ), 4 | length = parts.length, 5 | i = 0, 6 | current, 7 | version, 8 | url; 9 | 10 | for ( ; i < length; i++ ) { 11 | current = parts[ i ].split( "=" ); 12 | if ( current[ 0 ] === "jquery" ) { 13 | version = current[ 1 ]; 14 | break; 15 | } 16 | } 17 | 18 | if ( version === "git" ) { 19 | url = "http://code.jquery.com/jquery-git.js"; 20 | } else { 21 | url = "jquery-" + ( version || "1.7.2" ) + ".js"; 22 | } 23 | 24 | document.write( "" ); 25 | 26 | }() ); 27 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery-color/test/unit/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "browser": true, 4 | "curly": true, 5 | "eqnull": true, 6 | "eqeqeq": true, 7 | "expr": true, 8 | "jquery": true, 9 | "latedef": true, 10 | "noarg": true, 11 | "onevar": true, 12 | "quotmark": "double", 13 | "trailing": true, 14 | "undef": true, 15 | "unused": true, 16 | "predef": [ 17 | "asyncTest", 18 | "deepEqual", 19 | "equal", 20 | "expect", 21 | "module", 22 | "notEqual", 23 | "ok", 24 | "start", 25 | "stop", 26 | "strictEqual", 27 | "test" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ], 14 | "homepage": "https://github.com/jquery/jquery-dist", 15 | "version": "2.2.3", 16 | "_release": "2.2.3", 17 | "_resolution": { 18 | "type": "version", 19 | "tag": "2.2.3", 20 | "commit": "af22a351b2ea5801ffb1695abb3bb34d5bed9198" 21 | }, 22 | "_source": "https://github.com/jquery/jquery-dist.git", 23 | "_target": "^2.2.3", 24 | "_originalSource": "jquery", 25 | "_direct": true 26 | } -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ] 14 | } -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "eqnull": true, 6 | "expr": true, 7 | "immed": true, 8 | "noarg": true, 9 | "quotmark": "double", 10 | "undef": true, 11 | "unused": true, 12 | 13 | "sub": true, 14 | 15 | // Support: IE < 10, Android < 4.1 16 | // The above browsers are failing a lot of tests in the ES5 17 | // test suite at http://test262.ecmascript.org. 18 | "es3": true, 19 | 20 | "globals": { 21 | "window": true, 22 | "JSON": false, 23 | 24 | "jQuery": true, 25 | "define": true, 26 | "module": true, 27 | "noGlobal": true 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/ajax/parseXML.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Cross-browser xml parsing 6 | jQuery.parseXML = function( data ) { 7 | var xml; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); 15 | } catch ( e ) { 16 | xml = undefined; 17 | } 18 | 19 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 20 | jQuery.error( "Invalid XML: " + data ); 21 | } 22 | return xml; 23 | }; 24 | 25 | return jQuery.parseXML; 26 | 27 | } ); 28 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/ajax/var/location.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.location; 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\?/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | } ); 12 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/core/DOMEval.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document" 3 | ], function( document ) { 4 | function DOMEval( code, doc ) { 5 | doc = doc || document; 6 | 7 | var script = doc.createElement( "script" ); 8 | 9 | script.text = code; 10 | doc.head.appendChild( script ).parentNode.removeChild( script ); 11 | } 12 | 13 | return DOMEval; 14 | } ); 15 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/core/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | // Support: Safari 8+ 7 | // In Safari 8 documents created via document.implementation.createHTMLDocument 8 | // collapse sibling forms: the second one becomes a child of the first one. 9 | // Because of that, this security measure has to be disabled in Safari 8. 10 | // https://bugs.webkit.org/show_bug.cgi?id=137337 11 | support.createHTMLDocument = ( function() { 12 | var body = document.implementation.createHTMLDocument( "" ).body; 13 | body.innerHTML = "
    "; 14 | return body.childNodes.length === 2; 15 | } )(); 16 | 17 | return support; 18 | } ); 19 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // Match a standalone tag 4 | return ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/css/addGetHookIf.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | function addGetHookIf( conditionFn, hookFn ) { 4 | 5 | // Define the hook, we'll check on the first run if it's really needed. 6 | return { 7 | get: function() { 8 | if ( conditionFn() ) { 9 | 10 | // Hook not needed (or it's not possible to use it due 11 | // to missing dependency), remove it. 12 | delete this.get; 13 | return; 14 | } 15 | 16 | // Hook needed; redefine it so that the support test is not executed again. 17 | return ( this.get = hookFn ).apply( this, arguments ); 18 | } 19 | }; 20 | } 21 | 22 | return addGetHookIf; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/css/hiddenVisibleSelectors.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector" 4 | ], function( jQuery ) { 5 | 6 | jQuery.expr.filters.hidden = function( elem ) { 7 | return !jQuery.expr.filters.visible( elem ); 8 | }; 9 | jQuery.expr.filters.visible = function( elem ) { 10 | 11 | // Support: Opera <= 12.12 12 | // Opera reports offsetWidths and offsetHeights less than zero on some elements 13 | // Use OR instead of AND as the element is not visible if either is true 14 | // See tickets #10406 and #13132 15 | return elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0; 16 | }; 17 | 18 | } ); 19 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return function( elem ) { 3 | 4 | // Support: IE<=11+, Firefox<=30+ (#15098, #14150) 5 | // IE throws on elements created in popups 6 | // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 7 | var view = elem.ownerDocument.defaultView; 8 | 9 | if ( !view || !view.opener ) { 10 | view = window; 11 | } 12 | 13 | return view.getComputedStyle( elem ); 14 | }; 15 | } ); 16 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/css/var/isHidden.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | 5 | // css is assumed 6 | ], function( jQuery ) { 7 | 8 | return function( elem, el ) { 9 | 10 | // isHidden might be called from jQuery#filter function; 11 | // in that case, element will be second argument 12 | elem = el || elem; 13 | return jQuery.css( elem, "display" ) === "none" || 14 | !jQuery.contains( elem.ownerDocument, elem ); 15 | }; 16 | } ); 17 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^margin/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/css/var/swap.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // A method for quickly swapping in/out CSS properties to get correct calculations. 4 | return function( elem, options, callback, args ) { 5 | var ret, name, 6 | old = {}; 7 | 8 | // Remember the old values, and insert the new ones 9 | for ( name in options ) { 10 | old[ name ] = elem.style[ name ]; 11 | elem.style[ name ] = options[ name ]; 12 | } 13 | 14 | ret = callback.apply( elem, args || [] ); 15 | 16 | // Revert the old values 17 | for ( name in options ) { 18 | elem.style[ name ] = old[ name ]; 19 | } 20 | 21 | return ret; 22 | }; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/data/accepts.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | jQuery.acceptData = function( owner ) { 9 | // Accepts only: 10 | // - Node 11 | // - Node.ELEMENT_NODE 12 | // - Node.DOCUMENT_NODE 13 | // - Object 14 | // - Any 15 | /* jshint -W018 */ 16 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 17 | }; 18 | 19 | return jQuery.acceptData; 20 | }); 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/data/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var div = document.createElement( "div" ); 8 | 9 | // Support: IE<9 10 | support.deleteExpando = true; 11 | try { 12 | delete div.test; 13 | } catch ( e ) { 14 | support.deleteExpando = false; 15 | } 16 | 17 | // Null elements to avoid leaks in IE. 18 | div = null; 19 | } )(); 20 | 21 | return support; 22 | 23 | } ); 24 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/data/var/acceptData.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | /** 4 | * Determines whether an object can have data 5 | */ 6 | return function( owner ) { 7 | 8 | // Accepts only: 9 | // - Node 10 | // - Node.ELEMENT_NODE 11 | // - Node.DOCUMENT_NODE 12 | // - Object 13 | // - Any 14 | /* jshint -W018 */ 15 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 16 | }; 17 | 18 | } ); 19 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/data/var/dataPriv.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/data/var/dataUser.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/deferred/exceptionHook.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../deferred" 4 | ], function( jQuery ) { 5 | 6 | // These usually indicate a programmer mistake during development, 7 | // warn about them ASAP rather than swallowing them by default. 8 | var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 9 | 10 | jQuery.Deferred.exceptionHook = function( error, stack ) { 11 | 12 | // Support: IE9 13 | // Console exists when dev tools are open, which can happen at any time 14 | if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { 15 | window.console.warn( "jQuery.Deferred exception: " + error.message, stack ); 16 | } 17 | }; 18 | 19 | } ); 20 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/deprecated.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core" 3 | ], function( jQuery ) { 4 | 5 | jQuery.fn.extend( { 6 | 7 | bind: function( types, data, fn ) { 8 | return this.on( types, null, data, fn ); 9 | }, 10 | unbind: function( types, fn ) { 11 | return this.off( types, null, fn ); 12 | }, 13 | 14 | delegate: function( selector, types, data, fn ) { 15 | return this.on( types, selector, data, fn ); 16 | }, 17 | undelegate: function( selector, types, fn ) { 18 | 19 | // ( namespace ) or ( selector, types [, fn] ) 20 | return arguments.length === 1 ? 21 | this.off( selector, "**" ) : 22 | this.off( types, selector || "**", fn ); 23 | }, 24 | size: function() { 25 | return this.length; 26 | } 27 | } ); 28 | 29 | jQuery.fn.andSelf = jQuery.fn.addBack; 30 | 31 | } ); 32 | 33 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep( jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | } ).length; 11 | }; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/event/ajax.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../event" 4 | ], function( jQuery ) { 5 | 6 | // Attach a bunch of functions for handling common AJAX events 7 | jQuery.each( [ 8 | "ajaxStart", 9 | "ajaxStop", 10 | "ajaxComplete", 11 | "ajaxError", 12 | "ajaxSuccess", 13 | "ajaxSend" 14 | ], function( i, type ) { 15 | jQuery.fn[ type ] = function( fn ) { 16 | return this.on( type, fn ); 17 | }; 18 | } ); 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/event/alias.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | 4 | "../event", 5 | "./trigger" 6 | ], function( jQuery ) { 7 | 8 | jQuery.each( ( "blur focus focusin focusout load resize scroll unload click dblclick " + 9 | "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 10 | "change select submit keydown keypress keyup error contextmenu" ).split( " " ), 11 | function( i, name ) { 12 | 13 | // Handle event binding 14 | jQuery.fn[ name ] = function( data, fn ) { 15 | return arguments.length > 0 ? 16 | this.on( name, null, data, fn ) : 17 | this.trigger( name ); 18 | }; 19 | } ); 20 | 21 | jQuery.fn.extend( { 22 | hover: function( fnOver, fnOut ) { 23 | return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); 24 | } 25 | } ); 26 | 27 | } ); 28 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusin = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | } ); 10 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/exports/global.js: -------------------------------------------------------------------------------- 1 | var 2 | 3 | // Map over jQuery in case of overwrite 4 | _jQuery = window.jQuery, 5 | 6 | // Map over the $ in case of overwrite 7 | _$ = window.$; 8 | 9 | jQuery.noConflict = function( deep ) { 10 | if ( window.$ === jQuery ) { 11 | window.$ = _$; 12 | } 13 | 14 | if ( deep && window.jQuery === jQuery ) { 15 | window.jQuery = _jQuery; 16 | } 17 | 18 | return jQuery; 19 | }; 20 | 21 | // Expose jQuery and $ identifiers, even in AMD 22 | // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 23 | // and CommonJS for browser emulators (#13566) 24 | if ( !noGlobal ) { 25 | window.jQuery = window.$ = jQuery; 26 | } 27 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/jquery.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./selector", 4 | "./traversing", 5 | "./callbacks", 6 | "./deferred", 7 | "./core/ready", 8 | "./data", 9 | "./queue", 10 | "./queue/delay", 11 | "./attributes", 12 | "./event", 13 | "./event/alias", 14 | "./event/focusin", 15 | "./manipulation", 16 | "./manipulation/_evalUrl", 17 | "./wrap", 18 | "./css", 19 | "./css/hiddenVisibleSelectors", 20 | "./serialize", 21 | "./ajax", 22 | "./ajax/xhr", 23 | "./ajax/script", 24 | "./ajax/jsonp", 25 | "./ajax/load", 26 | "./event/ajax", 27 | "./effects", 28 | "./effects/animatedSelector", 29 | "./offset", 30 | "./dimensions", 31 | "./deprecated", 32 | "./exports/amd" 33 | ], function( jQuery ) { 34 | 35 | return ( window.jQuery = window.$ = jQuery ); 36 | 37 | } ); 38 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax( { 7 | url: url, 8 | 9 | // Make this explicit, since user can override this through ajaxSetup (#11264) 10 | type: "GET", 11 | dataType: "script", 12 | async: false, 13 | global: false, 14 | "throws": true 15 | } ); 16 | }; 17 | 18 | return jQuery._evalUrl; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/createSafeFragment.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./var/nodeNames" 3 | ], function( nodeNames ) { 4 | 5 | function createSafeFragment( document ) { 6 | var list = nodeNames.split( "|" ), 7 | safeFrag = document.createDocumentFragment(); 8 | 9 | if ( safeFrag.createElement ) { 10 | while ( list.length ) { 11 | safeFrag.createElement( 12 | list.pop() 13 | ); 14 | } 15 | } 16 | return safeFrag; 17 | } 18 | 19 | return createSafeFragment; 20 | } ); 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/getAll.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | function getAll( context, tag ) { 6 | 7 | // Support: IE9-11+ 8 | // Use typeof to avoid zero-argument method invocation on host objects (#15151) 9 | var ret = typeof context.getElementsByTagName !== "undefined" ? 10 | context.getElementsByTagName( tag || "*" ) : 11 | typeof context.querySelectorAll !== "undefined" ? 12 | context.querySelectorAll( tag || "*" ) : 13 | []; 14 | 15 | return tag === undefined || tag && jQuery.nodeName( context, tag ) ? 16 | jQuery.merge( [ context ], ret ) : 17 | ret; 18 | } 19 | 20 | return getAll; 21 | } ); 22 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/setGlobalEval.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../data/var/dataPriv" 3 | ], function( dataPriv ) { 4 | 5 | // Mark scripts as having already been evaluated 6 | function setGlobalEval( elems, refElements ) { 7 | var i = 0, 8 | l = elems.length; 9 | 10 | for ( ; i < l; i++ ) { 11 | dataPriv.set( 12 | elems[ i ], 13 | "globalEval", 14 | !refElements || dataPriv.get( refElements[ i ], "globalEval" ) 15 | ); 16 | } 17 | } 18 | 19 | return setGlobalEval; 20 | } ); 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/var/nodeNames.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return "abbr|article|aside|audio|bdi|canvas|data|datalist|" + 3 | "details|dialog|figcaption|figure|footer|header|hgroup|main|" + 4 | "mark|meter|nav|output|picture|progress|section|summary|template|time|video"; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^(?:checkbox|radio)$/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/var/rleadingWhitespace.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^\s+/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/var/rscriptType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^$|\/(?:java|ecma)script/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/manipulation/var/rtagName.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /<([\w:-]+)/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | return jQuery; 2 | })); 3 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/queue/delay.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../queue", 4 | "../effects" // Delay is optional because of this dependency 5 | ], function( jQuery ) { 6 | 7 | // Based off of the plugin by Clint Helfers, with permission. 8 | // http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ 9 | jQuery.fn.delay = function( time, type ) { 10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 11 | type = type || "fx"; 12 | 13 | return this.queue( type, function( next, hooks ) { 14 | var timeout = window.setTimeout( next, time ); 15 | hooks.stop = function() { 16 | window.clearTimeout( timeout ); 17 | }; 18 | } ); 19 | }; 20 | 21 | return jQuery.fn.delay; 22 | } ); 23 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "../external/sizzle/dist/sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[ ":" ] = jQuery.expr.pseudos; 9 | jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | } ); 15 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define( [ "./selector-sizzle" ], function() {} ); 2 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/traversing/var/dir.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | 5 | return function( elem, dir, until ) { 6 | var matched = [], 7 | truncate = until !== undefined; 8 | 9 | while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { 10 | if ( elem.nodeType === 1 ) { 11 | if ( truncate && jQuery( elem ).is( until ) ) { 12 | break; 13 | } 14 | matched.push( elem ); 15 | } 16 | } 17 | return matched; 18 | }; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | } ); 7 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/traversing/var/siblings.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | return function( n, elem ) { 4 | var matched = []; 5 | 6 | for ( ; n; n = n.nextSibling ) { 7 | if ( n.nodeType === 1 && n !== elem ) { 8 | matched.push( n ); 9 | } 10 | } 11 | 12 | return matched; 13 | }; 14 | 15 | } ); 16 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // [[Class]] -> type pairs 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/deletedIds.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/document.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.document; 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/documentElement.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./document" 3 | ], function( document ) { 4 | return document.documentElement; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/rcssNum.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/pnum" 3 | ], function( pnum ) { 4 | 5 | return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); 6 | 7 | } ); 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\S+/g ); 3 | } ); 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // All support tests are defined in their respective modules. 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | } ); 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moment", 3 | "main": "moment.js", 4 | "ignore": [ 5 | "**/.*", 6 | "benchmarks", 7 | "bower_components", 8 | "meteor", 9 | "node_modules", 10 | "scripts", 11 | "tasks", 12 | "test", 13 | "component.json", 14 | "composer.json", 15 | "CONTRIBUTING.md", 16 | "ender.js", 17 | "Gruntfile.js", 18 | "Moment.js.nuspec", 19 | "package.js", 20 | "package.json" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/create/from-object.js: -------------------------------------------------------------------------------- 1 | import { normalizeObjectUnits } from '../units/aliases'; 2 | import { configFromArray } from './from-array'; 3 | import map from '../utils/map'; 4 | 5 | export function configFromObject(config) { 6 | if (config._d) { 7 | return; 8 | } 9 | 10 | var i = normalizeObjectUnits(config._i); 11 | config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) { 12 | return obj && parseInt(obj, 10); 13 | }); 14 | 15 | configFromArray(config); 16 | } 17 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/create/local.js: -------------------------------------------------------------------------------- 1 | import { createLocalOrUTC } from './from-anything'; 2 | 3 | export function createLocal (input, format, locale, strict) { 4 | return createLocalOrUTC(input, format, locale, strict, false); 5 | } 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/create/parsing-flags.js: -------------------------------------------------------------------------------- 1 | function defaultParsingFlags() { 2 | // We need to deep clone this object. 3 | return { 4 | empty : false, 5 | unusedTokens : [], 6 | unusedInput : [], 7 | overflow : -2, 8 | charsLeftOver : 0, 9 | nullInput : false, 10 | invalidMonth : null, 11 | invalidFormat : false, 12 | userInvalidated : false, 13 | iso : false, 14 | parsedDateParts : [], 15 | meridiem : null 16 | }; 17 | } 18 | 19 | export default function getParsingFlags(m) { 20 | if (m._pf == null) { 21 | m._pf = defaultParsingFlags(); 22 | } 23 | return m._pf; 24 | } 25 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/create/utc.js: -------------------------------------------------------------------------------- 1 | import { createLocalOrUTC } from './from-anything'; 2 | 3 | export function createUTC (input, format, locale, strict) { 4 | return createLocalOrUTC(input, format, locale, strict, true).utc(); 5 | } 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/duration/abs.js: -------------------------------------------------------------------------------- 1 | var mathAbs = Math.abs; 2 | 3 | export function abs () { 4 | var data = this._data; 5 | 6 | this._milliseconds = mathAbs(this._milliseconds); 7 | this._days = mathAbs(this._days); 8 | this._months = mathAbs(this._months); 9 | 10 | data.milliseconds = mathAbs(data.milliseconds); 11 | data.seconds = mathAbs(data.seconds); 12 | data.minutes = mathAbs(data.minutes); 13 | data.hours = mathAbs(data.hours); 14 | data.months = mathAbs(data.months); 15 | data.years = mathAbs(data.years); 16 | 17 | return this; 18 | } 19 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/duration/add-subtract.js: -------------------------------------------------------------------------------- 1 | import { createDuration } from './create'; 2 | 3 | function addSubtract (duration, input, value, direction) { 4 | var other = createDuration(input, value); 5 | 6 | duration._milliseconds += direction * other._milliseconds; 7 | duration._days += direction * other._days; 8 | duration._months += direction * other._months; 9 | 10 | return duration._bubble(); 11 | } 12 | 13 | // supports only 2.0-style add(1, 's') or add(duration) 14 | export function add (input, value) { 15 | return addSubtract(this, input, value, 1); 16 | } 17 | 18 | // supports only 2.0-style subtract(1, 's') or subtract(duration) 19 | export function subtract (input, value) { 20 | return addSubtract(this, input, value, -1); 21 | } 22 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/duration/duration.js: -------------------------------------------------------------------------------- 1 | // Side effect imports 2 | import './prototype'; 3 | 4 | import { createDuration } from './create'; 5 | import { isDuration } from './constructor'; 6 | import { getSetRelativeTimeThreshold } from './humanize'; 7 | 8 | export { 9 | createDuration, 10 | isDuration, 11 | getSetRelativeTimeThreshold 12 | }; 13 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/locale/calendar.js: -------------------------------------------------------------------------------- 1 | export var defaultCalendar = { 2 | sameDay : '[Today at] LT', 3 | nextDay : '[Tomorrow at] LT', 4 | nextWeek : 'dddd [at] LT', 5 | lastDay : '[Yesterday at] LT', 6 | lastWeek : '[Last] dddd [at] LT', 7 | sameElse : 'L' 8 | }; 9 | 10 | import isFunction from '../utils/is-function'; 11 | 12 | export function calendar (key, mom, now) { 13 | var output = this._calendar[key]; 14 | return isFunction(output) ? output.call(mom, now) : output; 15 | } 16 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/locale/constructor.js: -------------------------------------------------------------------------------- 1 | export function Locale(config) { 2 | if (config != null) { 3 | this.set(config); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/locale/en.js: -------------------------------------------------------------------------------- 1 | import './prototype'; 2 | import { getSetGlobalLocale } from './locales'; 3 | import toInt from '../utils/to-int'; 4 | 5 | getSetGlobalLocale('en', { 6 | ordinalParse: /\d{1,2}(th|st|nd|rd)/, 7 | ordinal : function (number) { 8 | var b = number % 10, 9 | output = (toInt(number % 100 / 10) === 1) ? 'th' : 10 | (b === 1) ? 'st' : 11 | (b === 2) ? 'nd' : 12 | (b === 3) ? 'rd' : 'th'; 13 | return number + output; 14 | } 15 | }); 16 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/locale/formats.js: -------------------------------------------------------------------------------- 1 | export var defaultLongDateFormat = { 2 | LTS : 'h:mm:ss A', 3 | LT : 'h:mm A', 4 | L : 'MM/DD/YYYY', 5 | LL : 'MMMM D, YYYY', 6 | LLL : 'MMMM D, YYYY h:mm A', 7 | LLLL : 'dddd, MMMM D, YYYY h:mm A' 8 | }; 9 | 10 | export function longDateFormat (key) { 11 | var format = this._longDateFormat[key], 12 | formatUpper = this._longDateFormat[key.toUpperCase()]; 13 | 14 | if (format || !formatUpper) { 15 | return format; 16 | } 17 | 18 | this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) { 19 | return val.slice(1); 20 | }); 21 | 22 | return this._longDateFormat[key]; 23 | } 24 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/locale/invalid.js: -------------------------------------------------------------------------------- 1 | export var defaultInvalidDate = 'Invalid date'; 2 | 3 | export function invalidDate () { 4 | return this._invalidDate; 5 | } 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/locale/ordinal.js: -------------------------------------------------------------------------------- 1 | export var defaultOrdinal = '%d'; 2 | export var defaultOrdinalParse = /\d{1,2}/; 3 | 4 | export function ordinal (number) { 5 | return this._ordinal.replace('%d', number); 6 | } 7 | 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/locale/pre-post-format.js: -------------------------------------------------------------------------------- 1 | export function preParsePostFormat (string) { 2 | return string; 3 | } 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/moment/clone.js: -------------------------------------------------------------------------------- 1 | import { Moment } from './constructor'; 2 | 3 | export function clone () { 4 | return new Moment(this); 5 | } 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/moment/creation-data.js: -------------------------------------------------------------------------------- 1 | export function creationData() { 2 | return { 3 | input: this._i, 4 | format: this._f, 5 | locale: this._locale, 6 | isUTC: this._isUTC, 7 | strict: this._strict 8 | }; 9 | } 10 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/moment/from.js: -------------------------------------------------------------------------------- 1 | import { createDuration } from '../duration/create'; 2 | import { createLocal } from '../create/local'; 3 | import { isMoment } from '../moment/constructor'; 4 | 5 | export function from (time, withoutSuffix) { 6 | if (this.isValid() && 7 | ((isMoment(time) && time.isValid()) || 8 | createLocal(time).isValid())) { 9 | return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); 10 | } else { 11 | return this.localeData().invalidDate(); 12 | } 13 | } 14 | 15 | export function fromNow (withoutSuffix) { 16 | return this.from(createLocal(), withoutSuffix); 17 | } 18 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/moment/moment.js: -------------------------------------------------------------------------------- 1 | import { createLocal } from '../create/local'; 2 | import { createUTC } from '../create/utc'; 3 | import { createInvalid } from '../create/valid'; 4 | import { isMoment } from './constructor'; 5 | import { min, max } from './min-max'; 6 | import { now } from './now'; 7 | import momentPrototype from './prototype'; 8 | 9 | function createUnix (input) { 10 | return createLocal(input * 1000); 11 | } 12 | 13 | function createInZone () { 14 | return createLocal.apply(null, arguments).parseZone(); 15 | } 16 | 17 | export { 18 | now, 19 | min, 20 | max, 21 | isMoment, 22 | createUTC, 23 | createUnix, 24 | createLocal, 25 | createInZone, 26 | createInvalid, 27 | momentPrototype 28 | }; 29 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/moment/now.js: -------------------------------------------------------------------------------- 1 | export var now = function () { 2 | return Date.now ? Date.now() : +(new Date()); 3 | }; 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/moment/to.js: -------------------------------------------------------------------------------- 1 | import { createDuration } from '../duration/create'; 2 | import { createLocal } from '../create/local'; 3 | import { isMoment } from '../moment/constructor'; 4 | 5 | export function to (time, withoutSuffix) { 6 | if (this.isValid() && 7 | ((isMoment(time) && time.isValid()) || 8 | createLocal(time).isValid())) { 9 | return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix); 10 | } else { 11 | return this.localeData().invalidDate(); 12 | } 13 | } 14 | 15 | export function toNow (withoutSuffix) { 16 | return this.to(createLocal(), withoutSuffix); 17 | } 18 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/moment/valid.js: -------------------------------------------------------------------------------- 1 | import { isValid as _isValid } from '../create/valid'; 2 | import extend from '../utils/extend'; 3 | import getParsingFlags from '../create/parsing-flags'; 4 | 5 | export function isValid () { 6 | return _isValid(this); 7 | } 8 | 9 | export function parsingFlags () { 10 | return extend({}, getParsingFlags(this)); 11 | } 12 | 13 | export function invalidAt () { 14 | return getParsingFlags(this).overflow; 15 | } 16 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/units/constants.js: -------------------------------------------------------------------------------- 1 | export var YEAR = 0; 2 | export var MONTH = 1; 3 | export var DATE = 2; 4 | export var HOUR = 3; 5 | export var MINUTE = 4; 6 | export var SECOND = 5; 7 | export var MILLISECOND = 6; 8 | export var WEEK = 7; 9 | export var WEEKDAY = 8; 10 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/units/minute.js: -------------------------------------------------------------------------------- 1 | import { makeGetSet } from '../moment/get-set'; 2 | import { addFormatToken } from '../format/format'; 3 | import { addUnitAlias } from './aliases'; 4 | import { addRegexToken, match1to2, match2 } from '../parse/regex'; 5 | import { addParseToken } from '../parse/token'; 6 | import { MINUTE } from './constants'; 7 | 8 | // FORMATTING 9 | 10 | addFormatToken('m', ['mm', 2], 0, 'minute'); 11 | 12 | // ALIASES 13 | 14 | addUnitAlias('minute', 'm'); 15 | 16 | // PARSING 17 | 18 | addRegexToken('m', match1to2); 19 | addRegexToken('mm', match1to2, match2); 20 | addParseToken(['m', 'mm'], MINUTE); 21 | 22 | // MOMENTS 23 | 24 | export var getSetMinute = makeGetSet('Minutes', false); 25 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/units/quarter.js: -------------------------------------------------------------------------------- 1 | import { addFormatToken } from '../format/format'; 2 | import { addUnitAlias } from './aliases'; 3 | import { addRegexToken, match1 } from '../parse/regex'; 4 | import { addParseToken } from '../parse/token'; 5 | import { MONTH } from './constants'; 6 | import toInt from '../utils/to-int'; 7 | 8 | // FORMATTING 9 | 10 | addFormatToken('Q', 0, 'Qo', 'quarter'); 11 | 12 | // ALIASES 13 | 14 | addUnitAlias('quarter', 'Q'); 15 | 16 | // PARSING 17 | 18 | addRegexToken('Q', match1); 19 | addParseToken('Q', function (input, array) { 20 | array[MONTH] = (toInt(input) - 1) * 3; 21 | }); 22 | 23 | // MOMENTS 24 | 25 | export function getSetQuarter (input) { 26 | return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); 27 | } 28 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/units/second.js: -------------------------------------------------------------------------------- 1 | import { makeGetSet } from '../moment/get-set'; 2 | import { addFormatToken } from '../format/format'; 3 | import { addUnitAlias } from './aliases'; 4 | import { addRegexToken, match1to2, match2 } from '../parse/regex'; 5 | import { addParseToken } from '../parse/token'; 6 | import { SECOND } from './constants'; 7 | 8 | // FORMATTING 9 | 10 | addFormatToken('s', ['ss', 2], 0, 'second'); 11 | 12 | // ALIASES 13 | 14 | addUnitAlias('second', 's'); 15 | 16 | // PARSING 17 | 18 | addRegexToken('s', match1to2); 19 | addRegexToken('ss', match1to2, match2); 20 | addParseToken(['s', 'ss'], SECOND); 21 | 22 | // MOMENTS 23 | 24 | export var getSetSecond = makeGetSet('Seconds', false); 25 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/units/timestamp.js: -------------------------------------------------------------------------------- 1 | import { addFormatToken } from '../format/format'; 2 | import { addRegexToken, matchTimestamp, matchSigned } from '../parse/regex'; 3 | import { addParseToken } from '../parse/token'; 4 | import toInt from '../utils/to-int'; 5 | 6 | // FORMATTING 7 | 8 | addFormatToken('X', 0, 0, 'unix'); 9 | addFormatToken('x', 0, 0, 'valueOf'); 10 | 11 | // PARSING 12 | 13 | addRegexToken('x', matchSigned); 14 | addRegexToken('X', matchTimestamp); 15 | addParseToken('X', function (input, array, config) { 16 | config._d = new Date(parseFloat(input, 10) * 1000); 17 | }); 18 | addParseToken('x', function (input, array, config) { 19 | config._d = new Date(toInt(input)); 20 | }); 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/units/timezone.js: -------------------------------------------------------------------------------- 1 | import { addFormatToken } from '../format/format'; 2 | 3 | // FORMATTING 4 | 5 | addFormatToken('z', 0, 0, 'zoneAbbr'); 6 | addFormatToken('zz', 0, 0, 'zoneName'); 7 | 8 | // MOMENTS 9 | 10 | export function getZoneAbbr () { 11 | return this._isUTC ? 'UTC' : ''; 12 | } 13 | 14 | export function getZoneName () { 15 | return this._isUTC ? 'Coordinated Universal Time' : ''; 16 | } 17 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/units/units.js: -------------------------------------------------------------------------------- 1 | // Side effect imports 2 | import './day-of-month'; 3 | import './day-of-week'; 4 | import './day-of-year'; 5 | import './hour'; 6 | import './millisecond'; 7 | import './minute'; 8 | import './month'; 9 | import './offset'; 10 | import './quarter'; 11 | import './second'; 12 | import './timestamp'; 13 | import './timezone'; 14 | import './week-year'; 15 | import './week'; 16 | import './year'; 17 | 18 | import { normalizeUnits } from './aliases'; 19 | 20 | export { normalizeUnits }; 21 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/abs-ceil.js: -------------------------------------------------------------------------------- 1 | export default function absCeil (number) { 2 | if (number < 0) { 3 | return Math.floor(number); 4 | } else { 5 | return Math.ceil(number); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/abs-floor.js: -------------------------------------------------------------------------------- 1 | export default function absFloor (number) { 2 | if (number < 0) { 3 | return Math.ceil(number); 4 | } else { 5 | return Math.floor(number); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/abs-round.js: -------------------------------------------------------------------------------- 1 | export default function absRound (number) { 2 | if (number < 0) { 3 | return Math.round(-1 * number) * -1; 4 | } else { 5 | return Math.round(number); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/compare-arrays.js: -------------------------------------------------------------------------------- 1 | import toInt from './to-int'; 2 | 3 | // compare two arrays, return the number of differences 4 | export default function compareArrays(array1, array2, dontConvert) { 5 | var len = Math.min(array1.length, array2.length), 6 | lengthDiff = Math.abs(array1.length - array2.length), 7 | diffs = 0, 8 | i; 9 | for (i = 0; i < len; i++) { 10 | if ((dontConvert && array1[i] !== array2[i]) || 11 | (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { 12 | diffs++; 13 | } 14 | } 15 | return diffs + lengthDiff; 16 | } 17 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/defaults.js: -------------------------------------------------------------------------------- 1 | // Pick the first defined of two or three arguments. 2 | export default function defaults(a, b, c) { 3 | if (a != null) { 4 | return a; 5 | } 6 | if (b != null) { 7 | return b; 8 | } 9 | return c; 10 | } 11 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/extend.js: -------------------------------------------------------------------------------- 1 | import hasOwnProp from './has-own-prop'; 2 | 3 | export default function extend(a, b) { 4 | for (var i in b) { 5 | if (hasOwnProp(b, i)) { 6 | a[i] = b[i]; 7 | } 8 | } 9 | 10 | if (hasOwnProp(b, 'toString')) { 11 | a.toString = b.toString; 12 | } 13 | 14 | if (hasOwnProp(b, 'valueOf')) { 15 | a.valueOf = b.valueOf; 16 | } 17 | 18 | return a; 19 | } 20 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/has-own-prop.js: -------------------------------------------------------------------------------- 1 | export default function hasOwnProp(a, b) { 2 | return Object.prototype.hasOwnProperty.call(a, b); 3 | } 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/hooks.js: -------------------------------------------------------------------------------- 1 | export { hooks, setHookCallback }; 2 | 3 | var hookCallback; 4 | 5 | function hooks () { 6 | return hookCallback.apply(null, arguments); 7 | } 8 | 9 | // This is done to register the method called with moment() 10 | // without creating circular dependencies. 11 | function setHookCallback (callback) { 12 | hookCallback = callback; 13 | } 14 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/index-of.js: -------------------------------------------------------------------------------- 1 | var indexOf; 2 | 3 | if (Array.prototype.indexOf) { 4 | indexOf = Array.prototype.indexOf; 5 | } else { 6 | indexOf = function (o) { 7 | // I know 8 | var i; 9 | for (i = 0; i < this.length; ++i) { 10 | if (this[i] === o) { 11 | return i; 12 | } 13 | } 14 | return -1; 15 | }; 16 | } 17 | 18 | export { indexOf as default }; 19 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/is-array.js: -------------------------------------------------------------------------------- 1 | export default function isArray(input) { 2 | return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; 3 | } 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/is-date.js: -------------------------------------------------------------------------------- 1 | export default function isDate(input) { 2 | return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; 3 | } 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/is-function.js: -------------------------------------------------------------------------------- 1 | export default function isFunction(input) { 2 | return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; 3 | } 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/is-object.js: -------------------------------------------------------------------------------- 1 | export default function isObject(input) { 2 | return Object.prototype.toString.call(input) === '[object Object]'; 3 | } 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/is-undefined.js: -------------------------------------------------------------------------------- 1 | export default function isUndefined(input) { 2 | return input === void 0; 3 | } 4 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/keys.js: -------------------------------------------------------------------------------- 1 | import hasOwnProp from './has-own-prop'; 2 | 3 | var keys; 4 | 5 | if (Object.keys) { 6 | keys = Object.keys; 7 | } else { 8 | keys = function (obj) { 9 | var i, res = []; 10 | for (i in obj) { 11 | if (hasOwnProp(obj, i)) { 12 | res.push(i); 13 | } 14 | } 15 | return res; 16 | }; 17 | } 18 | 19 | export { keys as default }; 20 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/map.js: -------------------------------------------------------------------------------- 1 | export default function map(arr, fn) { 2 | var res = [], i; 3 | for (i = 0; i < arr.length; ++i) { 4 | res.push(fn(arr[i], i)); 5 | } 6 | return res; 7 | } 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/some.js: -------------------------------------------------------------------------------- 1 | var some; 2 | if (Array.prototype.some) { 3 | some = Array.prototype.some; 4 | } else { 5 | some = function (fun) { 6 | var t = Object(this); 7 | var len = t.length >>> 0; 8 | 9 | for (var i = 0; i < len; i++) { 10 | if (i in t && fun.call(this, t[i], i, t)) { 11 | return true; 12 | } 13 | } 14 | 15 | return false; 16 | }; 17 | } 18 | 19 | export { some as default }; 20 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/to-int.js: -------------------------------------------------------------------------------- 1 | import absFloor from './abs-floor'; 2 | 3 | export default function toInt(argumentForCoercion) { 4 | var coercedNumber = +argumentForCoercion, 5 | value = 0; 6 | 7 | if (coercedNumber !== 0 && isFinite(coercedNumber)) { 8 | value = absFloor(coercedNumber); 9 | } 10 | 11 | return value; 12 | } 13 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/src/lib/utils/zero-fill.js: -------------------------------------------------------------------------------- 1 | export default function zeroFill(number, targetLength, forceSign) { 2 | var absNumber = '' + Math.abs(number), 3 | zerosToFill = targetLength - absNumber.length, 4 | sign = number >= 0; 5 | return (sign ? (forceSign ? '+' : '') : '-') + 6 | Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber; 7 | } 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/templates/amd-named.js: -------------------------------------------------------------------------------- 1 | /*global define:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | define("moment", [], function () { 6 | return moment; 7 | }); 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/templates/amd.js: -------------------------------------------------------------------------------- 1 | /*global define:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | define([], function () { 6 | return moment; 7 | }); 8 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/templates/default.js: -------------------------------------------------------------------------------- 1 | ;(function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : 3 | typeof define === 'function' && define.amd ? define(factory) : 4 | global.moment = factory() 5 | }(this, function () { 'use strict'; 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/templates/globals.js: -------------------------------------------------------------------------------- 1 | /*global window:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | window.moment = moment; 6 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/templates/locale-header.js: -------------------------------------------------------------------------------- 1 | ;(function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' 3 | && typeof require === 'function' ? factory(require('../moment')) : 4 | typeof define === 'function' && define.amd ? define(['moment'], factory) : 5 | factory(global.moment) 6 | }(this, function (moment) { 'use strict'; 7 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/moment/templates/test-header.js: -------------------------------------------------------------------------------- 1 | ;(function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' 3 | && typeof require === 'function' ? factory(require('../../moment')) : 4 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : 5 | factory(global.moment) 6 | }(this, function (moment) { 'use strict'; 7 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/mqttws/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 3 | grunt.initConfig({ 4 | jasmine_node: { 5 | options: { 6 | forceExit: true, 7 | matchall: true, 8 | extensions: 'js', 9 | specNameMatcher: 'spec' 10 | }, 11 | all: ['test/'] 12 | } 13 | }); 14 | 15 | grunt.loadNpmTasks('grunt-jasmine-node'); 16 | 17 | grunt.registerTask('test', ['jasmine_node']); 18 | 19 | }; -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/mqttws/README.md: -------------------------------------------------------------------------------- 1 | mqttws 2 | ====== 3 | 4 | This is a Fork of the [Eclipse Paho JavaScript client](https://eclipse.org/paho/clients/js/). 5 | 6 | Changes include: 7 | 8 | * On invalid utf parseUTF8() now returns the string "\_\_malformed_utf8" instead of throwing an error 9 | * Grunt instead of Maven as test runner 10 | * published on bower.io as "mqttws" 11 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/mqttws/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mqttws", 3 | "version": "1.0.0", 4 | "homepage": "https://github.com/hobbyquaker/mqttws", 5 | "authors": [ 6 | "hobbyquaker " 7 | ], 8 | "description": "Fork of the Eclipse Paho Javascript client", 9 | "main": "mqttws31.js", 10 | "moduleType": [ 11 | "globals" 12 | ], 13 | "keywords": [ 14 | "paho", 15 | "mqtt", 16 | "websocket", 17 | "eclipse", 18 | "mosquitto" 19 | ], 20 | "license": "EPL", 21 | "ignore": [ 22 | "**/.*", 23 | "node_modules", 24 | "bower_components", 25 | "test", 26 | "tests" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/bower_components/mqttws/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mqttws", 3 | "private": true, 4 | "description": "mqttws test environment", 5 | "dependencies": {}, 6 | "devDependencies": { 7 | "grunt": "^0.4.5", 8 | "grunt-jasmine-node": "^0.3.1", 9 | "node-localstorage": "0.x.x", 10 | "websocket": "1.x.x" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /aws/Amazon-IOT/webapp-thing/js/aws_sigv4.js: -------------------------------------------------------------------------------- 1 | /** 2 | * utilities to do sigv4 3 | * @class SigV4Utils 4 | */ 5 | function SigV4Utils() {} 6 | 7 | SigV4Utils.sign = function(key, msg) { 8 | var hash = CryptoJS.HmacSHA256(msg, key); 9 | return hash.toString(CryptoJS.enc.Hex); 10 | }; 11 | 12 | SigV4Utils.sha256 = function(msg) { 13 | var hash = CryptoJS.SHA256(msg); 14 | return hash.toString(CryptoJS.enc.Hex); 15 | }; 16 | 17 | SigV4Utils.getSignatureKey = function(key, dateStamp, regionName, serviceName) { 18 | var kDate = CryptoJS.HmacSHA256(dateStamp, 'AWS4' + key); 19 | var kRegion = CryptoJS.HmacSHA256(regionName, kDate); 20 | var kService = CryptoJS.HmacSHA256(serviceName, kRegion); 21 | var kSigning = CryptoJS.HmacSHA256('aws4_request', kService); 22 | return kSigning; 23 | }; 24 | -------------------------------------------------------------------------------- /aws/Amazon-S3/read/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /aws/Amazon-S3/read/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | -------------------------------------------------------------------------------- /aws/Amazon-SES/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /aws/Amazon-SES/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | -------------------------------------------------------------------------------- /aws/Amazon-SES/src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SkillStuff", 3 | "version": "1.0.0", 4 | "description": "Lambda function for Alexa", 5 | "readme": "Lambda function for Alexa", 6 | "repository": "my repository", 7 | "main": "index.js", 8 | "scripts": { 9 | "invoke": "aws lambda invoke --function-name 'HelloWorld' --payload fileb://../tests/events/alexa-start-session.json ../tests/out.txt && cat ../tests/out.txt", 10 | "test": "node ../tests/test.js", 11 | "deploy": "npm run zip && npm run upload", 12 | "upload": "aws lambda update-function-code --function-name 'HelloWorld' --zip-file fileb://../index.zip", 13 | "zip": "zip -r ../index.zip . -x 'package.json' -x '*.git*' " 14 | }, 15 | "author": "me", 16 | "license": "Apache-2.0", 17 | "dependencies": { 18 | "alexa-sdk": "^1.0.7" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /aws/Amazon-SNS/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /aws/Amazon-SNS/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | -------------------------------------------------------------------------------- /aws/Amazon-SNS/src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SkillStuff", 3 | "version": "1.0.0", 4 | "description": "Lambda function for Alexa", 5 | "readme": "Lambda function for Alexa", 6 | "repository": "my repository", 7 | "main": "index.js", 8 | "scripts": { 9 | "invoke": "aws lambda invoke --function-name 'HelloWorld' --payload fileb://../tests/events/alexa-start-session.json ../tests/out.txt && cat ../tests/out.txt", 10 | "test": "node ../tests/test.js", 11 | "deploy": "npm run zip && npm run upload", 12 | "upload": "aws lambda update-function-code --function-name 'HelloWorld' --zip-file fileb://../index.zip", 13 | "zip": "zip -r ../index.zip . -x 'package.json' -x '*.git*' " 14 | }, 15 | "author": "me", 16 | "license": "Apache-2.0", 17 | "dependencies": { 18 | "alexa-sdk": "^1.0.7" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /context/lists/speech-assets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "TopToDoIntent" 5 | }, 6 | { 7 | "intent": "ClearTopToDoIntent" 8 | }, 9 | { 10 | "intent": "AMAZON.CancelIntent" 11 | }, 12 | { 13 | "intent": "AMAZON.HelpIntent" 14 | }, 15 | { 16 | "intent": "AMAZON.StopIntent" 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /context/lists/speech-assets/sampleUtterances.txt: -------------------------------------------------------------------------------- 1 | TopToDoIntent what is my top todo 2 | TopToDoIntent what is my top to do 3 | TopToDoIntent top todo 4 | TopToDoIntent top to do 5 | TopToDoIntent my top todo 6 | TopToDoIntent my top to do 7 | TopToDoIntent stop todo 8 | TopToDoIntent stop to do 9 | 10 | ClearTopToDoIntent clear top todo 11 | ClearTopToDoIntent clear top to do 12 | ClearTopToDoIntent delete top todo 13 | ClearTopToDoIntent delete top to do 14 | ClearTopToDoIntent delete todo 15 | ClearTopToDoIntent delete to do 16 | ClearTopToDoIntent delete my todo 17 | ClearTopToDoIntent delete my to do 18 | -------------------------------------------------------------------------------- /context/skill-events/.ask/config: -------------------------------------------------------------------------------- 1 | { 2 | "deploy_settings": { 3 | "default": { 4 | "skill_id": "", 5 | "was_cloned": false, 6 | "merge": { 7 | "skillManifest": { 8 | "apis": { 9 | "custom": { 10 | "endpoint": { 11 | "uri": "ask-custom-household-list-default" 12 | } 13 | } 14 | } 15 | } 16 | } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /context/skill-events/lambda/custom/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "skill-sample-nodejs-hello-world", 3 | "version": "1.0.0", 4 | "description": "Hello world sample skill", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1" 7 | }, 8 | "dependencies": { 9 | "alexa-sdk": "^1.0.0" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /display-directive/bodyTemplate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "StatesQuiz", 3 | "version": "1.0.0", 4 | "description": "A quiz about states and their capitals.", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "alexa", 11 | "skill", 12 | "fact" 13 | ], 14 | "author": "Amazon.com", 15 | "license": "Apache-2.0", 16 | "dependencies": { 17 | "alexa-sdk": "^1.0.11", 18 | "voice-insights-sdk": "^1.2.2" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /display-directive/bodyTemplate/test-events/LaunchRequest-simulator.json: -------------------------------------------------------------------------------- 1 | { 2 | "session": { 3 | "new": true, 4 | "sessionId": "amzn1.echo-api.session.[unique-value-here]", 5 | "attributes": {}, 6 | "user": { 7 | "userId": "amzn1.ask.account.[unique-value-here]" 8 | }, 9 | "application": { 10 | "applicationId": "amzn1.ask.skill.[unique-value-here]" 11 | } 12 | }, 13 | "version": "1.0", 14 | "request": { 15 | "locale": "en-US", 16 | "timestamp": "2016-10-27T18:21:44Z", 17 | "type": "LaunchRequest", 18 | "requestId": "amzn1.echo-api.request.[unique-value-here]" 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /display-directive/listTemplate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "StatesQuiz", 3 | "version": "1.0.0", 4 | "description": "A quiz about states and their capitals.", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "alexa", 11 | "skill", 12 | "fact" 13 | ], 14 | "author": "Amazon.com", 15 | "license": "Apache-2.0", 16 | "dependencies": { 17 | "alexa-sdk": "^1.0.11", 18 | "voice-insights-sdk": "^1.2.2" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /display-directive/listTemplate/test-events/LaunchRequest-simulator.json: -------------------------------------------------------------------------------- 1 | { 2 | "session": { 3 | "new": true, 4 | "sessionId": "amzn1.echo-api.session.[unique-value-here]", 5 | "attributes": {}, 6 | "user": { 7 | "userId": "amzn1.ask.account.[unique-value-here]" 8 | }, 9 | "application": { 10 | "applicationId": "amzn1.ask.skill.[unique-value-here]" 11 | } 12 | }, 13 | "version": "1.0", 14 | "request": { 15 | "locale": "en-US", 16 | "timestamp": "2016-10-27T18:21:44Z", 17 | "type": "LaunchRequest", 18 | "requestId": "amzn1.echo-api.request.[unique-value-here]" 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /external-calls/FactService/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent", "slots": [] 5 | }, 6 | { 7 | "intent": "AMAZON.HelpIntent" 8 | }, 9 | { 10 | "intent": "AMAZON.StopIntent" 11 | }, 12 | { 13 | "intent": "AMAZON.CancelIntent" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /external-calls/FactService/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent tell me a fact 2 | GetNewFactIntent give me a fact 3 | GetNewFactIntent i want a fact 4 | GetNewFactIntent tell me something 5 | -------------------------------------------------------------------------------- /external-calls/FactService/webapp/sync.sh: -------------------------------------------------------------------------------- 1 | # This is an AWS CLI shell command to publish the web app file to an S3 bucket 2 | aws s3 sync . s3://fact-service --profile 58 3 | -------------------------------------------------------------------------------- /external-calls/httpsGet/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /external-calls/httpsGet/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | -------------------------------------------------------------------------------- /external-calls/httpsGet/tests/test.py: -------------------------------------------------------------------------------- 1 | import json 2 | import sys 3 | 4 | 5 | sys.path.insert(0, '../src') 6 | 7 | 8 | import index ## the Lambda source code file at ../src/index.py 9 | 10 | with open('events/alexa-start-session.json') as test_request: ## the request JSON stored in a separate file 11 | request_json = json.load(test_request) 12 | # print request_json 13 | 14 | myEvent = json.loads(json.dumps(request_json)) 15 | myContext = '{}' 16 | 17 | # print("testing your Lambda Python function") 18 | 19 | res = index.lambda_handler(myEvent, myContext) ## execute the source code 20 | 21 | print(res) 22 | -------------------------------------------------------------------------------- /external-calls/httpsPost/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /external-calls/httpsPost/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | -------------------------------------------------------------------------------- /games/FlashCards/dialogs/default.txt: -------------------------------------------------------------------------------- 1 | LaunchRequest 2 | PracticeIntent 3 | AMAZON.YesIntent 4 | AnswerIntent usstate=Rhode%20Island 5 | AnswerIntent usstate=Washington 6 | ? AnswerIntent usstate=Massachusetts 7 | ? AnswerIntent usstate=Pennsylvania 8 | AMAZON.YesIntent 9 | ? AnswerIntent usstate=Washington 10 | ? AnswerIntent usstate=Washington 11 | AMAZON.YesIntent 12 | AnswerIntent usstate=Washington 13 | ? AnswerIntent usstate=Washington 14 | ? AnswerIntent usstate=Washington 15 | AMAZON.NoIntent -------------------------------------------------------------------------------- /games/FlashCards/dialogs/practice.txt: -------------------------------------------------------------------------------- 1 | LaunchRequest 2 | PracticeIntent 3 | AMAZON.YesIntent 4 | AnswerIntent usstate=Washington 5 | AnswerIntent usstate=Washington 6 | ? AnswerIntent usstate=Ohio 7 | ? AnswerIntent usstate=Pennsylvania 8 | ? AnswerIntent usstate=Washington 9 | AMAZON.YesIntent 10 | ? AnswerIntent usstate=Washington 11 | ? AnswerIntent usstate=Washington 12 | AMAZON.YesIntent 13 | AnswerIntent usstate=Washington 14 | AnswerIntent usstate=Washington 15 | ? AnswerIntent usstate=Washington 16 | -------------------------------------------------------------------------------- /games/FlashCards/dialogs/quiz.txt: -------------------------------------------------------------------------------- 1 | LaunchRequest 2 | QuizIntent 3 | AMAZON.YesIntent 4 | AnswerIntent usstate=Washington 5 | AnswerIntent usstate=Washington 6 | ? AnswerIntent usstate=Washington 7 | AMAZON.YesIntent 8 | PracticeIntent 9 | AMAZON.YesIntent 10 | ? AnswerIntent usstate=Washington 11 | -------------------------------------------------------------------------------- /games/FlashCards/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "PracticeIntent", 5 | "slots":[] 6 | }, 7 | { 8 | "intent": "QuizIntent", 9 | "slots":[] 10 | }, 11 | { 12 | "intent": "AnswerIntent", 13 | "slots":[ 14 | { 15 | "name":"usstate", 16 | "type":"AMAZON.US_STATE" 17 | } 18 | ] 19 | }, 20 | { 21 | "intent": "AMAZON.YesIntent" 22 | }, 23 | { 24 | "intent": "AMAZON.NoIntent" 25 | }, 26 | { 27 | "intent": "AMAZON.HelpIntent" 28 | }, 29 | { 30 | "intent": "AMAZON.StopIntent" 31 | }, 32 | { 33 | "intent": "AMAZON.CancelIntent" 34 | } 35 | ] 36 | } 37 | -------------------------------------------------------------------------------- /games/FlashCards/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | AnswerIntent it is in {usstate} 2 | AnswerIntent is in {usstate} 3 | AnswerIntent {usstate} 4 | 5 | PracticeIntent practice 6 | QuizIntent quiz 7 | -------------------------------------------------------------------------------- /games/FlashCards/tests/start.sh: -------------------------------------------------------------------------------- 1 | # Test your local Node.JS lambda function with lambda-local 2 | # Install from https://www.npmjs.com/package/lambda-local 3 | # 4 | 5 | lambda-local -l ../src/index.js -h handler -e events/quiztest.json 6 | -------------------------------------------------------------------------------- /games/MixMaster/.ask/config: -------------------------------------------------------------------------------- 1 | { 2 | "deploy_settings": { 3 | "default": { 4 | "skill_id": "", 5 | "was_cloned": false, 6 | "merge": { 7 | "skillManifest": { 8 | "apis": { 9 | "custom": { 10 | "endpoint": { 11 | "uri": "ask-custom-Alchemy_Skill-default" 12 | } 13 | } 14 | } 15 | } 16 | } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /games/MixMaster/lambda/custom/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "skill-sample-nodejs-hello-world", 3 | "version": "1.0.0", 4 | "description": "Hello world sample skill", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1" 7 | }, 8 | "dependencies": { 9 | "alexa-sdk": "^1.0.0" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /games/State_Path/.ask/config: -------------------------------------------------------------------------------- 1 | { 2 | "deploy_settings": { 3 | "default": { 4 | "skill_id": "amzn1.ask.skill.71300ad5-9fc4-4940-895d-80f082d51b02", 5 | "was_cloned": false, 6 | "merge": { 7 | "skillManifest": { 8 | "apis": { 9 | "custom": { 10 | "endpoint": { 11 | "uri": "ask-custom-StatePath-default" 12 | } 13 | } 14 | } 15 | } 16 | } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /games/State_Path/tests/dialogs/biggerpop.txt: -------------------------------------------------------------------------------- 1 | LaunchRequest 2 | ChooseGameIntent gamename=bigger%20pop 3 | AMAZON.YesIntent 4 | USstateIntent usstate=Vermont 5 | USstateIntent usstate=New%20Hampshire 6 | USstateIntent usstate=Massachusetts 7 | USstateIntent usstate=New%20York 8 | AMAZON.NoIntent 9 | 10 | # AMAZON.HelpIntent 11 | # AMAZON.HelpIntent 12 | # AMAZON.CancelIntent 13 | # AMAZON.StopIntent -------------------------------------------------------------------------------- /games/State_Path/tests/dialogs/coast.txt: -------------------------------------------------------------------------------- 1 | LaunchRequest 2 | ChooseGameIntent gamename=coast%20to%20coast 3 | AMAZON.YesIntent 4 | USstateIntent usstate=North%20Carolina 5 | ? USstateIntent usstate=Tennessee 6 | ? USstateIntent usstate=Arkansas 7 | ? USstateIntent usstate=Oklahoma 8 | USstateIntent usstate=New%20Mexico 9 | USstateIntent usstate=Arizona 10 | USstateIntent usstate=Oregon 11 | USstateIntent usstate=Vermont 12 | USstateIntent usstate=California 13 | AMAZON.StopIntent 14 | 15 | # AMAZON.HelpIntent 16 | # USstateIntent usstate=Giraffe 17 | # AMAZON.HelpIntent 18 | # AMAZON.CancelIntent 19 | # AMAZON.StopIntent -------------------------------------------------------------------------------- /games/State_Path/tests/dialogs/default.txt: -------------------------------------------------------------------------------- 1 | LaunchRequest 2 | AMAZON.HelpIntent 3 | # AMAZON.CancelIntent 4 | AMAZON.StopIntent -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/aws-sdk/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for JavaScript 2 | Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | 4 | This product includes software developed at 5 | Amazon Web Services, Inc. (http://aws.amazon.com/). 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/aws-sdk/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aws-sdk", 3 | "ignore": [ 4 | "apis", "doc-src", "dist-tools", "eslint-rules", "features", "lib", 5 | "scripts", "tasks", "test", "Gemfile*", "configuration*", 6 | "Rakefile", "package.json", "testem.json", ".*", "index.js" 7 | ], 8 | "main": "dist/aws-sdk.js" 9 | } 10 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution 2 | 3 | # Git Flow 4 | 5 | The crypto-js project uses [git flow](https://github.com/nvie/gitflow) to manage branches. 6 | Do your changes on the `develop` or even better on a `feature/*` branch. Don't do any changes on the `master` branch. 7 | 8 | # Pull request 9 | 10 | Target your pull request on `develop` branch. Other pull request won't be accepted. 11 | 12 | # How to build 13 | 14 | 1. Clone 15 | 16 | 2. Run 17 | 18 | ```sh 19 | npm install 20 | ``` 21 | 22 | 3. Run 23 | 24 | ```sh 25 | npm run build 26 | ``` 27 | 28 | 4. Check `build` folder -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "crypto-js", 3 | "version": "3.1.6", 4 | "description": "JavaScript library of crypto standards.", 5 | "license": "MIT", 6 | "homepage": "http://github.com/brix/crypto-js", 7 | "repository": { 8 | "type": "git", 9 | "url": "http://github.com/brix/crypto-js.git" 10 | }, 11 | "keywords": [ 12 | "security", 13 | "crypto", 14 | "Hash", 15 | "MD5", 16 | "SHA1", 17 | "SHA-1", 18 | "SHA256", 19 | "SHA-256", 20 | "RC4", 21 | "Rabbit", 22 | "AES", 23 | "DES", 24 | "PBKDF2", 25 | "HMAC", 26 | "OFB", 27 | "CFB", 28 | "CTR", 29 | "CBC", 30 | "Base64" 31 | ], 32 | "main": "index.js", 33 | "dependencies": {}, 34 | "ignore": [] 35 | } 36 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/enc-hex.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Hex; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/enc-latin1.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Latin1; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/enc-utf8.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.enc.Utf8; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/format-openssl.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.format.OpenSSL; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/hmac-md5.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./md5"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./md5", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacMD5; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/hmac-ripemd160.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./ripemd160"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./ripemd160", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacRIPEMD160; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/hmac-sha1.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha1"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha1", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA1; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/hmac-sha224.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha256"), require("./sha224"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha256", "./sha224", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA224; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/hmac-sha256.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./sha256"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./sha256", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA256; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/hmac-sha3.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha3"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha3", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA3; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/hmac-sha384.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha512"), require("./sha384"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha512", "./sha384", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA384; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/hmac-sha512.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha512"), require("./hmac")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./x64-core", "./sha512", "./hmac"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.HmacSHA512; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/pad-nopadding.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | /** 17 | * A noop padding strategy. 18 | */ 19 | CryptoJS.pad.NoPadding = { 20 | pad: function () { 21 | }, 22 | 23 | unpad: function () { 24 | } 25 | }; 26 | 27 | 28 | return CryptoJS.pad.NoPadding; 29 | 30 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/crypto-js/pad-pkcs7.js: -------------------------------------------------------------------------------- 1 | ;(function (root, factory, undef) { 2 | if (typeof exports === "object") { 3 | // CommonJS 4 | module.exports = exports = factory(require("./core"), require("./cipher-core")); 5 | } 6 | else if (typeof define === "function" && define.amd) { 7 | // AMD 8 | define(["./core", "./cipher-core"], factory); 9 | } 10 | else { 11 | // Global (browser) 12 | factory(root.CryptoJS); 13 | } 14 | }(this, function (CryptoJS) { 15 | 16 | return CryptoJS.pad.Pkcs7; 17 | 18 | })); -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-color", 3 | "homepage": "https://github.com/jquery/jquery-color", 4 | "version": "2.1.2", 5 | "_release": "2.1.2", 6 | "_resolution": { 7 | "type": "version", 8 | "tag": "2.1.2", 9 | "commit": "9e5e04c1c4ee66427fbe04cfce8155b76748ca64" 10 | }, 11 | "_source": "https://github.com/jquery/jquery-color.git", 12 | "_target": "^2.1.2", 13 | "_originalSource": "jquery-color", 14 | "_direct": true 15 | } -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/.gitignore: -------------------------------------------------------------------------------- 1 | build/.sizecache.json 2 | dist/ 3 | .DS_Store 4 | node_modules 5 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "test/qunit"] 2 | path = test/qunit 3 | url = git://github.com/jquery/qunit.git 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser": true, 3 | "curly": true, 4 | "eqnull": true, 5 | "eqeqeq": true, 6 | "expr": true, 7 | "jquery": true, 8 | "noarg": true, 9 | "onevar": true, 10 | "quotmark": "double", 11 | "trailing": true, 12 | "undef": true, 13 | "unused": true 14 | } 15 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/AUTHORS.TXT: -------------------------------------------------------------------------------- 1 | Authors ordered by first contribution 2 | 3 | John Resig 4 | Scott González 5 | Corey Frang 6 | eddiemonge 7 | Krinkle 8 | Richard D. Worth 9 | Jörn Zaefferer 10 | Mike Sherov 11 | Brendan Byrd 12 | Christoffer Sawicki 13 | Dmitry 14 | Ben Olson 15 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/test/data/swarminject.js: -------------------------------------------------------------------------------- 1 | // load testswarm agent 2 | (function() { 3 | var url = window.location.search; 4 | url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) ); 5 | if ( !url || url.indexOf("http") !== 0 ) { 6 | return; 7 | } 8 | document.write(""); 9 | })(); 10 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/test/data/testinit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/games/State_Path/webapp/bower_components/jquery-color/test/data/testinit.js -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery-Color Test Suite 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

    jQuery-Color Test Suite

    16 |

    17 |
    18 |

    19 |
      20 | 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/test/jquery.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | var parts = document.location.search.slice( 1 ).split( "&" ), 4 | length = parts.length, 5 | i = 0, 6 | current, 7 | version, 8 | url; 9 | 10 | for ( ; i < length; i++ ) { 11 | current = parts[ i ].split( "=" ); 12 | if ( current[ 0 ] === "jquery" ) { 13 | version = current[ 1 ]; 14 | break; 15 | } 16 | } 17 | 18 | if ( version === "git" ) { 19 | url = "http://code.jquery.com/jquery-git.js"; 20 | } else { 21 | url = "jquery-" + ( version || "1.7.2" ) + ".js"; 22 | } 23 | 24 | document.write( "" ); 25 | 26 | }() ); 27 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery-color/test/unit/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "browser": true, 4 | "curly": true, 5 | "eqnull": true, 6 | "eqeqeq": true, 7 | "expr": true, 8 | "jquery": true, 9 | "latedef": true, 10 | "noarg": true, 11 | "onevar": true, 12 | "quotmark": "double", 13 | "trailing": true, 14 | "undef": true, 15 | "unused": true, 16 | "predef": [ 17 | "asyncTest", 18 | "deepEqual", 19 | "equal", 20 | "expect", 21 | "module", 22 | "notEqual", 23 | "ok", 24 | "start", 25 | "stop", 26 | "strictEqual", 27 | "test" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ], 14 | "homepage": "https://github.com/jquery/jquery-dist", 15 | "version": "2.2.3", 16 | "_release": "2.2.3", 17 | "_resolution": { 18 | "type": "version", 19 | "tag": "2.2.3", 20 | "commit": "af22a351b2ea5801ffb1695abb3bb34d5bed9198" 21 | }, 22 | "_source": "https://github.com/jquery/jquery-dist.git", 23 | "_target": "^2.2.3", 24 | "_originalSource": "jquery", 25 | "_direct": true 26 | } -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ] 14 | } -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "eqnull": true, 6 | "expr": true, 7 | "immed": true, 8 | "noarg": true, 9 | "quotmark": "double", 10 | "undef": true, 11 | "unused": true, 12 | 13 | "sub": true, 14 | 15 | // Support: IE < 10, Android < 4.1 16 | // The above browsers are failing a lot of tests in the ES5 17 | // test suite at http://test262.ecmascript.org. 18 | "es3": true, 19 | 20 | "globals": { 21 | "window": true, 22 | "JSON": false, 23 | 24 | "jQuery": true, 25 | "define": true, 26 | "module": true, 27 | "noGlobal": true 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/ajax/parseXML.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Cross-browser xml parsing 6 | jQuery.parseXML = function( data ) { 7 | var xml; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); 15 | } catch ( e ) { 16 | xml = undefined; 17 | } 18 | 19 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 20 | jQuery.error( "Invalid XML: " + data ); 21 | } 22 | return xml; 23 | }; 24 | 25 | return jQuery.parseXML; 26 | 27 | } ); 28 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/ajax/var/location.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.location; 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\?/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | } ); 12 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/core/DOMEval.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document" 3 | ], function( document ) { 4 | function DOMEval( code, doc ) { 5 | doc = doc || document; 6 | 7 | var script = doc.createElement( "script" ); 8 | 9 | script.text = code; 10 | doc.head.appendChild( script ).parentNode.removeChild( script ); 11 | } 12 | 13 | return DOMEval; 14 | } ); 15 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/core/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | // Support: Safari 8+ 7 | // In Safari 8 documents created via document.implementation.createHTMLDocument 8 | // collapse sibling forms: the second one becomes a child of the first one. 9 | // Because of that, this security measure has to be disabled in Safari 8. 10 | // https://bugs.webkit.org/show_bug.cgi?id=137337 11 | support.createHTMLDocument = ( function() { 12 | var body = document.implementation.createHTMLDocument( "" ).body; 13 | body.innerHTML = "
      "; 14 | return body.childNodes.length === 2; 15 | } )(); 16 | 17 | return support; 18 | } ); 19 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // Match a standalone tag 4 | return ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/css/addGetHookIf.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | function addGetHookIf( conditionFn, hookFn ) { 4 | 5 | // Define the hook, we'll check on the first run if it's really needed. 6 | return { 7 | get: function() { 8 | if ( conditionFn() ) { 9 | 10 | // Hook not needed (or it's not possible to use it due 11 | // to missing dependency), remove it. 12 | delete this.get; 13 | return; 14 | } 15 | 16 | // Hook needed; redefine it so that the support test is not executed again. 17 | return ( this.get = hookFn ).apply( this, arguments ); 18 | } 19 | }; 20 | } 21 | 22 | return addGetHookIf; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/css/hiddenVisibleSelectors.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector" 4 | ], function( jQuery ) { 5 | 6 | jQuery.expr.filters.hidden = function( elem ) { 7 | return !jQuery.expr.filters.visible( elem ); 8 | }; 9 | jQuery.expr.filters.visible = function( elem ) { 10 | 11 | // Support: Opera <= 12.12 12 | // Opera reports offsetWidths and offsetHeights less than zero on some elements 13 | // Use OR instead of AND as the element is not visible if either is true 14 | // See tickets #10406 and #13132 15 | return elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0; 16 | }; 17 | 18 | } ); 19 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return function( elem ) { 3 | 4 | // Support: IE<=11+, Firefox<=30+ (#15098, #14150) 5 | // IE throws on elements created in popups 6 | // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 7 | var view = elem.ownerDocument.defaultView; 8 | 9 | if ( !view || !view.opener ) { 10 | view = window; 11 | } 12 | 13 | return view.getComputedStyle( elem ); 14 | }; 15 | } ); 16 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/css/var/isHidden.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | 5 | // css is assumed 6 | ], function( jQuery ) { 7 | 8 | return function( elem, el ) { 9 | 10 | // isHidden might be called from jQuery#filter function; 11 | // in that case, element will be second argument 12 | elem = el || elem; 13 | return jQuery.css( elem, "display" ) === "none" || 14 | !jQuery.contains( elem.ownerDocument, elem ); 15 | }; 16 | } ); 17 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^margin/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/css/var/swap.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // A method for quickly swapping in/out CSS properties to get correct calculations. 4 | return function( elem, options, callback, args ) { 5 | var ret, name, 6 | old = {}; 7 | 8 | // Remember the old values, and insert the new ones 9 | for ( name in options ) { 10 | old[ name ] = elem.style[ name ]; 11 | elem.style[ name ] = options[ name ]; 12 | } 13 | 14 | ret = callback.apply( elem, args || [] ); 15 | 16 | // Revert the old values 17 | for ( name in options ) { 18 | elem.style[ name ] = old[ name ]; 19 | } 20 | 21 | return ret; 22 | }; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/data/accepts.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | jQuery.acceptData = function( owner ) { 9 | // Accepts only: 10 | // - Node 11 | // - Node.ELEMENT_NODE 12 | // - Node.DOCUMENT_NODE 13 | // - Object 14 | // - Any 15 | /* jshint -W018 */ 16 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 17 | }; 18 | 19 | return jQuery.acceptData; 20 | }); 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/data/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var div = document.createElement( "div" ); 8 | 9 | // Support: IE<9 10 | support.deleteExpando = true; 11 | try { 12 | delete div.test; 13 | } catch ( e ) { 14 | support.deleteExpando = false; 15 | } 16 | 17 | // Null elements to avoid leaks in IE. 18 | div = null; 19 | } )(); 20 | 21 | return support; 22 | 23 | } ); 24 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/data/var/acceptData.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | /** 4 | * Determines whether an object can have data 5 | */ 6 | return function( owner ) { 7 | 8 | // Accepts only: 9 | // - Node 10 | // - Node.ELEMENT_NODE 11 | // - Node.DOCUMENT_NODE 12 | // - Object 13 | // - Any 14 | /* jshint -W018 */ 15 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 16 | }; 17 | 18 | } ); 19 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/data/var/dataPriv.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/data/var/dataUser.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/deferred/exceptionHook.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../deferred" 4 | ], function( jQuery ) { 5 | 6 | // These usually indicate a programmer mistake during development, 7 | // warn about them ASAP rather than swallowing them by default. 8 | var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 9 | 10 | jQuery.Deferred.exceptionHook = function( error, stack ) { 11 | 12 | // Support: IE9 13 | // Console exists when dev tools are open, which can happen at any time 14 | if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { 15 | window.console.warn( "jQuery.Deferred exception: " + error.message, stack ); 16 | } 17 | }; 18 | 19 | } ); 20 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/deprecated.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core" 3 | ], function( jQuery ) { 4 | 5 | jQuery.fn.extend( { 6 | 7 | bind: function( types, data, fn ) { 8 | return this.on( types, null, data, fn ); 9 | }, 10 | unbind: function( types, fn ) { 11 | return this.off( types, null, fn ); 12 | }, 13 | 14 | delegate: function( selector, types, data, fn ) { 15 | return this.on( types, selector, data, fn ); 16 | }, 17 | undelegate: function( selector, types, fn ) { 18 | 19 | // ( namespace ) or ( selector, types [, fn] ) 20 | return arguments.length === 1 ? 21 | this.off( selector, "**" ) : 22 | this.off( types, selector || "**", fn ); 23 | }, 24 | size: function() { 25 | return this.length; 26 | } 27 | } ); 28 | 29 | jQuery.fn.andSelf = jQuery.fn.addBack; 30 | 31 | } ); 32 | 33 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep( jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | } ).length; 11 | }; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/event/ajax.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../event" 4 | ], function( jQuery ) { 5 | 6 | // Attach a bunch of functions for handling common AJAX events 7 | jQuery.each( [ 8 | "ajaxStart", 9 | "ajaxStop", 10 | "ajaxComplete", 11 | "ajaxError", 12 | "ajaxSuccess", 13 | "ajaxSend" 14 | ], function( i, type ) { 15 | jQuery.fn[ type ] = function( fn ) { 16 | return this.on( type, fn ); 17 | }; 18 | } ); 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/event/alias.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | 4 | "../event", 5 | "./trigger" 6 | ], function( jQuery ) { 7 | 8 | jQuery.each( ( "blur focus focusin focusout load resize scroll unload click dblclick " + 9 | "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 10 | "change select submit keydown keypress keyup error contextmenu" ).split( " " ), 11 | function( i, name ) { 12 | 13 | // Handle event binding 14 | jQuery.fn[ name ] = function( data, fn ) { 15 | return arguments.length > 0 ? 16 | this.on( name, null, data, fn ) : 17 | this.trigger( name ); 18 | }; 19 | } ); 20 | 21 | jQuery.fn.extend( { 22 | hover: function( fnOver, fnOut ) { 23 | return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); 24 | } 25 | } ); 26 | 27 | } ); 28 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusin = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | } ); 10 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/exports/global.js: -------------------------------------------------------------------------------- 1 | var 2 | 3 | // Map over jQuery in case of overwrite 4 | _jQuery = window.jQuery, 5 | 6 | // Map over the $ in case of overwrite 7 | _$ = window.$; 8 | 9 | jQuery.noConflict = function( deep ) { 10 | if ( window.$ === jQuery ) { 11 | window.$ = _$; 12 | } 13 | 14 | if ( deep && window.jQuery === jQuery ) { 15 | window.jQuery = _jQuery; 16 | } 17 | 18 | return jQuery; 19 | }; 20 | 21 | // Expose jQuery and $ identifiers, even in AMD 22 | // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 23 | // and CommonJS for browser emulators (#13566) 24 | if ( !noGlobal ) { 25 | window.jQuery = window.$ = jQuery; 26 | } 27 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/jquery.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./selector", 4 | "./traversing", 5 | "./callbacks", 6 | "./deferred", 7 | "./core/ready", 8 | "./data", 9 | "./queue", 10 | "./queue/delay", 11 | "./attributes", 12 | "./event", 13 | "./event/alias", 14 | "./event/focusin", 15 | "./manipulation", 16 | "./manipulation/_evalUrl", 17 | "./wrap", 18 | "./css", 19 | "./css/hiddenVisibleSelectors", 20 | "./serialize", 21 | "./ajax", 22 | "./ajax/xhr", 23 | "./ajax/script", 24 | "./ajax/jsonp", 25 | "./ajax/load", 26 | "./event/ajax", 27 | "./effects", 28 | "./effects/animatedSelector", 29 | "./offset", 30 | "./dimensions", 31 | "./deprecated", 32 | "./exports/amd" 33 | ], function( jQuery ) { 34 | 35 | return ( window.jQuery = window.$ = jQuery ); 36 | 37 | } ); 38 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax( { 7 | url: url, 8 | 9 | // Make this explicit, since user can override this through ajaxSetup (#11264) 10 | type: "GET", 11 | dataType: "script", 12 | async: false, 13 | global: false, 14 | "throws": true 15 | } ); 16 | }; 17 | 18 | return jQuery._evalUrl; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/createSafeFragment.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./var/nodeNames" 3 | ], function( nodeNames ) { 4 | 5 | function createSafeFragment( document ) { 6 | var list = nodeNames.split( "|" ), 7 | safeFrag = document.createDocumentFragment(); 8 | 9 | if ( safeFrag.createElement ) { 10 | while ( list.length ) { 11 | safeFrag.createElement( 12 | list.pop() 13 | ); 14 | } 15 | } 16 | return safeFrag; 17 | } 18 | 19 | return createSafeFragment; 20 | } ); 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/getAll.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | function getAll( context, tag ) { 6 | 7 | // Support: IE9-11+ 8 | // Use typeof to avoid zero-argument method invocation on host objects (#15151) 9 | var ret = typeof context.getElementsByTagName !== "undefined" ? 10 | context.getElementsByTagName( tag || "*" ) : 11 | typeof context.querySelectorAll !== "undefined" ? 12 | context.querySelectorAll( tag || "*" ) : 13 | []; 14 | 15 | return tag === undefined || tag && jQuery.nodeName( context, tag ) ? 16 | jQuery.merge( [ context ], ret ) : 17 | ret; 18 | } 19 | 20 | return getAll; 21 | } ); 22 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/setGlobalEval.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../data/var/dataPriv" 3 | ], function( dataPriv ) { 4 | 5 | // Mark scripts as having already been evaluated 6 | function setGlobalEval( elems, refElements ) { 7 | var i = 0, 8 | l = elems.length; 9 | 10 | for ( ; i < l; i++ ) { 11 | dataPriv.set( 12 | elems[ i ], 13 | "globalEval", 14 | !refElements || dataPriv.get( refElements[ i ], "globalEval" ) 15 | ); 16 | } 17 | } 18 | 19 | return setGlobalEval; 20 | } ); 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/var/nodeNames.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return "abbr|article|aside|audio|bdi|canvas|data|datalist|" + 3 | "details|dialog|figcaption|figure|footer|header|hgroup|main|" + 4 | "mark|meter|nav|output|picture|progress|section|summary|template|time|video"; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^(?:checkbox|radio)$/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/var/rleadingWhitespace.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^\s+/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/var/rscriptType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^$|\/(?:java|ecma)script/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/manipulation/var/rtagName.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /<([\w:-]+)/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | return jQuery; 2 | })); 3 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/queue/delay.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../queue", 4 | "../effects" // Delay is optional because of this dependency 5 | ], function( jQuery ) { 6 | 7 | // Based off of the plugin by Clint Helfers, with permission. 8 | // http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ 9 | jQuery.fn.delay = function( time, type ) { 10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 11 | type = type || "fx"; 12 | 13 | return this.queue( type, function( next, hooks ) { 14 | var timeout = window.setTimeout( next, time ); 15 | hooks.stop = function() { 16 | window.clearTimeout( timeout ); 17 | }; 18 | } ); 19 | }; 20 | 21 | return jQuery.fn.delay; 22 | } ); 23 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "../external/sizzle/dist/sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[ ":" ] = jQuery.expr.pseudos; 9 | jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | } ); 15 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define( [ "./selector-sizzle" ], function() {} ); 2 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/traversing/var/dir.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | 5 | return function( elem, dir, until ) { 6 | var matched = [], 7 | truncate = until !== undefined; 8 | 9 | while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { 10 | if ( elem.nodeType === 1 ) { 11 | if ( truncate && jQuery( elem ).is( until ) ) { 12 | break; 13 | } 14 | matched.push( elem ); 15 | } 16 | } 17 | return matched; 18 | }; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | } ); 7 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/traversing/var/siblings.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | return function( n, elem ) { 4 | var matched = []; 5 | 6 | for ( ; n; n = n.nextSibling ) { 7 | if ( n.nodeType === 1 && n !== elem ) { 8 | matched.push( n ); 9 | } 10 | } 11 | 12 | return matched; 13 | }; 14 | 15 | } ); 16 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // [[Class]] -> type pairs 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/deletedIds.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/document.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.document; 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/documentElement.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./document" 3 | ], function( document ) { 4 | return document.documentElement; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/rcssNum.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/pnum" 3 | ], function( pnum ) { 4 | 5 | return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); 6 | 7 | } ); 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\S+/g ); 3 | } ); 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // All support tests are defined in their respective modules. 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | } ); 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moment", 3 | "main": "moment.js", 4 | "ignore": [ 5 | "**/.*", 6 | "benchmarks", 7 | "bower_components", 8 | "meteor", 9 | "node_modules", 10 | "scripts", 11 | "tasks", 12 | "test", 13 | "component.json", 14 | "composer.json", 15 | "CONTRIBUTING.md", 16 | "ender.js", 17 | "Gruntfile.js", 18 | "Moment.js.nuspec", 19 | "package.js", 20 | "package.json" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/create/from-object.js: -------------------------------------------------------------------------------- 1 | import { normalizeObjectUnits } from '../units/aliases'; 2 | import { configFromArray } from './from-array'; 3 | import map from '../utils/map'; 4 | 5 | export function configFromObject(config) { 6 | if (config._d) { 7 | return; 8 | } 9 | 10 | var i = normalizeObjectUnits(config._i); 11 | config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) { 12 | return obj && parseInt(obj, 10); 13 | }); 14 | 15 | configFromArray(config); 16 | } 17 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/create/local.js: -------------------------------------------------------------------------------- 1 | import { createLocalOrUTC } from './from-anything'; 2 | 3 | export function createLocal (input, format, locale, strict) { 4 | return createLocalOrUTC(input, format, locale, strict, false); 5 | } 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/create/parsing-flags.js: -------------------------------------------------------------------------------- 1 | function defaultParsingFlags() { 2 | // We need to deep clone this object. 3 | return { 4 | empty : false, 5 | unusedTokens : [], 6 | unusedInput : [], 7 | overflow : -2, 8 | charsLeftOver : 0, 9 | nullInput : false, 10 | invalidMonth : null, 11 | invalidFormat : false, 12 | userInvalidated : false, 13 | iso : false, 14 | parsedDateParts : [], 15 | meridiem : null 16 | }; 17 | } 18 | 19 | export default function getParsingFlags(m) { 20 | if (m._pf == null) { 21 | m._pf = defaultParsingFlags(); 22 | } 23 | return m._pf; 24 | } 25 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/create/utc.js: -------------------------------------------------------------------------------- 1 | import { createLocalOrUTC } from './from-anything'; 2 | 3 | export function createUTC (input, format, locale, strict) { 4 | return createLocalOrUTC(input, format, locale, strict, true).utc(); 5 | } 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/duration/abs.js: -------------------------------------------------------------------------------- 1 | var mathAbs = Math.abs; 2 | 3 | export function abs () { 4 | var data = this._data; 5 | 6 | this._milliseconds = mathAbs(this._milliseconds); 7 | this._days = mathAbs(this._days); 8 | this._months = mathAbs(this._months); 9 | 10 | data.milliseconds = mathAbs(data.milliseconds); 11 | data.seconds = mathAbs(data.seconds); 12 | data.minutes = mathAbs(data.minutes); 13 | data.hours = mathAbs(data.hours); 14 | data.months = mathAbs(data.months); 15 | data.years = mathAbs(data.years); 16 | 17 | return this; 18 | } 19 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/duration/add-subtract.js: -------------------------------------------------------------------------------- 1 | import { createDuration } from './create'; 2 | 3 | function addSubtract (duration, input, value, direction) { 4 | var other = createDuration(input, value); 5 | 6 | duration._milliseconds += direction * other._milliseconds; 7 | duration._days += direction * other._days; 8 | duration._months += direction * other._months; 9 | 10 | return duration._bubble(); 11 | } 12 | 13 | // supports only 2.0-style add(1, 's') or add(duration) 14 | export function add (input, value) { 15 | return addSubtract(this, input, value, 1); 16 | } 17 | 18 | // supports only 2.0-style subtract(1, 's') or subtract(duration) 19 | export function subtract (input, value) { 20 | return addSubtract(this, input, value, -1); 21 | } 22 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/duration/duration.js: -------------------------------------------------------------------------------- 1 | // Side effect imports 2 | import './prototype'; 3 | 4 | import { createDuration } from './create'; 5 | import { isDuration } from './constructor'; 6 | import { getSetRelativeTimeThreshold } from './humanize'; 7 | 8 | export { 9 | createDuration, 10 | isDuration, 11 | getSetRelativeTimeThreshold 12 | }; 13 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/locale/calendar.js: -------------------------------------------------------------------------------- 1 | export var defaultCalendar = { 2 | sameDay : '[Today at] LT', 3 | nextDay : '[Tomorrow at] LT', 4 | nextWeek : 'dddd [at] LT', 5 | lastDay : '[Yesterday at] LT', 6 | lastWeek : '[Last] dddd [at] LT', 7 | sameElse : 'L' 8 | }; 9 | 10 | import isFunction from '../utils/is-function'; 11 | 12 | export function calendar (key, mom, now) { 13 | var output = this._calendar[key]; 14 | return isFunction(output) ? output.call(mom, now) : output; 15 | } 16 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/locale/constructor.js: -------------------------------------------------------------------------------- 1 | export function Locale(config) { 2 | if (config != null) { 3 | this.set(config); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/locale/en.js: -------------------------------------------------------------------------------- 1 | import './prototype'; 2 | import { getSetGlobalLocale } from './locales'; 3 | import toInt from '../utils/to-int'; 4 | 5 | getSetGlobalLocale('en', { 6 | ordinalParse: /\d{1,2}(th|st|nd|rd)/, 7 | ordinal : function (number) { 8 | var b = number % 10, 9 | output = (toInt(number % 100 / 10) === 1) ? 'th' : 10 | (b === 1) ? 'st' : 11 | (b === 2) ? 'nd' : 12 | (b === 3) ? 'rd' : 'th'; 13 | return number + output; 14 | } 15 | }); 16 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/locale/formats.js: -------------------------------------------------------------------------------- 1 | export var defaultLongDateFormat = { 2 | LTS : 'h:mm:ss A', 3 | LT : 'h:mm A', 4 | L : 'MM/DD/YYYY', 5 | LL : 'MMMM D, YYYY', 6 | LLL : 'MMMM D, YYYY h:mm A', 7 | LLLL : 'dddd, MMMM D, YYYY h:mm A' 8 | }; 9 | 10 | export function longDateFormat (key) { 11 | var format = this._longDateFormat[key], 12 | formatUpper = this._longDateFormat[key.toUpperCase()]; 13 | 14 | if (format || !formatUpper) { 15 | return format; 16 | } 17 | 18 | this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) { 19 | return val.slice(1); 20 | }); 21 | 22 | return this._longDateFormat[key]; 23 | } 24 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/locale/invalid.js: -------------------------------------------------------------------------------- 1 | export var defaultInvalidDate = 'Invalid date'; 2 | 3 | export function invalidDate () { 4 | return this._invalidDate; 5 | } 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/locale/ordinal.js: -------------------------------------------------------------------------------- 1 | export var defaultOrdinal = '%d'; 2 | export var defaultOrdinalParse = /\d{1,2}/; 3 | 4 | export function ordinal (number) { 5 | return this._ordinal.replace('%d', number); 6 | } 7 | 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/locale/pre-post-format.js: -------------------------------------------------------------------------------- 1 | export function preParsePostFormat (string) { 2 | return string; 3 | } 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/moment/clone.js: -------------------------------------------------------------------------------- 1 | import { Moment } from './constructor'; 2 | 3 | export function clone () { 4 | return new Moment(this); 5 | } 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/moment/creation-data.js: -------------------------------------------------------------------------------- 1 | export function creationData() { 2 | return { 3 | input: this._i, 4 | format: this._f, 5 | locale: this._locale, 6 | isUTC: this._isUTC, 7 | strict: this._strict 8 | }; 9 | } 10 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/moment/from.js: -------------------------------------------------------------------------------- 1 | import { createDuration } from '../duration/create'; 2 | import { createLocal } from '../create/local'; 3 | import { isMoment } from '../moment/constructor'; 4 | 5 | export function from (time, withoutSuffix) { 6 | if (this.isValid() && 7 | ((isMoment(time) && time.isValid()) || 8 | createLocal(time).isValid())) { 9 | return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); 10 | } else { 11 | return this.localeData().invalidDate(); 12 | } 13 | } 14 | 15 | export function fromNow (withoutSuffix) { 16 | return this.from(createLocal(), withoutSuffix); 17 | } 18 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/moment/moment.js: -------------------------------------------------------------------------------- 1 | import { createLocal } from '../create/local'; 2 | import { createUTC } from '../create/utc'; 3 | import { createInvalid } from '../create/valid'; 4 | import { isMoment } from './constructor'; 5 | import { min, max } from './min-max'; 6 | import { now } from './now'; 7 | import momentPrototype from './prototype'; 8 | 9 | function createUnix (input) { 10 | return createLocal(input * 1000); 11 | } 12 | 13 | function createInZone () { 14 | return createLocal.apply(null, arguments).parseZone(); 15 | } 16 | 17 | export { 18 | now, 19 | min, 20 | max, 21 | isMoment, 22 | createUTC, 23 | createUnix, 24 | createLocal, 25 | createInZone, 26 | createInvalid, 27 | momentPrototype 28 | }; 29 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/moment/now.js: -------------------------------------------------------------------------------- 1 | export var now = function () { 2 | return Date.now ? Date.now() : +(new Date()); 3 | }; 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/moment/to.js: -------------------------------------------------------------------------------- 1 | import { createDuration } from '../duration/create'; 2 | import { createLocal } from '../create/local'; 3 | import { isMoment } from '../moment/constructor'; 4 | 5 | export function to (time, withoutSuffix) { 6 | if (this.isValid() && 7 | ((isMoment(time) && time.isValid()) || 8 | createLocal(time).isValid())) { 9 | return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix); 10 | } else { 11 | return this.localeData().invalidDate(); 12 | } 13 | } 14 | 15 | export function toNow (withoutSuffix) { 16 | return this.to(createLocal(), withoutSuffix); 17 | } 18 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/moment/valid.js: -------------------------------------------------------------------------------- 1 | import { isValid as _isValid } from '../create/valid'; 2 | import extend from '../utils/extend'; 3 | import getParsingFlags from '../create/parsing-flags'; 4 | 5 | export function isValid () { 6 | return _isValid(this); 7 | } 8 | 9 | export function parsingFlags () { 10 | return extend({}, getParsingFlags(this)); 11 | } 12 | 13 | export function invalidAt () { 14 | return getParsingFlags(this).overflow; 15 | } 16 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/units/constants.js: -------------------------------------------------------------------------------- 1 | export var YEAR = 0; 2 | export var MONTH = 1; 3 | export var DATE = 2; 4 | export var HOUR = 3; 5 | export var MINUTE = 4; 6 | export var SECOND = 5; 7 | export var MILLISECOND = 6; 8 | export var WEEK = 7; 9 | export var WEEKDAY = 8; 10 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/units/minute.js: -------------------------------------------------------------------------------- 1 | import { makeGetSet } from '../moment/get-set'; 2 | import { addFormatToken } from '../format/format'; 3 | import { addUnitAlias } from './aliases'; 4 | import { addRegexToken, match1to2, match2 } from '../parse/regex'; 5 | import { addParseToken } from '../parse/token'; 6 | import { MINUTE } from './constants'; 7 | 8 | // FORMATTING 9 | 10 | addFormatToken('m', ['mm', 2], 0, 'minute'); 11 | 12 | // ALIASES 13 | 14 | addUnitAlias('minute', 'm'); 15 | 16 | // PARSING 17 | 18 | addRegexToken('m', match1to2); 19 | addRegexToken('mm', match1to2, match2); 20 | addParseToken(['m', 'mm'], MINUTE); 21 | 22 | // MOMENTS 23 | 24 | export var getSetMinute = makeGetSet('Minutes', false); 25 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/units/quarter.js: -------------------------------------------------------------------------------- 1 | import { addFormatToken } from '../format/format'; 2 | import { addUnitAlias } from './aliases'; 3 | import { addRegexToken, match1 } from '../parse/regex'; 4 | import { addParseToken } from '../parse/token'; 5 | import { MONTH } from './constants'; 6 | import toInt from '../utils/to-int'; 7 | 8 | // FORMATTING 9 | 10 | addFormatToken('Q', 0, 'Qo', 'quarter'); 11 | 12 | // ALIASES 13 | 14 | addUnitAlias('quarter', 'Q'); 15 | 16 | // PARSING 17 | 18 | addRegexToken('Q', match1); 19 | addParseToken('Q', function (input, array) { 20 | array[MONTH] = (toInt(input) - 1) * 3; 21 | }); 22 | 23 | // MOMENTS 24 | 25 | export function getSetQuarter (input) { 26 | return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); 27 | } 28 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/units/second.js: -------------------------------------------------------------------------------- 1 | import { makeGetSet } from '../moment/get-set'; 2 | import { addFormatToken } from '../format/format'; 3 | import { addUnitAlias } from './aliases'; 4 | import { addRegexToken, match1to2, match2 } from '../parse/regex'; 5 | import { addParseToken } from '../parse/token'; 6 | import { SECOND } from './constants'; 7 | 8 | // FORMATTING 9 | 10 | addFormatToken('s', ['ss', 2], 0, 'second'); 11 | 12 | // ALIASES 13 | 14 | addUnitAlias('second', 's'); 15 | 16 | // PARSING 17 | 18 | addRegexToken('s', match1to2); 19 | addRegexToken('ss', match1to2, match2); 20 | addParseToken(['s', 'ss'], SECOND); 21 | 22 | // MOMENTS 23 | 24 | export var getSetSecond = makeGetSet('Seconds', false); 25 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/units/timestamp.js: -------------------------------------------------------------------------------- 1 | import { addFormatToken } from '../format/format'; 2 | import { addRegexToken, matchTimestamp, matchSigned } from '../parse/regex'; 3 | import { addParseToken } from '../parse/token'; 4 | import toInt from '../utils/to-int'; 5 | 6 | // FORMATTING 7 | 8 | addFormatToken('X', 0, 0, 'unix'); 9 | addFormatToken('x', 0, 0, 'valueOf'); 10 | 11 | // PARSING 12 | 13 | addRegexToken('x', matchSigned); 14 | addRegexToken('X', matchTimestamp); 15 | addParseToken('X', function (input, array, config) { 16 | config._d = new Date(parseFloat(input, 10) * 1000); 17 | }); 18 | addParseToken('x', function (input, array, config) { 19 | config._d = new Date(toInt(input)); 20 | }); 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/units/timezone.js: -------------------------------------------------------------------------------- 1 | import { addFormatToken } from '../format/format'; 2 | 3 | // FORMATTING 4 | 5 | addFormatToken('z', 0, 0, 'zoneAbbr'); 6 | addFormatToken('zz', 0, 0, 'zoneName'); 7 | 8 | // MOMENTS 9 | 10 | export function getZoneAbbr () { 11 | return this._isUTC ? 'UTC' : ''; 12 | } 13 | 14 | export function getZoneName () { 15 | return this._isUTC ? 'Coordinated Universal Time' : ''; 16 | } 17 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/units/units.js: -------------------------------------------------------------------------------- 1 | // Side effect imports 2 | import './day-of-month'; 3 | import './day-of-week'; 4 | import './day-of-year'; 5 | import './hour'; 6 | import './millisecond'; 7 | import './minute'; 8 | import './month'; 9 | import './offset'; 10 | import './quarter'; 11 | import './second'; 12 | import './timestamp'; 13 | import './timezone'; 14 | import './week-year'; 15 | import './week'; 16 | import './year'; 17 | 18 | import { normalizeUnits } from './aliases'; 19 | 20 | export { normalizeUnits }; 21 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/abs-ceil.js: -------------------------------------------------------------------------------- 1 | export default function absCeil (number) { 2 | if (number < 0) { 3 | return Math.floor(number); 4 | } else { 5 | return Math.ceil(number); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/abs-floor.js: -------------------------------------------------------------------------------- 1 | export default function absFloor (number) { 2 | if (number < 0) { 3 | return Math.ceil(number); 4 | } else { 5 | return Math.floor(number); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/abs-round.js: -------------------------------------------------------------------------------- 1 | export default function absRound (number) { 2 | if (number < 0) { 3 | return Math.round(-1 * number) * -1; 4 | } else { 5 | return Math.round(number); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/compare-arrays.js: -------------------------------------------------------------------------------- 1 | import toInt from './to-int'; 2 | 3 | // compare two arrays, return the number of differences 4 | export default function compareArrays(array1, array2, dontConvert) { 5 | var len = Math.min(array1.length, array2.length), 6 | lengthDiff = Math.abs(array1.length - array2.length), 7 | diffs = 0, 8 | i; 9 | for (i = 0; i < len; i++) { 10 | if ((dontConvert && array1[i] !== array2[i]) || 11 | (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { 12 | diffs++; 13 | } 14 | } 15 | return diffs + lengthDiff; 16 | } 17 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/defaults.js: -------------------------------------------------------------------------------- 1 | // Pick the first defined of two or three arguments. 2 | export default function defaults(a, b, c) { 3 | if (a != null) { 4 | return a; 5 | } 6 | if (b != null) { 7 | return b; 8 | } 9 | return c; 10 | } 11 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/extend.js: -------------------------------------------------------------------------------- 1 | import hasOwnProp from './has-own-prop'; 2 | 3 | export default function extend(a, b) { 4 | for (var i in b) { 5 | if (hasOwnProp(b, i)) { 6 | a[i] = b[i]; 7 | } 8 | } 9 | 10 | if (hasOwnProp(b, 'toString')) { 11 | a.toString = b.toString; 12 | } 13 | 14 | if (hasOwnProp(b, 'valueOf')) { 15 | a.valueOf = b.valueOf; 16 | } 17 | 18 | return a; 19 | } 20 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/has-own-prop.js: -------------------------------------------------------------------------------- 1 | export default function hasOwnProp(a, b) { 2 | return Object.prototype.hasOwnProperty.call(a, b); 3 | } 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/hooks.js: -------------------------------------------------------------------------------- 1 | export { hooks, setHookCallback }; 2 | 3 | var hookCallback; 4 | 5 | function hooks () { 6 | return hookCallback.apply(null, arguments); 7 | } 8 | 9 | // This is done to register the method called with moment() 10 | // without creating circular dependencies. 11 | function setHookCallback (callback) { 12 | hookCallback = callback; 13 | } 14 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/index-of.js: -------------------------------------------------------------------------------- 1 | var indexOf; 2 | 3 | if (Array.prototype.indexOf) { 4 | indexOf = Array.prototype.indexOf; 5 | } else { 6 | indexOf = function (o) { 7 | // I know 8 | var i; 9 | for (i = 0; i < this.length; ++i) { 10 | if (this[i] === o) { 11 | return i; 12 | } 13 | } 14 | return -1; 15 | }; 16 | } 17 | 18 | export { indexOf as default }; 19 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/is-array.js: -------------------------------------------------------------------------------- 1 | export default function isArray(input) { 2 | return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; 3 | } 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/is-date.js: -------------------------------------------------------------------------------- 1 | export default function isDate(input) { 2 | return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; 3 | } 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/is-function.js: -------------------------------------------------------------------------------- 1 | export default function isFunction(input) { 2 | return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; 3 | } 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/is-object.js: -------------------------------------------------------------------------------- 1 | export default function isObject(input) { 2 | return Object.prototype.toString.call(input) === '[object Object]'; 3 | } 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/is-undefined.js: -------------------------------------------------------------------------------- 1 | export default function isUndefined(input) { 2 | return input === void 0; 3 | } 4 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/keys.js: -------------------------------------------------------------------------------- 1 | import hasOwnProp from './has-own-prop'; 2 | 3 | var keys; 4 | 5 | if (Object.keys) { 6 | keys = Object.keys; 7 | } else { 8 | keys = function (obj) { 9 | var i, res = []; 10 | for (i in obj) { 11 | if (hasOwnProp(obj, i)) { 12 | res.push(i); 13 | } 14 | } 15 | return res; 16 | }; 17 | } 18 | 19 | export { keys as default }; 20 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/map.js: -------------------------------------------------------------------------------- 1 | export default function map(arr, fn) { 2 | var res = [], i; 3 | for (i = 0; i < arr.length; ++i) { 4 | res.push(fn(arr[i], i)); 5 | } 6 | return res; 7 | } 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/some.js: -------------------------------------------------------------------------------- 1 | var some; 2 | if (Array.prototype.some) { 3 | some = Array.prototype.some; 4 | } else { 5 | some = function (fun) { 6 | var t = Object(this); 7 | var len = t.length >>> 0; 8 | 9 | for (var i = 0; i < len; i++) { 10 | if (i in t && fun.call(this, t[i], i, t)) { 11 | return true; 12 | } 13 | } 14 | 15 | return false; 16 | }; 17 | } 18 | 19 | export { some as default }; 20 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/to-int.js: -------------------------------------------------------------------------------- 1 | import absFloor from './abs-floor'; 2 | 3 | export default function toInt(argumentForCoercion) { 4 | var coercedNumber = +argumentForCoercion, 5 | value = 0; 6 | 7 | if (coercedNumber !== 0 && isFinite(coercedNumber)) { 8 | value = absFloor(coercedNumber); 9 | } 10 | 11 | return value; 12 | } 13 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/src/lib/utils/zero-fill.js: -------------------------------------------------------------------------------- 1 | export default function zeroFill(number, targetLength, forceSign) { 2 | var absNumber = '' + Math.abs(number), 3 | zerosToFill = targetLength - absNumber.length, 4 | sign = number >= 0; 5 | return (sign ? (forceSign ? '+' : '') : '-') + 6 | Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber; 7 | } 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/templates/amd-named.js: -------------------------------------------------------------------------------- 1 | /*global define:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | define("moment", [], function () { 6 | return moment; 7 | }); 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/templates/amd.js: -------------------------------------------------------------------------------- 1 | /*global define:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | define([], function () { 6 | return moment; 7 | }); 8 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/templates/default.js: -------------------------------------------------------------------------------- 1 | ;(function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : 3 | typeof define === 'function' && define.amd ? define(factory) : 4 | global.moment = factory() 5 | }(this, function () { 'use strict'; 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/templates/globals.js: -------------------------------------------------------------------------------- 1 | /*global window:false*/ 2 | 3 | import moment from "./moment"; 4 | 5 | window.moment = moment; 6 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/templates/locale-header.js: -------------------------------------------------------------------------------- 1 | ;(function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' 3 | && typeof require === 'function' ? factory(require('../moment')) : 4 | typeof define === 'function' && define.amd ? define(['moment'], factory) : 5 | factory(global.moment) 6 | }(this, function (moment) { 'use strict'; 7 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/moment/templates/test-header.js: -------------------------------------------------------------------------------- 1 | ;(function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' 3 | && typeof require === 'function' ? factory(require('../../moment')) : 4 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : 5 | factory(global.moment) 6 | }(this, function (moment) { 'use strict'; 7 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/mqttws/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 3 | grunt.initConfig({ 4 | jasmine_node: { 5 | options: { 6 | forceExit: true, 7 | matchall: true, 8 | extensions: 'js', 9 | specNameMatcher: 'spec' 10 | }, 11 | all: ['test/'] 12 | } 13 | }); 14 | 15 | grunt.loadNpmTasks('grunt-jasmine-node'); 16 | 17 | grunt.registerTask('test', ['jasmine_node']); 18 | 19 | }; -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/mqttws/README.md: -------------------------------------------------------------------------------- 1 | mqttws 2 | ====== 3 | 4 | This is a Fork of the [Eclipse Paho JavaScript client](https://eclipse.org/paho/clients/js/). 5 | 6 | Changes include: 7 | 8 | * On invalid utf parseUTF8() now returns the string "\_\_malformed_utf8" instead of throwing an error 9 | * Grunt instead of Maven as test runner 10 | * published on bower.io as "mqttws" 11 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/mqttws/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mqttws", 3 | "version": "1.0.0", 4 | "homepage": "https://github.com/hobbyquaker/mqttws", 5 | "authors": [ 6 | "hobbyquaker " 7 | ], 8 | "description": "Fork of the Eclipse Paho Javascript client", 9 | "main": "mqttws31.js", 10 | "moduleType": [ 11 | "globals" 12 | ], 13 | "keywords": [ 14 | "paho", 15 | "mqtt", 16 | "websocket", 17 | "eclipse", 18 | "mosquitto" 19 | ], 20 | "license": "EPL", 21 | "ignore": [ 22 | "**/.*", 23 | "node_modules", 24 | "bower_components", 25 | "test", 26 | "tests" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /games/State_Path/webapp/bower_components/mqttws/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mqttws", 3 | "private": true, 4 | "description": "mqttws test environment", 5 | "dependencies": {}, 6 | "devDependencies": { 7 | "grunt": "^0.4.5", 8 | "grunt-jasmine-node": "^0.3.1", 9 | "node-localstorage": "0.x.x", 10 | "websocket": "1.x.x" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /games/State_Path/webapp/js/aws_sigv4.js: -------------------------------------------------------------------------------- 1 | /** 2 | * utilities to do sigv4 3 | * @class SigV4Utils 4 | */ 5 | function SigV4Utils() {} 6 | 7 | SigV4Utils.sign = function(key, msg) { 8 | var hash = CryptoJS.HmacSHA256(msg, key); 9 | return hash.toString(CryptoJS.enc.Hex); 10 | }; 11 | 12 | SigV4Utils.sha256 = function(msg) { 13 | var hash = CryptoJS.SHA256(msg); 14 | return hash.toString(CryptoJS.enc.Hex); 15 | }; 16 | 17 | SigV4Utils.getSignatureKey = function(key, dateStamp, regionName, serviceName) { 18 | var kDate = CryptoJS.HmacSHA256(dateStamp, 'AWS4' + key); 19 | var kRegion = CryptoJS.HmacSHA256(regionName, kDate); 20 | var kService = CryptoJS.HmacSHA256(serviceName, kRegion); 21 | var kSigning = CryptoJS.HmacSHA256('aws4_request', kService); 22 | return kSigning; 23 | }; 24 | -------------------------------------------------------------------------------- /games/State_Path/webapp/sync.sh: -------------------------------------------------------------------------------- 1 | aws s3 sync . s3://webappvui/game/ --acl public-read -------------------------------------------------------------------------------- /handling-responses/dialog-directive-delegate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "skill-sample-node-device-address-api", 3 | "version": "1.0.0", 4 | "description": "A Device Address API sample skill.", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "alexa", 11 | "skill", 12 | "settings" 13 | ], 14 | "author": "Amazon.com", 15 | "license": "SEE LICENSE IN LICENSE.txt", 16 | "dependencies": { 17 | "alexa-sdk": "^1.0.8" 18 | }, 19 | "repository" : { 20 | "type" : "git", 21 | "url" : "" 22 | } 23 | } -------------------------------------------------------------------------------- /handling-responses/dialog-directive-delegate/sample-nodejs-fact/src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dialog-directive-delegate-fact-sample", 3 | "version": "1.0.0", 4 | "description": "Delegate Dialog Directive Sample Fact Project", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "alexa", 11 | "skill", 12 | "settings" 13 | ], 14 | "author": "Amazon.com", 15 | "license": "SEE LICENSE IN LICENSE.txt", 16 | "dependencies": { 17 | "alexa-sdk": "^1.0.9" 18 | }, 19 | "repository" : { 20 | "type" : "git", 21 | "url" : "" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /handling-responses/dialog-directive-delegate/sample-nodejs-plan-my-trip/src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dialog-directive-delegate", 3 | "version": "1.0.0", 4 | "description": "Delegate Dialog Directive Sample Project", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "alexa", 11 | "skill", 12 | "settings" 13 | ], 14 | "author": "Amazon.com", 15 | "license": "SEE LICENSE IN LICENSE.txt", 16 | "dependencies": { 17 | "alexa-sdk": "^1.0.9" 18 | }, 19 | "repository" : { 20 | "type" : "git", 21 | "url" : "" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /handling-responses/entity-resolution/README.md: -------------------------------------------------------------------------------- 1 | # Enitity_Resolution_Quiz_Sample 2 | This sample shows how to use entity resolution in a simple quiz. 3 | 4 | Let's say Alexa asks, "Who is credited with suggesting the word "hello" be used when answering the telephone?" 5 | 6 | The user can answer with, "Thomas Edison" or similar phrases like "Edison" or "Menlo Park". 7 | 8 | If they say Edison, your code will get "Edison" as what they said as well as "Thomas Edison" which is what that resolves to. 9 | 10 | To make this skill, 11 | Build the fact skill (https://github.com/alexa/skill-sample-nodejs-fact) and replace the index.js and in the skill builder use the code editor to paste the interaction model. 12 | -------------------------------------------------------------------------------- /handling-responses/progressive-response/.ask/config: -------------------------------------------------------------------------------- 1 | { 2 | "deploy_settings": { 3 | "default": { 4 | "skill_id": "", 5 | "was_cloned": true 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /handling-responses/progressive-response/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /handling-responses/progressive-response/lambda/custom/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "skill-sample-nodejs-historybuff", 3 | "version": "1.0.0", 4 | "description": "historyBuff sample skill", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "mocha test" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git@github.com:alexa/alexa-cookbook.git" 12 | }, 13 | "author": "Amazon.com", 14 | "license": "ASL 2.0", 15 | "dependencies": { 16 | "alexa-sdk": "^1.0.20" 17 | }, 18 | "devDependencies": { 19 | "del": "^3.0.0", 20 | "gulp": "^3.9.1", 21 | "gulp-jshint": "^2.0.4", 22 | "gulp-mocha": "4.3.1", 23 | "gulp-zip": "^4.0.0", 24 | "run-sequence": "2.2.0", 25 | "jshint": "^2.9.5", 26 | "nock": "^9.0.22" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /handling-responses/progressive-response/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetFirstEventIntent", 5 | "slots": [ 6 | { 7 | "name": "day", 8 | "type": "AMAZON.DATE" 9 | } 10 | ] 11 | }, 12 | { 13 | "intent": "GetNextEventIntent" 14 | }, 15 | { 16 | "intent": "AMAZON.HelpIntent" 17 | }, 18 | { 19 | "intent": "AMAZON.StopIntent" 20 | }, 21 | { 22 | "intent": "AMAZON.CancelIntent" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /handling-responses/progressive-response/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetFirstEventIntent get events for {day} 2 | GetFirstEventIntent give me events for {day} 3 | GetFirstEventIntent what happened on {day} 4 | GetFirstEventIntent what happened 5 | GetFirstEventIntent {day} 6 | 7 | GetNextEventIntent yes 8 | GetNextEventIntent yup 9 | GetNextEventIntent sure 10 | GetNextEventIntent yes please 11 | 12 | AMAZON.StopIntent no 13 | AMAZON.StopIntent nope 14 | AMAZON.StopIntent no thanks 15 | AMAZON.StopIntent no thank you 16 | -------------------------------------------------------------------------------- /handling-responses/random-phrase/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /handling-responses/random-phrase/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | -------------------------------------------------------------------------------- /handling-responses/say-array/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /handling-responses/say-array/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | -------------------------------------------------------------------------------- /handling-responses/ssml-audio/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "MyIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /handling-responses/ssml-audio/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyIntent hello 2 | -------------------------------------------------------------------------------- /labs/BirthdayHotline/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "PlayAudio" 5 | }, 6 | { 7 | "intent": "AMAZON.PauseIntent" 8 | }, 9 | { 10 | "intent": "AMAZON.ResumeIntent" 11 | }, 12 | { 13 | "intent": "AMAZON.NextIntent" 14 | }, 15 | { 16 | "intent": "AMAZON.PreviousIntent" 17 | }, 18 | { 19 | "intent": "AMAZON.HelpIntent" 20 | }, 21 | { 22 | "intent": "AMAZON.StopIntent" 23 | }, 24 | { 25 | "intent": "AMAZON.CancelIntent" 26 | }, 27 | { 28 | "intent": "AMAZON.StartOverIntent" 29 | }, 30 | { 31 | "intent": "AMAZON.YesIntent" 32 | }, 33 | { 34 | "intent": "AMAZON.NoIntent" 35 | } 36 | ] 37 | } -------------------------------------------------------------------------------- /labs/BirthdayHotline/speechAssets/Utterances.txt: -------------------------------------------------------------------------------- 1 | PlayAudio begin greetings 2 | PlayAudio begin the greetings 3 | PlayAudio begin playing the greetings 4 | PlayAudio start greetings 5 | PlayAudio start the greetings 6 | PlayAudio start playing the greetings 7 | PlayAudio play the greetings 8 | PlayAudio to play 9 | PlayAudio to begin greetings 10 | PlayAudio to begin the greetings 11 | PlayAudio to begin playing the greetings 12 | PlayAudio to start greetings 13 | PlayAudio to start the greetings 14 | PlayAudio to start playing the greetings 15 | PlayAudio to play the greetings 16 | -------------------------------------------------------------------------------- /labs/BirthdayHotline/src/getRecordings.js: -------------------------------------------------------------------------------- 1 | // Minimized client.recordings.list function 2 | // This works beautifully as well 3 | 4 | const config = require('./twilio-config.js') 5 | const accountSid = config.accountSid 6 | const authToken = config.authToken 7 | 8 | const client = require('twilio')(accountSid, authToken); 9 | var arr =[]; 10 | 11 | module.exports = { 12 | "getRecordings": function(callback){ 13 | client.recordings.list().then(function(data) { 14 | data.forEach(function(recording) { 15 | var uri = "https://api.twilio.com" + recording.uri.replace('json','mp3'); 16 | arr.push({title:"title",url:uri}); 17 | }); 18 | callback(arr); 19 | }); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /labs/BirthdayHotline/src/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Alexa = require('alexa-sdk'); 4 | const constants = require('./constants'); 5 | const stateHandlers = require('./stateHandlers'); 6 | const audioEventHandlers = require('./audioEventHandlers'); 7 | 8 | exports.handler = function(event, context, callback){ 9 | var alexa = Alexa.handler(event, context); 10 | alexa.appId = constants.appId; 11 | alexa.dynamoDBTableName = constants.dynamoDBTableName; 12 | alexa.registerHandlers( 13 | stateHandlers.startModeIntentHandlers, 14 | stateHandlers.playModeIntentHandlers, 15 | stateHandlers.remoteControllerHandlers, 16 | stateHandlers.resumeDecisionModeIntentHandlers, 17 | audioEventHandlers 18 | ); 19 | alexa.execute(); 20 | }; 21 | -------------------------------------------------------------------------------- /labs/BirthdayHotline/src/twilio-config-sample.js: -------------------------------------------------------------------------------- 1 | const config = { 2 | accountSid: 'YOUR_ACCOUNT_SID', // Your Account SID from www.twilio.com/console 3 | authToken: 'YOUR_AUTH_TOKEN' // Your Auth Token from www.twilio.com/console 4 | } 5 | 6 | module.exports = config 7 | -------------------------------------------------------------------------------- /labs/Day-1/0-hello-world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/Day-1/0-hello-world/README.md -------------------------------------------------------------------------------- /labs/Day-1/0-hello-world/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "HelloWorldIntent" 5 | } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /labs/Day-1/0-hello-world/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | HelloWorldIntent hello 2 | HelloWorldIntent hi 3 | HelloWorldIntent how are you 4 | HelloWorldIntent what's up 5 | -------------------------------------------------------------------------------- /labs/Day-1/1-number-facts (Simple Fact)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/Day-1/1-number-facts (Simple Fact)/README.md -------------------------------------------------------------------------------- /labs/Day-1/1-number-facts (Simple Fact)/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent" 5 | }, 6 | { 7 | "intent": "AMAZON.HelpIntent" 8 | }, 9 | { 10 | "intent": "AMAZON.StopIntent" 11 | }, 12 | { 13 | "intent": "AMAZON.CancelIntent" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /labs/Day-1/1-number-facts (Simple Fact)/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent a fact 2 | GetNewFactIntent tell me a fact 3 | GetNewFactIntent give me a fact 4 | -------------------------------------------------------------------------------- /labs/Day-1/2-number-facts (Random Fact)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/Day-1/2-number-facts (Random Fact)/README.md -------------------------------------------------------------------------------- /labs/Day-1/2-number-facts (Random Fact)/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent" 5 | }, 6 | { 7 | "intent": "AMAZON.HelpIntent" 8 | }, 9 | { 10 | "intent": "AMAZON.StopIntent" 11 | }, 12 | { 13 | "intent": "AMAZON.CancelIntent" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /labs/Day-1/2-number-facts (Random Fact)/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent a fact 2 | GetNewFactIntent tell me a fact 3 | GetNewFactIntent give me a fact 4 | -------------------------------------------------------------------------------- /labs/Day-1/3-number-facts (Built-in Slots)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/Day-1/3-number-facts (Built-in Slots)/README.md -------------------------------------------------------------------------------- /labs/Day-1/3-number-facts (Built-in Slots)/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent" 5 | }, 6 | { 7 | "intent": "GetNewFactAboutIntent", 8 | "slots": [ 9 | { 10 | "name": "number", 11 | "type": "AMAZON.NUMBER" 12 | } 13 | ] 14 | }, 15 | { 16 | "intent": "AMAZON.HelpIntent" 17 | }, 18 | { 19 | "intent": "AMAZON.StopIntent" 20 | }, 21 | { 22 | "intent": "AMAZON.CancelIntent" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /labs/Day-1/3-number-facts (Built-in Slots)/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent a fact 2 | GetNewFactIntent tell me a fact 3 | GetNewFactIntent give me a fact 4 | GetNewFactAboutIntent a fact about {number} 5 | GetNewFactAboutIntent tell me a fact about {number} 6 | GetNewFactAboutIntent give me a fact about {number} 7 | -------------------------------------------------------------------------------- /labs/Day-1/4-number-facts (External API)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/Day-1/4-number-facts (External API)/README.md -------------------------------------------------------------------------------- /labs/Day-1/4-number-facts (External API)/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent" 5 | }, 6 | { 7 | "intent": "GetNewFactAboutIntent", 8 | "slots": [ 9 | { 10 | "name": "number", 11 | "type": "AMAZON.NUMBER" 12 | } 13 | ] 14 | }, 15 | { 16 | "intent": "AMAZON.HelpIntent" 17 | }, 18 | { 19 | "intent": "AMAZON.StopIntent" 20 | }, 21 | { 22 | "intent": "AMAZON.CancelIntent" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /labs/Day-1/4-number-facts (External API)/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent a fact 2 | GetNewFactIntent tell me a fact 3 | GetNewFactIntent give me a fact 4 | GetNewFactAboutIntent a fact about {number} 5 | GetNewFactAboutIntent tell me a fact about {number} 6 | GetNewFactAboutIntent give me a fact about {number} 7 | -------------------------------------------------------------------------------- /labs/Day-1/5-number-facts (Custom Slots)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/Day-1/5-number-facts (Custom Slots)/README.md -------------------------------------------------------------------------------- /labs/Day-1/5-number-facts (Custom Slots)/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent" 5 | }, 6 | { 7 | "intent": "GetNewFactAboutIntent", 8 | "slots": [ 9 | { 10 | "name": "number", 11 | "type": "AMAZON.NUMBER" 12 | }, 13 | { 14 | "name": "factType", 15 | "type": "FACT_TYPE" 16 | } 17 | ] 18 | }, 19 | { 20 | "intent": "AMAZON.HelpIntent" 21 | }, 22 | { 23 | "intent": "AMAZON.StopIntent" 24 | }, 25 | { 26 | "intent": "AMAZON.CancelIntent" 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /labs/Day-1/5-number-facts (Custom Slots)/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent a fact 2 | GetNewFactIntent tell me a fact 3 | GetNewFactIntent give me a fact 4 | GetNewFactAboutIntent a {factType} fact about {number} 5 | GetNewFactAboutIntent tell me a {factType} fact about {number} 6 | GetNewFactAboutIntent give me a {factType} fact about {number} 7 | -------------------------------------------------------------------------------- /labs/Day-1/5-number-facts (Custom Slots)/speechAssets/slots.txt: -------------------------------------------------------------------------------- 1 | FACT_TYPE 2 | 3 | math 4 | trivia 5 | year 6 | date 7 | -------------------------------------------------------------------------------- /labs/Day-1/6-number-facts (Set Session Attributes)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/Day-1/6-number-facts (Set Session Attributes)/README.md -------------------------------------------------------------------------------- /labs/Day-1/6-number-facts (Set Session Attributes)/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent" 5 | }, 6 | { 7 | "intent": "GetNewFactAboutIntent", 8 | "slots": [ 9 | { 10 | "name": "number", 11 | "type": "AMAZON.NUMBER" 12 | }, 13 | { 14 | "name": "factType", 15 | "type": "FACT_TYPE" 16 | } 17 | ] 18 | }, 19 | { 20 | "intent": "AMAZON.HelpIntent" 21 | }, 22 | { 23 | "intent": "AMAZON.StopIntent" 24 | }, 25 | { 26 | "intent": "AMAZON.CancelIntent" 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /labs/Day-1/6-number-facts (Set Session Attributes)/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent a fact 2 | GetNewFactIntent tell me a fact 3 | GetNewFactIntent give me a fact 4 | GetNewFactAboutIntent a {factType} fact about {number} 5 | GetNewFactAboutIntent tell me a {factType} fact about {number} 6 | GetNewFactAboutIntent give me a {factType} fact about {number} 7 | -------------------------------------------------------------------------------- /labs/Day-1/6-number-facts (Set Session Attributes)/speechAssets/slots.txt: -------------------------------------------------------------------------------- 1 | FACT_TYPE 2 | 3 | math 4 | trivia 5 | year 6 | date 7 | -------------------------------------------------------------------------------- /labs/Day-1/7-number-facts (Get Session Attributes)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/Day-1/7-number-facts (Get Session Attributes)/README.md -------------------------------------------------------------------------------- /labs/Day-1/7-number-facts (Get Session Attributes)/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent" 5 | }, 6 | { 7 | "intent": "GetNewFactAboutIntent", 8 | "slots": [ 9 | { 10 | "name": "number", 11 | "type": "AMAZON.NUMBER" 12 | }, 13 | { 14 | "name": "factType", 15 | "type": "FACT_TYPE" 16 | } 17 | ] 18 | }, 19 | { 20 | "intent": "AMAZON.HelpIntent" 21 | }, 22 | { 23 | "intent": "AMAZON.StopIntent" 24 | }, 25 | { 26 | "intent": "AMAZON.CancelIntent" 27 | }, 28 | { 29 | "intent": "AMAZON.RepeatIntent" 30 | } 31 | ] 32 | } 33 | -------------------------------------------------------------------------------- /labs/Day-1/7-number-facts (Get Session Attributes)/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent a fact 2 | GetNewFactIntent tell me a fact 3 | GetNewFactIntent give me a fact 4 | GetNewFactAboutIntent a {factType} fact about {number} 5 | GetNewFactAboutIntent tell me a {factType} fact about {number} 6 | GetNewFactAboutIntent give me a {factType} fact about {number} 7 | -------------------------------------------------------------------------------- /labs/Day-1/7-number-facts (Get Session Attributes)/speechAssets/slots.txt: -------------------------------------------------------------------------------- 1 | FACT_TYPE 2 | 3 | math 4 | trivia 5 | year 6 | date 7 | -------------------------------------------------------------------------------- /labs/FactService/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "GetNewFactIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "AMAZON.HelpIntent" 9 | }, 10 | { 11 | "intent": "AMAZON.StopIntent" 12 | }, 13 | { 14 | "intent": "AMAZON.CancelIntent" 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /labs/FactService/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | GetNewFactIntent tell me a fact 2 | GetNewFactIntent give me a fact 3 | GetNewFactIntent tell me something 4 | -------------------------------------------------------------------------------- /labs/FactService/src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SkillStuff", 3 | "version": "1.0.0", 4 | "description": "Lambda function for Alexa", 5 | "readme": "Lambda function for Alexa", 6 | "repository": "my repository", 7 | "main": "index.js", 8 | "scripts": { 9 | "invoke": "aws lambda invoke --function-name 'HelloWorld' --payload fileb://../tests/events/alexa-start-session.json ../tests/out.txt && cat ../tests/out.txt", 10 | "test": "node ../tests/test.js", 11 | "deploy": "npm run zip && npm run upload", 12 | "upload": "aws lambda update-function-code --function-name 'HelloWorld' --zip-file fileb://../index.zip", 13 | "zip": "zip -r ../index.zip . -x 'package.json' -x '*.git*' " 14 | }, 15 | "author": "me", 16 | "license": "Apache-2.0", 17 | "dependencies": { 18 | "alexa-sdk": "^1.0.7" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /labs/HelloWorld/.ask/config: -------------------------------------------------------------------------------- 1 | { 2 | "deploy_settings": { 3 | "default": { 4 | "skill_id": "", 5 | "was_cloned": false, 6 | "merge": { 7 | "skillManifest": { 8 | "apis": { 9 | "custom": { 10 | "endpoint": { 11 | "uri": "ask-custom-helloworld-default" 12 | } 13 | } 14 | } 15 | } 16 | } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /labs/HelloWorld/InteractionModel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/alexa-cookbook/7c8aa503e77d54c7387b94058d9ee62b06386618/labs/HelloWorld/InteractionModel.json -------------------------------------------------------------------------------- /labs/HelloWorld/lambda/custom/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SkillStuff", 3 | "version": "1.0.0", 4 | "description": "Lambda function for Alexa", 5 | "readme": "Lambda function for Alexa", 6 | "repository": "my repository", 7 | "main": "index.js", 8 | "scripts": { 9 | "invoke": "aws lambda invoke --function-name 'HelloWorld' --payload fileb://../tests/events/alexa-start-session.json ../tests/out.txt && cat ../tests/out.txt", 10 | "test": "node ../tests/test.js", 11 | "deploy": "npm run zip && npm run upload", 12 | "upload": "aws lambda update-function-code --function-name 'HelloWorld' --zip-file fileb://../index.zip", 13 | "zip": "zip -r ../index.zip . -x 'package.json' -x '*.git*' " 14 | }, 15 | "author": "me", 16 | "license": "Apache-2.0", 17 | "dependencies": { 18 | "alexa-sdk": "^1.0.9" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /labs/HelloWorld/models/en-US.json: -------------------------------------------------------------------------------- 1 | { 2 | "interactionModel": { 3 | "languageModel": { 4 | "invocationName": "hello world", 5 | "intents": [ 6 | { 7 | "name": "MyIntent", 8 | "slots":[], 9 | "samples": [ 10 | "hello" 11 | ] 12 | }, 13 | 14 | { 15 | "intent": "AMAZON.HelpIntent" 16 | }, 17 | { 18 | "intent": "AMAZON.StopIntent" 19 | }, 20 | { 21 | "intent": "AMAZON.CancelIntent" 22 | } 23 | ] 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /labs/HelloWorld/models/models/en-US.json: -------------------------------------------------------------------------------- 1 | { 2 | "interactionModel": { 3 | "languageModel": { 4 | "invocationName": "hello world", 5 | "intents": [ 6 | { 7 | "name": "MyIntent", 8 | "slots":[], 9 | "samples": [ 10 | "hello" 11 | ] 12 | }, 13 | 14 | { 15 | "intent": "AMAZON.HelpIntent" 16 | }, 17 | { 18 | "intent": "AMAZON.StopIntent" 19 | }, 20 | { 21 | "intent": "AMAZON.CancelIntent" 22 | } 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /labs/LocalRecommendations/README.md: -------------------------------------------------------------------------------- 1 | # Build An Alexa Local Recommendations Skill 2 | 3 | Hey there! Looking for where this lab went? 4 | 5 | We've moved everything over here: [https://github.com/Alexa/skill-sample-nodejs-city-guide/](https://github.com/Alexa/skill-sample-nodejs-city-guide/) 6 | 7 | :smiley_cat: -------------------------------------------------------------------------------- /labs/README.md: -------------------------------------------------------------------------------- 1 | 2 | ### Alexa Skill Building Cookbook 3 | ## Labs 4 | 5 | 6 | #### Welcome! 7 | 8 | These Labs are a series of exercises you can follow to accompany your in-person Alexa Skills Kit training. 9 | 10 | The Lab topics and content are subject to change in the future without warning. 11 | 12 | + You can work on the labs at your own pace, fast or slow is okay. 13 | + When you get an idea for a new Intent or new skill feature, go ahead and add it to your skill! 14 | 15 | #### Ready to begin? 16 | Click to [LocalGuide](LocalGuide) or [HelloWorld](HelloWorld), install the skill, and scroll down to follow the series of labs. 17 | 18 | 19 |
      20 | 21 | Back to the [github.com/alexa/alexa-cookbook](https://github.com/alexa/alexa-cookbook) home page. 22 | 23 | -------------------------------------------------------------------------------- /labs/Recipe/speechAssets/IntentSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "intents": [ 3 | { 4 | "intent": "IngredientsIntent", "slots":[] 5 | }, 6 | 7 | { 8 | "intent": "CookIntent", "slots":[] 9 | }, 10 | 11 | { 12 | "intent": "AMAZON.NextIntent" 13 | }, 14 | { 15 | "intent": "AMAZON.YesIntent" 16 | }, 17 | { 18 | "intent": "AMAZON.NoIntent" 19 | }, 20 | { 21 | "intent": "AMAZON.PauseIntent" 22 | }, 23 | { 24 | "intent": "AMAZON.HelpIntent" 25 | }, 26 | { 27 | "intent": "AMAZON.StopIntent" 28 | }, 29 | { 30 | "intent": "AMAZON.CancelIntent" 31 | }, 32 | { 33 | "intent": "AMAZON.RepeatIntent" 34 | }, 35 | { 36 | "intent": "AMAZON.StartOverIntent" 37 | } 38 | ] 39 | } 40 | -------------------------------------------------------------------------------- /labs/Recipe/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | IngredientsIntent ingredients 2 | IngredientsIntent shopping list 3 | 4 | CookIntent cook 5 | CookIntent begin 6 | CookIntent begin cooking 7 | -------------------------------------------------------------------------------- /labs/Recipe/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "session": { 3 | "sessionId": "SessionId.f9e6dcbb-b7da-4b47-905c-1e2e1ab673d5", 4 | "application": { 5 | "applicationId": "amzn1.echo-sdk-ams.app.[unique-value-here]" 6 | }, 7 | "attributes": {}, 8 | "user": { 9 | "userId": "amzn1.ask.account.ZZZZZZGWYOK7OHKVW3MQA2S23ZFJYDLQUB4Y7FMKU2TXQN5GS2ICRONPW3ZASKRWZHW6DLQD4YWCOITWIVUVO37UO4JU65GOAPA2EU4S77MG6AKARMB2Z5I5ZLEWNO6WMOB22VFKU3IE6QZSNGC2H3HMMG2C2V72J4VXVMFQZYSPSKC42EQFYVPYN4DDH6TPVTGF563MOPBY" 10 | }, 11 | "new": true 12 | }, 13 | "request": { 14 | "type": "LaunchRequest", 15 | 16 | "requestId": "request5678", 17 | 18 | "locale": "en-US" 19 | }, 20 | "version": "1.0" 21 | } 22 | -------------------------------------------------------------------------------- /testing/TestFlow/dialogs/default.txt: -------------------------------------------------------------------------------- 1 | LaunchRequest 2 | AMAZON.HelpIntent 3 | AMAZON.StopIntent -------------------------------------------------------------------------------- /testing/TestFlow/dialogs/staterequest.txt: -------------------------------------------------------------------------------- 1 | LaunchRequest 2 | StateRequestIntent usstate=Vermont 3 | StateRequestIntent usstate=New%20York 4 | ISeeIntent animal=bear color=brown 5 | # AMAZON.HelpIntent 6 | 7 | AMAZON.StopIntent 8 | MyNameIsIntent myName= 9 | MyNameIsIntent myName=Madeline 10 | ? StateRequestIntent usstate=Texas 11 | RecapIntent 12 | AMAZON.StopIntent -------------------------------------------------------------------------------- /testing/TestFlow/speechAssets/SampleUtterances.txt: -------------------------------------------------------------------------------- 1 | MyNameIsIntent my name is {myName} 2 | MyNameIsIntent call me {myName} 3 | 4 | StateRequestIntent {usstate} 5 | StateRequestIntent describe {usstate} 6 | StateRequestIntent how about {usstate} 7 | StateRequestIntent go to {usstate} 8 | 9 | RecapIntent recap 10 | RecapIntent summary 11 | RecapIntent what states are in my list 12 | -------------------------------------------------------------------------------- /testing/TestFlow/src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SkillStuff", 3 | "version": "1.0.0", 4 | "description": "TestFlow - Lambda function for Alexa", 5 | "readme": "Lambda function for Alexa", 6 | "repository": "my repository", 7 | "main": "index.js", 8 | "scripts": { 9 | "invoke": "aws lambda invoke --function-name 'TestFlow' --payload fileb://../tests/events/alexa-start-session.json ../tests/out.txt && cat ../tests/out.txt", 10 | "test": "node ../tests/test.js", 11 | "deploy": "npm run zip && npm run upload", 12 | "upload": "aws lambda update-function-code --function-name 'TestFlow' --zip-file fileb://../index.zip", 13 | "zip": "zip -r ../index.zip . -x 'package.json' -x '*.git*' " 14 | }, 15 | "author": "me", 16 | "license": "Apache-2.0", 17 | "dependencies": { 18 | "alexa-sdk": "^1.0.7" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tools/VUI Testing Tool/src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VUI-Testing", 3 | "version": "1.0.0", 4 | "description": "VUI-Testing tool for Alexa Skills", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "alexa", 11 | "skill", 12 | "settings" 13 | ], 14 | "author": "Amazon.com", 15 | "license": "SEE LICENSE IN LICENSE.txt", 16 | "dependencies": { 17 | "alexa-sdk": "^1.0.9" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "" 22 | } 23 | } 24 | --------------------------------------------------------------------------------