├── .circleci └── config.yml ├── .coverignore ├── .dockerignore ├── .gitignore ├── .sass-cache ├── 1b5d78394ac57cc0d8a11e3c53fc596ab5947551 │ ├── _fade.scssc │ ├── _hinge.scssc │ ├── _shake.scssc │ ├── _slide.scssc │ ├── _spin.scssc │ ├── _wiggle.scssc │ └── _zoom.scssc ├── 21b8fc474bdcd3e253ac3a918bced31f6f3f245e │ ├── _classes.scssc │ ├── _column.scssc │ ├── _flex-grid.scssc │ ├── _grid.scssc │ ├── _gutter.scssc │ ├── _layout.scssc │ ├── _position.scssc │ ├── _row.scssc │ └── _size.scssc ├── 5a0a487f3d6db4a876b0632d5ac2932217354a58 │ ├── _checkbox.scssc │ ├── _error.scssc │ ├── _fieldset.scssc │ ├── _forms.scssc │ ├── _help-text.scssc │ ├── _input-group.scssc │ ├── _label.scssc │ ├── _select.scssc │ └── _text.scssc ├── 8c6bbf6a5d50ab507cd08f6834bb4da65abfa980 │ ├── _animation.scssc │ ├── _args.scssc │ ├── _keyframe.scssc │ ├── _selector.scssc │ ├── _series.scssc │ ├── _transition.scssc │ └── _unit.scssc ├── a35a7ca8b38ab24dc396077fa61df599a23b738e │ └── motion-ui.scssc ├── a5b20b18db6bddeebd151bbe7c8dd58f7c567ab4 │ ├── _classes.scssc │ ├── _settings.scssc │ └── motion-ui.scssc ├── c6cf98ab81daae09bd886671751931445fd4095a │ ├── _accordion-menu.scssc │ ├── _accordion.scssc │ ├── _badge.scssc │ ├── _breadcrumbs.scssc │ ├── _button-group.scssc │ ├── _button.scssc │ ├── _callout.scssc │ ├── _close-button.scssc │ ├── _drilldown.scssc │ ├── _dropdown-menu.scssc │ ├── _dropdown.scssc │ ├── _flex-video.scssc │ ├── _float.scssc │ ├── _label.scssc │ ├── _media-object.scssc │ ├── _menu.scssc │ ├── _off-canvas.scssc │ ├── _orbit.scssc │ ├── _pagination.scssc │ ├── _progress-bar.scssc │ ├── _reveal.scssc │ ├── _slider.scssc │ ├── _sticky.scssc │ ├── _switch.scssc │ ├── _table.scssc │ ├── _tabs.scssc │ ├── _thumbnail.scssc │ ├── _title-bar.scssc │ ├── _tooltip.scssc │ ├── _top-bar.scssc │ └── _visibility.scssc ├── cf7c2c80a0dee766125cc8a26778c5c624fece08 │ ├── _breakpoint.scssc │ ├── _color.scssc │ ├── _mixins.scssc │ ├── _selector.scssc │ ├── _unit.scssc │ ├── _util.scssc │ └── _value.scssc ├── d8f7165344e753c838241620e5ea36f5fad59110 │ ├── _fade.scssc │ ├── _hinge.scssc │ ├── _slide.scssc │ ├── _spin.scssc │ └── _zoom.scssc ├── efe28756a09fa49aa382df526092dd7824c5f87f │ ├── _factom.scssc │ ├── _settings.scssc │ └── app.scssc ├── f04e4b05e7f2e2932bd5066b41d665d21b94d8d9 │ ├── _global.scssc │ └── foundation.scssc └── f86a22430a6fd93f7fc65343dd14274161720923 │ ├── _alignment.scssc │ ├── _base.scssc │ ├── _helpers.scssc │ ├── _print.scssc │ └── _typography.scssc ├── .travis.yml ├── Docker.md ├── Dockerfile ├── Dockerfile.alpine ├── LICENSE ├── README.md ├── TestHelper └── start.go ├── address ├── address.go └── address_test.go ├── cliMain.go ├── compileAll.sh ├── display.go ├── display_test.go ├── electron-wrapper ├── .gitignore ├── README.md ├── app │ ├── LICENSE.md │ ├── README.md │ ├── choose.css │ ├── choose.html │ ├── factom-foundation_horizontal.svg │ ├── img │ │ └── factom-foundation_mark.svg │ ├── loading.css │ ├── loading.html │ ├── loading │ │ ├── css │ │ │ └── index.css │ │ ├── images │ │ │ ├── app-bg-light.jpg │ │ │ ├── app-bg.jpg │ │ │ ├── arrow-back.svg │ │ │ ├── factom-isologo.svg │ │ │ ├── factom-logo.svg │ │ │ ├── factom-protocol-main-globe-only.svg │ │ │ ├── favicon.png │ │ │ ├── icon-address-book-purple.svg │ │ │ ├── icon-address-book.svg │ │ │ ├── icon-check.svg │ │ │ ├── icon-not-secure.svg │ │ │ ├── icon-secure.svg │ │ │ ├── icon-settings-purple.svg │ │ │ ├── icon-settings.svg │ │ │ ├── icon-times.svg │ │ │ ├── icon-transactions-purple.svg │ │ │ └── icon-transactions.svg │ │ ├── index.html │ │ ├── js │ │ │ └── app.js │ │ ├── loading.html │ │ ├── wallet-not-secure-detail-light.html │ │ ├── wallet-not-secure-detail.html │ │ ├── wallet-not-secure.html │ │ ├── wallet-secure-detail-light.html │ │ ├── wallet-secure-detail.html │ │ └── wallet-secure.html │ ├── main.js │ ├── package-lock.json │ └── package.json ├── build │ ├── background-full.png │ ├── background.png │ ├── icon.icns │ ├── icon.ico │ └── mac-install_icns.png ├── linSetBin.sh ├── macSetBin.sh ├── package-lock.json ├── package.json └── winSetBin.sh ├── glide.lock ├── glide.yaml ├── main.go ├── make.sh ├── pageHandlers.go ├── pageHandlers_test.go ├── util.go ├── util_test.go ├── wallet ├── balanceCache.go ├── balanceCache_test.go ├── database │ └── database.go ├── displayTransaction.go ├── displayTransaction_test.go ├── guiWalletStruct.go ├── guiWalletStruct_test.go ├── paths.go ├── startWallet.go ├── transactions.go ├── transactions_test.go ├── walletDB.go └── walletDB_test.go ├── web ├── README.md ├── compile.sh ├── concatJs.sh ├── files │ ├── general.go │ ├── general_test.go │ ├── parse.go │ ├── parse_test.go │ ├── statics │ │ └── statics.go │ └── templates │ │ └── templates.go ├── min-file.sh ├── non-essentials.sh ├── statics │ ├── bower_components │ │ ├── foundation-sites │ │ │ ├── .bower.json │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── dist │ │ │ │ ├── foundation.css │ │ │ │ ├── foundation.js │ │ │ │ ├── foundation.min.css │ │ │ │ └── foundation.min.js │ │ │ ├── docslink.sh │ │ │ ├── foundation-sites.scss │ │ │ ├── js │ │ │ │ ├── foundation.abide.js │ │ │ │ ├── foundation.accordion.js │ │ │ │ ├── foundation.accordionMenu.js │ │ │ │ ├── foundation.core.js │ │ │ │ ├── foundation.drilldown.js │ │ │ │ ├── foundation.dropdown.js │ │ │ │ ├── foundation.dropdownMenu.js │ │ │ │ ├── foundation.equalizer.js │ │ │ │ ├── foundation.interchange.js │ │ │ │ ├── foundation.magellan.js │ │ │ │ ├── foundation.offcanvas.js │ │ │ │ ├── foundation.orbit.js │ │ │ │ ├── foundation.responsiveMenu.js │ │ │ │ ├── foundation.responsiveToggle.js │ │ │ │ ├── foundation.reveal.js │ │ │ │ ├── foundation.slider.js │ │ │ │ ├── foundation.sticky.js │ │ │ │ ├── foundation.tabs.js │ │ │ │ ├── foundation.toggler.js │ │ │ │ ├── foundation.tooltip.js │ │ │ │ ├── foundation.util.box.js │ │ │ │ ├── foundation.util.keyboard.js │ │ │ │ ├── foundation.util.mediaQuery.js │ │ │ │ ├── foundation.util.motion.js │ │ │ │ ├── foundation.util.nest.js │ │ │ │ ├── foundation.util.timerAndImageLoader.js │ │ │ │ ├── foundation.util.touch.js │ │ │ │ └── foundation.util.triggers.js │ │ │ └── scss │ │ │ │ ├── _global.scss │ │ │ │ ├── components │ │ │ │ ├── _accordion-menu.scss │ │ │ │ ├── _accordion.scss │ │ │ │ ├── _badge.scss │ │ │ │ ├── _breadcrumbs.scss │ │ │ │ ├── _button-group.scss │ │ │ │ ├── _button.scss │ │ │ │ ├── _callout.scss │ │ │ │ ├── _close-button.scss │ │ │ │ ├── _drilldown.scss │ │ │ │ ├── _dropdown-menu.scss │ │ │ │ ├── _dropdown.scss │ │ │ │ ├── _flex-video.scss │ │ │ │ ├── _float.scss │ │ │ │ ├── _label.scss │ │ │ │ ├── _media-object.scss │ │ │ │ ├── _menu.scss │ │ │ │ ├── _off-canvas.scss │ │ │ │ ├── _orbit.scss │ │ │ │ ├── _pagination.scss │ │ │ │ ├── _progress-bar.scss │ │ │ │ ├── _reveal.scss │ │ │ │ ├── _slider.scss │ │ │ │ ├── _sticky.scss │ │ │ │ ├── _switch.scss │ │ │ │ ├── _table.scss │ │ │ │ ├── _tabs.scss │ │ │ │ ├── _thumbnail.scss │ │ │ │ ├── _title-bar.scss │ │ │ │ ├── _tooltip.scss │ │ │ │ ├── _top-bar.scss │ │ │ │ └── _visibility.scss │ │ │ │ ├── forms │ │ │ │ ├── _checkbox.scss │ │ │ │ ├── _error.scss │ │ │ │ ├── _fieldset.scss │ │ │ │ ├── _forms.scss │ │ │ │ ├── _help-text.scss │ │ │ │ ├── _input-group.scss │ │ │ │ ├── _label.scss │ │ │ │ ├── _select.scss │ │ │ │ └── _text.scss │ │ │ │ ├── foundation.scss │ │ │ │ ├── grid │ │ │ │ ├── _classes.scss │ │ │ │ ├── _column.scss │ │ │ │ ├── _flex-grid.scss │ │ │ │ ├── _grid.scss │ │ │ │ ├── _gutter.scss │ │ │ │ ├── _layout.scss │ │ │ │ ├── _position.scss │ │ │ │ ├── _row.scss │ │ │ │ └── _size.scss │ │ │ │ ├── typography │ │ │ │ ├── _alignment.scss │ │ │ │ ├── _base.scss │ │ │ │ ├── _helpers.scss │ │ │ │ ├── _print.scss │ │ │ │ └── _typography.scss │ │ │ │ └── util │ │ │ │ ├── _breakpoint.scss │ │ │ │ ├── _color.scss │ │ │ │ ├── _mixins.scss │ │ │ │ ├── _selector.scss │ │ │ │ ├── _unit.scss │ │ │ │ ├── _util.scss │ │ │ │ └── _value.scss │ │ ├── jquery │ │ │ ├── .bower.json │ │ │ ├── MIT-LICENSE.txt │ │ │ ├── bower.json │ │ │ ├── dist │ │ │ │ ├── jquery.js │ │ │ │ ├── jquery.min.js │ │ │ │ └── jquery.min.map │ │ │ └── src │ │ │ │ ├── ajax.js │ │ │ │ ├── ajax │ │ │ │ ├── jsonp.js │ │ │ │ ├── load.js │ │ │ │ ├── parseJSON.js │ │ │ │ ├── parseXML.js │ │ │ │ ├── script.js │ │ │ │ ├── var │ │ │ │ │ ├── nonce.js │ │ │ │ │ └── rquery.js │ │ │ │ └── xhr.js │ │ │ │ ├── attributes.js │ │ │ │ ├── attributes │ │ │ │ ├── attr.js │ │ │ │ ├── classes.js │ │ │ │ ├── prop.js │ │ │ │ ├── support.js │ │ │ │ └── val.js │ │ │ │ ├── callbacks.js │ │ │ │ ├── core.js │ │ │ │ ├── core │ │ │ │ ├── access.js │ │ │ │ ├── init.js │ │ │ │ ├── parseHTML.js │ │ │ │ ├── ready.js │ │ │ │ └── var │ │ │ │ │ └── rsingleTag.js │ │ │ │ ├── css.js │ │ │ │ ├── css │ │ │ │ ├── addGetHookIf.js │ │ │ │ ├── curCSS.js │ │ │ │ ├── defaultDisplay.js │ │ │ │ ├── hiddenVisibleSelectors.js │ │ │ │ ├── support.js │ │ │ │ ├── swap.js │ │ │ │ └── var │ │ │ │ │ ├── cssExpand.js │ │ │ │ │ ├── getStyles.js │ │ │ │ │ ├── isHidden.js │ │ │ │ │ ├── rmargin.js │ │ │ │ │ └── rnumnonpx.js │ │ │ │ ├── data.js │ │ │ │ ├── data │ │ │ │ ├── Data.js │ │ │ │ ├── accepts.js │ │ │ │ └── var │ │ │ │ │ ├── data_priv.js │ │ │ │ │ └── data_user.js │ │ │ │ ├── deferred.js │ │ │ │ ├── deprecated.js │ │ │ │ ├── dimensions.js │ │ │ │ ├── effects.js │ │ │ │ ├── effects │ │ │ │ ├── Tween.js │ │ │ │ └── animatedSelector.js │ │ │ │ ├── event.js │ │ │ │ ├── event │ │ │ │ ├── ajax.js │ │ │ │ ├── alias.js │ │ │ │ └── support.js │ │ │ │ ├── exports │ │ │ │ ├── amd.js │ │ │ │ └── global.js │ │ │ │ ├── intro.js │ │ │ │ ├── jquery.js │ │ │ │ ├── manipulation.js │ │ │ │ ├── manipulation │ │ │ │ ├── _evalUrl.js │ │ │ │ ├── support.js │ │ │ │ └── var │ │ │ │ │ └── rcheckableType.js │ │ │ │ ├── offset.js │ │ │ │ ├── outro.js │ │ │ │ ├── queue.js │ │ │ │ ├── queue │ │ │ │ └── delay.js │ │ │ │ ├── selector-native.js │ │ │ │ ├── selector-sizzle.js │ │ │ │ ├── selector.js │ │ │ │ ├── serialize.js │ │ │ │ ├── sizzle │ │ │ │ └── dist │ │ │ │ │ ├── sizzle.js │ │ │ │ │ ├── sizzle.min.js │ │ │ │ │ └── sizzle.min.map │ │ │ │ ├── traversing.js │ │ │ │ ├── traversing │ │ │ │ ├── findFilter.js │ │ │ │ └── var │ │ │ │ │ └── rneedsContext.js │ │ │ │ ├── var │ │ │ │ ├── arr.js │ │ │ │ ├── class2type.js │ │ │ │ ├── concat.js │ │ │ │ ├── hasOwn.js │ │ │ │ ├── indexOf.js │ │ │ │ ├── pnum.js │ │ │ │ ├── push.js │ │ │ │ ├── rnotwhite.js │ │ │ │ ├── slice.js │ │ │ │ ├── strundefined.js │ │ │ │ ├── support.js │ │ │ │ └── toString.js │ │ │ │ └── wrap.js │ │ ├── motion-ui │ │ │ ├── .bower.json │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── dist │ │ │ │ ├── motion-ui.css │ │ │ │ ├── motion-ui.js │ │ │ │ ├── motion-ui.min.css │ │ │ │ └── motion-ui.min.js │ │ │ ├── docs │ │ │ │ ├── animations.md │ │ │ │ ├── classes.md │ │ │ │ ├── configuration.md │ │ │ │ ├── installation.md │ │ │ │ ├── javascript.md │ │ │ │ ├── readme.md │ │ │ │ └── transitions.md │ │ │ ├── gulpfile.js │ │ │ ├── lib │ │ │ │ └── handlebars.js │ │ │ ├── motion-ui.js │ │ │ ├── motion-ui.scss │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── _classes.scss │ │ │ │ ├── _settings.scss │ │ │ │ ├── effects │ │ │ │ ├── _fade.scss │ │ │ │ ├── _hinge.scss │ │ │ │ ├── _shake.scss │ │ │ │ ├── _slide.scss │ │ │ │ ├── _spin.scss │ │ │ │ ├── _wiggle.scss │ │ │ │ └── _zoom.scss │ │ │ │ ├── motion-ui.scss │ │ │ │ ├── transitions │ │ │ │ ├── _fade.scss │ │ │ │ ├── _hinge.scss │ │ │ │ ├── _slide.scss │ │ │ │ ├── _spin.scss │ │ │ │ └── _zoom.scss │ │ │ │ └── util │ │ │ │ ├── _animation.scss │ │ │ │ ├── _args.scss │ │ │ │ ├── _keyframe.scss │ │ │ │ ├── _selector.scss │ │ │ │ ├── _series.scss │ │ │ │ ├── _transition.scss │ │ │ │ └── _unit.scss │ │ └── what-input │ │ │ ├── .bower.json │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── demo.html │ │ │ ├── gulpfile.js │ │ │ ├── index.js │ │ │ └── tasks │ │ │ │ ├── clean.js │ │ │ │ ├── default.js │ │ │ │ └── scripts.js │ │ │ ├── lte-IE8.js │ │ │ ├── package.json │ │ │ ├── polyfills │ │ │ └── ie8 │ │ │ │ ├── addEventListener.js │ │ │ │ └── indexOf.js │ │ │ ├── what-input.js │ │ │ └── what-input.min.js │ ├── css │ │ ├── app.css │ │ ├── app.css.map │ │ ├── fonts │ │ │ ├── breeserif │ │ │ │ ├── breeserif-regular-webfont.eot │ │ │ │ ├── breeserif-regular-webfont.svg │ │ │ │ ├── breeserif-regular-webfont.ttf │ │ │ │ ├── breeserif-regular-webfont.woff │ │ │ │ └── breeserif-regular-webfont.woff2 │ │ │ ├── fontawesome │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── font-awesome.min.css │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ └── lato │ │ │ │ ├── Lato-Bold.eot │ │ │ │ ├── Lato-Bold.ttf │ │ │ │ ├── Lato-Bold.woff │ │ │ │ ├── Lato-Bold.woff2 │ │ │ │ ├── Lato-BoldItalic.eot │ │ │ │ ├── Lato-BoldItalic.ttf │ │ │ │ ├── Lato-BoldItalic.woff │ │ │ │ ├── Lato-BoldItalic.woff2 │ │ │ │ ├── Lato-Italic.eot │ │ │ │ ├── Lato-Italic.ttf │ │ │ │ ├── Lato-Italic.woff │ │ │ │ ├── Lato-Italic.woff2 │ │ │ │ ├── Lato-Light.eot │ │ │ │ ├── Lato-Light.ttf │ │ │ │ ├── Lato-Light.woff │ │ │ │ ├── Lato-Light.woff2 │ │ │ │ ├── Lato-Regular.eot │ │ │ │ ├── Lato-Regular.ttf │ │ │ │ ├── Lato-Regular.woff │ │ │ │ ├── Lato-Regular.woff2 │ │ │ │ ├── Lato-Thin.eot │ │ │ │ ├── Lato-Thin.ttf │ │ │ │ ├── Lato-Thin.woff │ │ │ │ └── Lato-Thin.woff2 │ │ └── other.css │ ├── img │ │ ├── balance_credits.svg │ │ ├── balance_factoids.svg │ │ ├── factom-foundation_mark.svg │ │ ├── factom-isologo.svg │ │ ├── factom-logo.svg │ │ ├── factom-protocol-main-globe-only.svg │ │ ├── icon-not-secure.svg │ │ ├── icon-secure.svg │ │ ├── icon │ │ │ └── favicon.ico │ │ ├── icon_edit.svg │ │ ├── icon_qr.svg │ │ ├── illus-dark.svg │ │ ├── illus-light.svg │ │ ├── nav_address-book.svg │ │ ├── nav_backup.svg │ │ ├── nav_settings.svg │ │ ├── nav_transactions.svg │ │ ├── qr_receiving.png │ │ ├── select-bg.png │ │ ├── transaction_converted.svg │ │ ├── transaction_received.svg │ │ └── transaction_sent.svg │ ├── js │ │ ├── addressbook.js │ │ ├── ajax.js │ │ ├── all.js │ │ ├── app.js │ │ ├── backup.js │ │ ├── edit-address.js │ │ ├── index.js │ │ ├── modernizr.js │ │ ├── new-address.js │ │ ├── recieve-factoids.js │ │ ├── send-convert.js │ │ └── settings.js │ └── scss │ │ ├── .sass-cache │ │ ├── 01adbd347bb199fddb8cc5bc7c7759821522d195 │ │ │ ├── _accordion-menu.scssc │ │ │ ├── _accordion.scssc │ │ │ ├── _badge.scssc │ │ │ ├── _breadcrumbs.scssc │ │ │ ├── _button-group.scssc │ │ │ ├── _button.scssc │ │ │ ├── _callout.scssc │ │ │ ├── _close-button.scssc │ │ │ ├── _drilldown.scssc │ │ │ ├── _dropdown-menu.scssc │ │ │ ├── _dropdown.scssc │ │ │ ├── _flex-video.scssc │ │ │ ├── _float.scssc │ │ │ ├── _label.scssc │ │ │ ├── _media-object.scssc │ │ │ ├── _menu.scssc │ │ │ ├── _off-canvas.scssc │ │ │ ├── _orbit.scssc │ │ │ ├── _pagination.scssc │ │ │ ├── _progress-bar.scssc │ │ │ ├── _reveal.scssc │ │ │ ├── _slider.scssc │ │ │ ├── _sticky.scssc │ │ │ ├── _switch.scssc │ │ │ ├── _table.scssc │ │ │ ├── _tabs.scssc │ │ │ ├── _thumbnail.scssc │ │ │ ├── _title-bar.scssc │ │ │ ├── _tooltip.scssc │ │ │ ├── _top-bar.scssc │ │ │ └── _visibility.scssc │ │ ├── 1b953e3ec09dac6883e131364e3ee9d91fd42c8e │ │ │ ├── _breakpoint.scssc │ │ │ ├── _color.scssc │ │ │ ├── _mixins.scssc │ │ │ ├── _selector.scssc │ │ │ ├── _unit.scssc │ │ │ ├── _util.scssc │ │ │ └── _value.scssc │ │ ├── 3ca3d08fceb4cd5fa5e7e99860d33e220531a5f2 │ │ │ ├── _alignment.scssc │ │ │ ├── _base.scssc │ │ │ ├── _helpers.scssc │ │ │ ├── _print.scssc │ │ │ └── _typography.scssc │ │ ├── 47d5705e66534f29c109f175c41267046a029055 │ │ │ ├── _classes.scssc │ │ │ ├── _settings.scssc │ │ │ └── motion-ui.scssc │ │ ├── 71d78643f8f77a2b8c721bc3a70b939fcfbe34e0 │ │ │ ├── _fade.scssc │ │ │ ├── _hinge.scssc │ │ │ ├── _slide.scssc │ │ │ ├── _spin.scssc │ │ │ └── _zoom.scssc │ │ ├── 89de299a914f656c58b1e1a8bfc4445b357c3e20 │ │ │ ├── _global.scssc │ │ │ └── foundation.scssc │ │ ├── a5846d84f05e45fe43f6458ab6f79ddc807b7c1c │ │ │ ├── _animation.scssc │ │ │ ├── _args.scssc │ │ │ ├── _keyframe.scssc │ │ │ ├── _selector.scssc │ │ │ ├── _series.scssc │ │ │ ├── _transition.scssc │ │ │ └── _unit.scssc │ │ ├── b75732c50a92a53ab6b08b4c3682bd77d3dafdf5 │ │ │ └── motion-ui.scssc │ │ ├── e731f5972ad50c847542c0e381e6ccb1cbe17559 │ │ │ ├── _classes.scssc │ │ │ ├── _column.scssc │ │ │ ├── _flex-grid.scssc │ │ │ ├── _grid.scssc │ │ │ ├── _gutter.scssc │ │ │ ├── _layout.scssc │ │ │ ├── _position.scssc │ │ │ ├── _row.scssc │ │ │ └── _size.scssc │ │ ├── ecff3b054a6a966f213a598e5ed2d0f38a14eac2 │ │ │ ├── _fade.scssc │ │ │ ├── _hinge.scssc │ │ │ ├── _shake.scssc │ │ │ ├── _slide.scssc │ │ │ ├── _spin.scssc │ │ │ ├── _wiggle.scssc │ │ │ └── _zoom.scssc │ │ ├── edfbe2c60929eb84c29944f7798196b3f977e292 │ │ │ ├── _factom.scssc │ │ │ ├── _pizza.scssc │ │ │ ├── _settings.scssc │ │ │ └── app.scssc │ │ └── eee9d77baf519fad5038873a0234d3a5f8a72e63 │ │ │ ├── _checkbox.scssc │ │ │ ├── _error.scssc │ │ │ ├── _fieldset.scssc │ │ │ ├── _forms.scssc │ │ │ ├── _help-text.scssc │ │ │ ├── _input-group.scssc │ │ │ ├── _label.scssc │ │ │ ├── _select.scssc │ │ │ └── _text.scssc │ │ ├── _factom.scss │ │ ├── _settings.scss │ │ ├── app.scss │ │ └── backup-flow-scss │ │ ├── _backup-addresses-alert.scss │ │ ├── _backup-success.scss │ │ ├── _dark-theme.scss │ │ ├── _forms.scss │ │ ├── _general.scss │ │ ├── _import-seed.scss │ │ ├── _light-theme.scss │ │ ├── _resets.scss │ │ ├── _step-one.scss │ │ ├── _step-three.scss │ │ ├── _step-two.scss │ │ ├── _variables.scss │ │ └── backup-flow.scss └── templates │ ├── addressBook.html │ ├── addressBookInner.html │ ├── backup-0.html │ ├── backup-1.html │ ├── backup-2.html │ ├── backup-3.html │ ├── create-entry-credits.html │ ├── edit-address-entry-credits.html │ ├── edit-address-external.html │ ├── edit-address-factoid.html │ ├── error.html │ ├── import-export-transaction.html │ ├── importSeed.html │ ├── index.html │ ├── new-address.html │ ├── notFoundError.html │ ├── receive-factoids.html │ ├── send-factoids.html │ ├── settings.html │ ├── success-screen.html │ ├── templateBottom.html │ ├── templateTop.html │ └── transaction-template.html └── win-start.bat /.coverignore: -------------------------------------------------------------------------------- 1 | web/files/statics/* 2 | web/files/templates/* 3 | main.go 4 | cliMain.go -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | # Don't copy the glide vendor directory 2 | vendor -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | web/min-statics/* 3 | web/min-templates/* 4 | 5 | 6 | 7 | mapStart.sh 8 | web/closure 9 | vendor/* 10 | enterprise-wallet.exe 11 | windows-binaries/* 12 | tmp/* 13 | scripts/* 14 | builds/* 15 | min-statics/* 16 | min-templats/* 17 | .sass-cache/* 18 | -------------------------------------------------------------------------------- /.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_fade.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_fade.scssc -------------------------------------------------------------------------------- /.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_hinge.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_hinge.scssc -------------------------------------------------------------------------------- /.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_shake.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_shake.scssc -------------------------------------------------------------------------------- /.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_slide.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_slide.scssc -------------------------------------------------------------------------------- /.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_spin.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_spin.scssc -------------------------------------------------------------------------------- /.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_wiggle.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_wiggle.scssc -------------------------------------------------------------------------------- /.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_zoom.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/1b5d78394ac57cc0d8a11e3c53fc596ab5947551/_zoom.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_classes.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_classes.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_column.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_column.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_flex-grid.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_flex-grid.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_grid.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_grid.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_gutter.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_gutter.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_layout.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_layout.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_position.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_position.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_row.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_row.scssc -------------------------------------------------------------------------------- /.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_size.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/21b8fc474bdcd3e253ac3a918bced31f6f3f245e/_size.scssc -------------------------------------------------------------------------------- /.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_checkbox.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_checkbox.scssc -------------------------------------------------------------------------------- /.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_error.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_error.scssc -------------------------------------------------------------------------------- /.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_fieldset.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_fieldset.scssc -------------------------------------------------------------------------------- /.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_help-text.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_help-text.scssc -------------------------------------------------------------------------------- /.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_input-group.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_input-group.scssc -------------------------------------------------------------------------------- /.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_label.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_label.scssc -------------------------------------------------------------------------------- /.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_select.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_select.scssc -------------------------------------------------------------------------------- /.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_text.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/5a0a487f3d6db4a876b0632d5ac2932217354a58/_text.scssc -------------------------------------------------------------------------------- /.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_animation.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_animation.scssc -------------------------------------------------------------------------------- /.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_args.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_args.scssc -------------------------------------------------------------------------------- /.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_keyframe.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_keyframe.scssc -------------------------------------------------------------------------------- /.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_selector.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_selector.scssc -------------------------------------------------------------------------------- /.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_series.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_series.scssc -------------------------------------------------------------------------------- /.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_transition.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_transition.scssc -------------------------------------------------------------------------------- /.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_unit.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/8c6bbf6a5d50ab507cd08f6834bb4da65abfa980/_unit.scssc -------------------------------------------------------------------------------- /.sass-cache/a35a7ca8b38ab24dc396077fa61df599a23b738e/motion-ui.scssc: -------------------------------------------------------------------------------- 1 | 3.5.1 (Bleeding Edge) 2 | 36efc4c5c3041f7637ec75ef869b2a039736841a 3 | o:Sass::Tree::RootNode :@children[o:Sass::Tree::ImportNode :@imported_filenameI"src/motion-ui:ET;[:@filename0: @options{:@template0: 4 | @linei:@source_rangeo:Sass::Source::Range :@start_poso:Sass::Source::Position; i: @offseti: @end_poso;; i;i: 5 | @fileI":web/statics/bower_components/motion-ui/motion-ui.scss; T:@importero: Sass::Importers::Filesystem: 6 | @rootI"M/Users/morphologia/dev/go/src/github.com/FactomProject/enterprise-wallet; T:@real_rootI"M/Users/morphologia/dev/go/src/github.com/FactomProject/enterprise-wallet; T:@same_name_warningso:Set: 7 | @hash{:@imported_file0o:Sass::Tree::MixinNode: 8 | @nameI"motion-ui-transitions; T: 9 | @args[:@keywords{: @splat0:@kwarg_splat0;[; 10 | 0; @ 11 | ; i;o; ;o;; i;i;o;; i;i$;@;@o;;I"motion-ui-animations; T;[; {;!0;"0;[; 12 | 0; @ 13 | ; i ;o; ;o;; i ;i;o;; i ;i#;@;@; 14 | 0; @ 15 | ; I"^@import "src/motion-ui"; 16 | 17 | @include motion-ui-transitions; 18 | @include motion-ui-animations; 19 | ; T; i;o; ;o;; i;i;o;; i;i;@;@:@has_childrenT -------------------------------------------------------------------------------- /.sass-cache/a5b20b18db6bddeebd151bbe7c8dd58f7c567ab4/_classes.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/a5b20b18db6bddeebd151bbe7c8dd58f7c567ab4/_classes.scssc -------------------------------------------------------------------------------- /.sass-cache/a5b20b18db6bddeebd151bbe7c8dd58f7c567ab4/_settings.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/a5b20b18db6bddeebd151bbe7c8dd58f7c567ab4/_settings.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_accordion-menu.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_accordion-menu.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_accordion.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_accordion.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_badge.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_badge.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_breadcrumbs.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_breadcrumbs.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_button-group.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_button-group.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_button.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_button.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_callout.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_callout.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_close-button.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_close-button.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_drilldown.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_drilldown.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_dropdown-menu.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_dropdown-menu.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_dropdown.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_dropdown.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_flex-video.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_flex-video.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_float.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_float.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_label.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_label.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_media-object.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_media-object.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_menu.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_menu.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_off-canvas.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_off-canvas.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_orbit.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_orbit.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_pagination.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_pagination.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_progress-bar.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_progress-bar.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_reveal.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_reveal.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_slider.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_slider.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_sticky.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_sticky.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_switch.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_switch.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_table.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_table.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_tabs.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_tabs.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_thumbnail.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_thumbnail.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_title-bar.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_title-bar.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_tooltip.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_tooltip.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_top-bar.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_top-bar.scssc -------------------------------------------------------------------------------- /.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_visibility.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/c6cf98ab81daae09bd886671751931445fd4095a/_visibility.scssc -------------------------------------------------------------------------------- /.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_breakpoint.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_breakpoint.scssc -------------------------------------------------------------------------------- /.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_color.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_color.scssc -------------------------------------------------------------------------------- /.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_mixins.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_mixins.scssc -------------------------------------------------------------------------------- /.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_selector.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_selector.scssc -------------------------------------------------------------------------------- /.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_unit.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_unit.scssc -------------------------------------------------------------------------------- /.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_util.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_util.scssc -------------------------------------------------------------------------------- /.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_value.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/cf7c2c80a0dee766125cc8a26778c5c624fece08/_value.scssc -------------------------------------------------------------------------------- /.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_fade.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_fade.scssc -------------------------------------------------------------------------------- /.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_hinge.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_hinge.scssc -------------------------------------------------------------------------------- /.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_slide.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_slide.scssc -------------------------------------------------------------------------------- /.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_spin.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_spin.scssc -------------------------------------------------------------------------------- /.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_zoom.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/d8f7165344e753c838241620e5ea36f5fad59110/_zoom.scssc -------------------------------------------------------------------------------- /.sass-cache/efe28756a09fa49aa382df526092dd7824c5f87f/_factom.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/efe28756a09fa49aa382df526092dd7824c5f87f/_factom.scssc -------------------------------------------------------------------------------- /.sass-cache/efe28756a09fa49aa382df526092dd7824c5f87f/_settings.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/efe28756a09fa49aa382df526092dd7824c5f87f/_settings.scssc -------------------------------------------------------------------------------- /.sass-cache/f04e4b05e7f2e2932bd5066b41d665d21b94d8d9/_global.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/f04e4b05e7f2e2932bd5066b41d665d21b94d8d9/_global.scssc -------------------------------------------------------------------------------- /.sass-cache/f04e4b05e7f2e2932bd5066b41d665d21b94d8d9/foundation.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/f04e4b05e7f2e2932bd5066b41d665d21b94d8d9/foundation.scssc -------------------------------------------------------------------------------- /.sass-cache/f86a22430a6fd93f7fc65343dd14274161720923/_alignment.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/f86a22430a6fd93f7fc65343dd14274161720923/_alignment.scssc -------------------------------------------------------------------------------- /.sass-cache/f86a22430a6fd93f7fc65343dd14274161720923/_base.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/f86a22430a6fd93f7fc65343dd14274161720923/_base.scssc -------------------------------------------------------------------------------- /.sass-cache/f86a22430a6fd93f7fc65343dd14274161720923/_helpers.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/f86a22430a6fd93f7fc65343dd14274161720923/_helpers.scssc -------------------------------------------------------------------------------- /.sass-cache/f86a22430a6fd93f7fc65343dd14274161720923/_print.scssc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/.sass-cache/f86a22430a6fd93f7fc65343dd14274161720923/_print.scssc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.9 2 | 3 | # Get git 4 | RUN apt-get update \ 5 | && apt-get -y install curl git \ 6 | && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 7 | 8 | # Get glide 9 | RUN go get github.com/Masterminds/glide 10 | 11 | # Where enterprise-wallet sources will live 12 | WORKDIR $GOPATH/src/github.com/FactomProject/enterprise-wallet 13 | 14 | # Get the dependencies 15 | COPY glide.yaml glide.lock ./ 16 | 17 | # Install dependencies 18 | RUN glide install -v 19 | 20 | # Populate the rest of the source 21 | COPY . . 22 | 23 | ARG GOOS=linux 24 | 25 | # Build and install enterprise-wallet 26 | RUN go install 27 | 28 | ENTRYPOINT ["/go/bin/enterprise-wallet"] 29 | 30 | EXPOSE 8091 31 | -------------------------------------------------------------------------------- /Dockerfile.alpine: -------------------------------------------------------------------------------- 1 | FROM golang:1.9-alpine as builder 2 | 3 | # Get git 4 | RUN apk add --no-cache curl git 5 | 6 | # Get glide 7 | RUN go get github.com/Masterminds/glide 8 | 9 | # Where enterprise-wallet sources will live 10 | WORKDIR $GOPATH/src/github.com/FactomProject/enterprise-wallet 11 | 12 | # Get the dependencies 13 | COPY glide.yaml glide.lock ./ 14 | 15 | # Install dependencies 16 | RUN glide install -v 17 | 18 | 19 | # Install dependencies 20 | RUN glide install -v 21 | 22 | # Populate the rest of the source 23 | COPY . . 24 | 25 | ARG GOOS=linux 26 | 27 | # Build and install enterprise-wallet 28 | RUN go install 29 | 30 | # Now squash everything 31 | FROM alpine:3.6 32 | 33 | # Get git 34 | RUN apk add --no-cache ca-certificates curl git 35 | 36 | RUN mkdir -p /go/bin 37 | COPY --from=builder /go/bin/enterprise-wallet /go/bin/enterprise-wallet 38 | 39 | ENTRYPOINT ["/go/bin/enterprise-wallet"] 40 | 41 | EXPOSE 8091 42 | -------------------------------------------------------------------------------- /TestHelper/start.go: -------------------------------------------------------------------------------- 1 | package TestHelper 2 | 3 | import ( 4 | . "github.com/FactomProject/enterprise-wallet/wallet" 5 | "github.com/FactomProject/factom" 6 | ) 7 | 8 | func Stop() { 9 | // Used to do something 10 | } 11 | 12 | func Start() (*WalletDB, error) { 13 | // Should read from config 14 | factom.SetFactomdServer("localhost:8088") 15 | 16 | wal, err := LoadWalletDB(false, "") 17 | if err != nil { 18 | return nil, err 19 | } 20 | 21 | return wal, nil 22 | } 23 | -------------------------------------------------------------------------------- /compileAll.sh: -------------------------------------------------------------------------------- 1 | rm -r electron-wrapper/bin 2 | mkdir electron-wrapper/bin 3 | 4 | echo "Compiling for windows" 5 | env GOOS=windows GOARCH=amd64 go build 6 | mv enterprise-wallet.exe electron-wrapper/bin/ 7 | 8 | echo "Compiling for Linux" 9 | env GOOS=linux GOARCH=amd64 go build 10 | mv enterprise-wallet electron-wrapper/bin/enterprise-wallet-lin 11 | 12 | echo "Compiling for mac" 13 | env GOOS=darwin GOARCH=amd64 go build 14 | mv enterprise-wallet electron-wrapper/bin/enterprise-wallet-mac -------------------------------------------------------------------------------- /electron-wrapper/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | bin/* 3 | npm-debug.log 4 | bin 5 | dist -------------------------------------------------------------------------------- /electron-wrapper/app/README.md: -------------------------------------------------------------------------------- 1 | # Electron Enterprise Wallet Wrapper 2 | This is an electron wrapper for the Enterprise Wallet. It simply makes the wallet a desktop app with a single window. 3 | 4 | ## To Use 5 | 6 | ```bash 7 | # Clone this repository 8 | git clone https://github.com/FactomProject/enterprise-wallet.git 9 | # Go into the repository 10 | cd $GOPATH/FactomProject/enterprise-wallet 11 | # Build the Go binary 12 | go build 13 | # Move the Go binary to the bin of the Electron Wrapper 14 | mv enterprise-wallet electron-wrapper/bin/ 15 | # Go into electron wrapper directory 16 | cd electron-wrapper 17 | # Install dependencies 18 | npm install 19 | # Run the app 20 | npm start 21 | ``` 22 | ## For Windows users! 23 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading.css: -------------------------------------------------------------------------------- 1 | .container { 2 | position: absolute; 3 | height: 98%; 4 | width: 98%; 5 | margin: 0 auto; 6 | background-image:url('factom-foundation_horizontal.svg'); 7 | background-repeat: no-repeat; 8 | } 9 | 10 | body { 11 | overflow:hidden; 12 | } 13 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Enterprise Wallet Loading 6 | 7 | 8 | 9 |
10 |
11 | 12 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/app-bg-light.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/electron-wrapper/app/loading/images/app-bg-light.jpg -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/app-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/electron-wrapper/app/loading/images/app-bg.jpg -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/arrow-back.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | arrow-back - MaterialIcons-Regular 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/electron-wrapper/app/loading/images/favicon.png -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/icon-address-book-purple.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 17 | 18 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/icon-address-book.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/icon-check.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | check - MaterialIcons-Regular 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/icon-not-secure.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Group 4 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading/images/icon-times.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | close - MaterialIcons-Regular 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /electron-wrapper/app/loading/js/app.js: -------------------------------------------------------------------------------- 1 | const ipc = require('electron').ipcRenderer 2 | 3 | const {shell} = require('electron') 4 | function openBlog(link) { 5 | shell.openExternal(link) 6 | } 7 | 8 | function sendChoiceToMain(secure) { 9 | if(secure) { 10 | var dom = document.getElementById("secure-password-input") 11 | if(checkValidPassword(dom.value)) { 12 | ipc.send('submitForm', dom.value) 13 | clearError() 14 | } else { 15 | dom.classList.add("has-error") 16 | } 17 | } else { 18 | ipc.send('submitForm', ""); 19 | } 20 | return false 21 | } 22 | 23 | function clearError() { 24 | document.getElementById("secure-password-input").classList.remove("has-error") 25 | document.getElementById("error-text").innerHTML = "" 26 | } 27 | 28 | function updateCheckbox() { 29 | var c = document.getElementById('checkbox'); 30 | if(c.checked) { 31 | document.getElementById("proceed-button").disabled = false; 32 | } else { 33 | document.getElementById("proceed-button").disabled = true; 34 | } 35 | } 36 | 37 | function checkValidPassword(pass) { 38 | if(pass.length < 8) { 39 | document.getElementById("error-text").innerHTML = "Password must be at least 8 characters in length" 40 | return false 41 | } 42 | return true 43 | } -------------------------------------------------------------------------------- /electron-wrapper/app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "enterprisewallet", 3 | "version": "0.3.1", 4 | "description": "Factom Enterprise Wallet", 5 | "main": "main.js", 6 | "scripts": { 7 | "start": "electron ." 8 | }, 9 | "repository": "https://github.com/FactomProject/enterprise-wallet", 10 | "keywords": [ 11 | "Electron", 12 | "Factom", 13 | "Enterprise", 14 | "Wallet", 15 | "GUI" 16 | ], 17 | "author": "Factom.org", 18 | "license": "MIT", 19 | "dependencies": { 20 | "electron-context-menu": "^0.8.0", 21 | "electron-is-dev": "^0.1.2", 22 | "electron-single-instance": "0.0.2", 23 | "ps-node": "^0.1.4", 24 | "request": "^2.79.0" 25 | }, 26 | "devDependencies": { 27 | "electron": "^1.4.1" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /electron-wrapper/build/background-full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/electron-wrapper/build/background-full.png -------------------------------------------------------------------------------- /electron-wrapper/build/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/electron-wrapper/build/background.png -------------------------------------------------------------------------------- /electron-wrapper/build/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/electron-wrapper/build/icon.icns -------------------------------------------------------------------------------- /electron-wrapper/build/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/electron-wrapper/build/icon.ico -------------------------------------------------------------------------------- /electron-wrapper/build/mac-install_icns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FactomProject/enterprise-wallet/3fea8d861478141e44f87935cf0dbe4573ca3b4b/electron-wrapper/build/mac-install_icns.png -------------------------------------------------------------------------------- /electron-wrapper/linSetBin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm -r app/bin 4 | mkdir app/bin 5 | cp bin/enterprise-wallet-lin app/bin/enterprise-wallet -------------------------------------------------------------------------------- /electron-wrapper/macSetBin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm -r app/bin 4 | mkdir app/bin 5 | cp bin/enterprise-wallet-mac app/bin/enterprise-wallet -------------------------------------------------------------------------------- /electron-wrapper/winSetBin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm -r app/bin 4 | mkdir app/bin 5 | cp bin/enterprise-wallet.exe app/bin/enterprise-wallet.exe -------------------------------------------------------------------------------- /glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/FactomProject/enterprise-wallet 2 | import: 3 | - package: github.com/FactomProject/btcutil 4 | version: develop 5 | subpackages: 6 | - base58 7 | - package: github.com/FactomProject/factom 8 | version: develop 9 | subpackages: 10 | - wallet 11 | - wallet/wsapi 12 | - package: github.com/FactomProject/bolt 13 | version: master 14 | - package: github.com/FactomProject/factomd 15 | version: develop 16 | subpackages: 17 | - common/factoid 18 | - common/interfaces 19 | - common/primitives 20 | - database/hybridDB 21 | - database/mapdb 22 | - util 23 | - package: github.com/FactomProject/goleveldb 24 | version: master 25 | - package: github.com/FactomProject/snappy-go 26 | version: master 27 | 28 | testImport: 29 | - package: github.com/FactomProject/ed25519 30 | version: master 31 | -------------------------------------------------------------------------------- /make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Runs the compile.sh in web/ 3 | # Then runs go install 4 | 5 | cd web/ 6 | # Minifies JS/CSS 7 | # Compiles into binary 8 | # The input can be "closure", which will use google's closure compile for JS. 9 | # It is slower to minify, but better results. 10 | sh compile.sh $1 11 | 12 | cd .. 13 | 14 | # Build binaries 15 | sh compileAll.sh -------------------------------------------------------------------------------- /wallet/balanceCache.go: -------------------------------------------------------------------------------- 1 | package wallet 2 | 3 | import ( 4 | "sync" 5 | "time" 6 | ) 7 | 8 | // BalanceCache holds temporary data as a buffer 9 | // ttl - the duration a value should be cached 10 | type BalanceCache struct { 11 | ttl time.Duration 12 | mutex *sync.RWMutex 13 | cache map[string]uint64 14 | cacheTime map[string]time.Time 15 | } 16 | 17 | // NewBalanceCache create a new default cache with a ttl of 60 seconds 18 | func NewBalanceCache() *BalanceCache { 19 | return &BalanceCache{ 20 | 60 * time.Second, 21 | &sync.RWMutex{}, 22 | make(map[string]uint64), 23 | make(map[string]time.Time), 24 | } 25 | } 26 | 27 | // Clear removes all data from the cache 28 | func (c *BalanceCache) Clear() { 29 | c.mutex.Lock() 30 | defer c.mutex.Unlock() 31 | c.cache = make(map[string]uint64) 32 | c.cacheTime = make(map[string]time.Time) 33 | } 34 | 35 | // Get retrieve a value for the given key, returns false in second 36 | // param if key not found or expired 37 | func (c *BalanceCache) Get(key string) (uint64, bool) { 38 | c.mutex.RLock() 39 | defer c.mutex.RUnlock() 40 | if time.Since(c.cacheTime[key]) <= c.ttl { 41 | return c.cache[key], true 42 | } 43 | return 0, false 44 | } 45 | 46 | // Set store a value for the given key 47 | func (c *BalanceCache) Set(key string, val uint64) { 48 | c.mutex.Lock() 49 | defer c.mutex.Unlock() 50 | c.cache[key] = val 51 | c.cacheTime[key] = time.Now() 52 | } 53 | -------------------------------------------------------------------------------- /wallet/paths.go: -------------------------------------------------------------------------------- 1 | package wallet 2 | 3 | var ( 4 | WalletBoltV1Path = "/.factom/factoid_wallet_bolt.db" 5 | 6 | /* M2 Folder Paths, uses '/wallet/'' */ 7 | walletLDBPath = "/.factom/wallet/factoid_wallet.ldb" 8 | walletBoltPath = "/.factom/wallet/factom_wallet.db" 9 | walletEncryptedBoltPath = "/.factom/wallet/factom_wallet_encrypted.db" 10 | 11 | guiLDBPath = "/.factom/wallet/factoid_gui_ldb.db" 12 | guiBoltPath = "/.factom/wallet/factom_wallet_gui.db" 13 | guiEncryptedBoltPath = "/.factom/wallet/factom_wallet_gui_encrypted.db" 14 | 15 | txdbLDBPath = "/.factom/wallet/factoid_blocks_ldb_cache.db/" 16 | txdbBoltPath = "/.factom/wallet/factoid_blocks.cache" 17 | ) 18 | -------------------------------------------------------------------------------- /wallet/startWallet.go: -------------------------------------------------------------------------------- 1 | package wallet 2 | 3 | import ( 4 | "github.com/FactomProject/factom" 5 | // "github.com/FactomProject/factom/wallet/wsapi" 6 | ) 7 | 8 | // StartWallet : 9 | // Must give the port for the factomd instance 10 | func StartWallet(factomdLocation string, walletDBType int, guiDBType int, txDBType int, v1Import bool, password string) (*WalletDB, error) { 11 | // Set ports 12 | // factom.SetWalletServer("localhost:" + fmt.Sprintf("%d", walletPort)) 13 | factom.SetFactomdServer(factomdLocation) //"localhost:" + fmt.Sprintf("%d", factomdPort)) 14 | 15 | // Can change to MAP, LDB, BOLT 16 | GUI_DB = guiDBType 17 | WALLET_DB = walletDBType 18 | TX_DB = txDBType 19 | 20 | // Load the databases relavent to the wallet 21 | wal, err := LoadWalletDB(v1Import, password) 22 | if err != nil { 23 | return nil, err 24 | } 25 | 26 | // This is now uneeded. 27 | // portStr := "localhost:" + strconv.Itoa(walletPort) 28 | // fmt.Println("Starting Wallet WSAPI on http://" + portStr + "/") 29 | // go wsapi.Start(wal.Wallet, fmt.Sprintf(":%d", walletPort), *(factom.RpcConfig)) 30 | 31 | return wal, nil 32 | } 33 | -------------------------------------------------------------------------------- /web/README.md: -------------------------------------------------------------------------------- 1 | # Web Minify 2 | Do not edit any files in "min-templates" or "min-statics", these are dynamically generated from original files, but minified for faster load speeds. 3 | - Templates are not minified currently. 4 | 5 | 6 | ## Minify Code 7 | Uses https://github.com/FactomProject/minify, MIT License 8 | -------------------------------------------------------------------------------- /web/compile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | sh concatJs.sh 5 | # Minifies static files 6 | if [ "$1" = "closure" ] # Closure compile by google 7 | then 8 | sh min-file.sh closure 9 | else 10 | sh min-file.sh 11 | fi 12 | 13 | echo "Compiling statics into GO...." 14 | # Compiles static files into binary 15 | staticfiles -o files/statics/statics.go min-statics 16 | staticfiles -o files/templates/templates.go min-templates -------------------------------------------------------------------------------- /web/concatJs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rootPath=$GOPATH/src/github.com/FactomProject/enterprise-wallet/web/ 4 | 5 | # Concatenate all js files 6 | allFile="${rootPath}statics/js/all.js" 7 | 8 | rm $allFile 9 | 10 | touch $allFile 11 | 12 | cat ${rootPath}statics/js/addressbook.js >> $allFile 13 | cat ${rootPath}statics/js/index.js >> $allFile 14 | cat ${rootPath}statics/js/send-convert.js >> $allFile 15 | cat ${rootPath}statics/js/settings.js >> $allFile 16 | cat ${rootPath}statics/js/recieve-factoids.js >> $allFile 17 | cat ${rootPath}statics/js/new-address.js >> $allFile 18 | cat ${rootPath}statics/js/edit-address.js >> $allFile 19 | cat ${rootPath}statics/js/backup.js >> $allFile -------------------------------------------------------------------------------- /web/files/general.go: -------------------------------------------------------------------------------- 1 | package files 2 | 3 | import ( 4 | "io" 5 | "net/http" 6 | "strings" 7 | "time" 8 | 9 | "github.com/FactomProject/enterprise-wallet/web/files/statics" 10 | "github.com/FactomProject/enterprise-wallet/web/files/templates" 11 | ) 12 | 13 | // This is the general handler. The files are split into two categories to speed 14 | // up globbing. Templates are usually parsed with a '*', and had to cycle through all 15 | // static files as well. This handler will decide which category the user is looking for 16 | // and only search within that category. Now can add more static files without affecting 17 | // performance. 18 | 19 | type staticFilesFile struct { 20 | data string 21 | mime string 22 | mtime time.Time 23 | size int 24 | } 25 | 26 | var TemplatesServer http.Handler = templates.Server 27 | var StaticServer http.Handler = statics.Server 28 | 29 | func Open(name string) (io.ReadCloser, error) { 30 | if strings.Contains(name, "templates/") { 31 | return templates.Open(name[10:]) 32 | } else { 33 | return statics.Open(name) 34 | } 35 | } 36 | 37 | func ModTime(file string) (t time.Time) { 38 | if strings.Contains(file, "templates/") { 39 | return templates.ModTime(file[10:]) 40 | } else { 41 | return statics.ModTime(file) 42 | } 43 | } 44 | 45 | func Hash(file string) (s string) { 46 | if strings.Contains(file, "templates/") { 47 | return templates.Hash(file[10:]) 48 | } else { 49 | return statics.Hash(file) 50 | } 51 | } 52 | 53 | func OpenGlob(name string) ([]io.ReadCloser, error) { 54 | if strings.Contains(name, "templates/") { 55 | return templates.OpenGlob(name[10:]) 56 | } else { 57 | return statics.OpenGlob(name) 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /web/files/general_test.go: -------------------------------------------------------------------------------- 1 | package files_test 2 | 3 | import ( 4 | "testing" 5 | 6 | . "github.com/FactomProject/enterprise-wallet/web/files" 7 | ) 8 | 9 | func TestOpen(t *testing.T) { 10 | _, err := Open("css/app.css") 11 | if err != nil { 12 | t.Errorf("Could not find and open a static file") 13 | } 14 | 15 | _, err = Open("templates/addressBook.html") 16 | if err != nil { 17 | t.Errorf("Could not find and open a template file") 18 | } 19 | } 20 | 21 | func TestModTime(t *testing.T) { 22 | mt := ModTime("css/app.css") 23 | if mt.IsZero() { 24 | t.Errorf("Could not find the static file") 25 | } 26 | 27 | mt = ModTime("templates/addressBook.html") 28 | if mt.IsZero() { 29 | t.Errorf("Could not find the template file") 30 | } 31 | } 32 | 33 | func TestHash(t *testing.T) { 34 | hash := Hash("css/app.css") 35 | if hash == "" { 36 | t.Errorf("Could not find the static file") 37 | } 38 | 39 | hash = Hash("templates/addressBook.html") 40 | if hash == "" { 41 | t.Errorf("Could not find the template file") 42 | } 43 | } 44 | 45 | func TestOpenGlob(t *testing.T) { 46 | _, err := OpenGlob("css/*") 47 | if err != nil { 48 | t.Errorf("Could not glob open stativs") 49 | } 50 | 51 | _, err = OpenGlob("templates/*") 52 | if err != nil { 53 | t.Errorf("Could not glob open templates") 54 | } 55 | 56 | // Fail opens 57 | _, err = OpenGlob("DoesNotExist/*") 58 | if err == nil { 59 | t.Error("This should fail as the assets do not exits") 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /web/files/parse.go: -------------------------------------------------------------------------------- 1 | package files 2 | 3 | import ( 4 | "io" 5 | "io/ioutil" 6 | "text/template" 7 | 8 | "fmt" 9 | ) 10 | 11 | // Custom parsing of static files. Makes it easier to use with templates 12 | 13 | func CustomParseGlob(temp *template.Template, file string) *template.Template { 14 | var err error 15 | readers, err := OpenGlob(file) 16 | if err != nil { 17 | return temp 18 | } 19 | 20 | for _, reader := range readers { 21 | if reader != nil { 22 | temp, err = parseData(temp, reader) 23 | } 24 | } 25 | 26 | return temp 27 | } 28 | 29 | func CustomParseFile(temp *template.Template, file string) (*template.Template, error) { 30 | reader, err := Open(file) 31 | if err != nil { 32 | return temp, err 33 | } 34 | temp, err = parseData(temp, reader) 35 | if err != nil { 36 | return temp, err 37 | } 38 | return temp, nil 39 | } 40 | 41 | func parseData(temp *template.Template, reader io.ReadCloser) (*template.Template, error) { 42 | data, err := ioutil.ReadAll(reader) 43 | if err != nil { 44 | return temp, err 45 | } 46 | reader.Close() 47 | 48 | if len(data) > 0 { 49 | if temp == nil { 50 | x := template.New("new") 51 | x.Parse(string(data)) 52 | return x, nil 53 | } else { 54 | temp.Parse(string(data)) 55 | return temp, nil 56 | } 57 | } 58 | return temp, fmt.Errorf("no data") 59 | } 60 | -------------------------------------------------------------------------------- /web/files/parse_test.go: -------------------------------------------------------------------------------- 1 | package files_test 2 | 3 | import ( 4 | "testing" 5 | "text/template" 6 | 7 | . "github.com/FactomProject/enterprise-wallet/web/files" 8 | ) 9 | 10 | func TestCustomParseGlob(t *testing.T) { 11 | temp := template.New("TestTemplate") 12 | temp = CustomParseGlob(temp, "templates/templateBottom.html") 13 | for _, temps := range temp.Templates() { 14 | if temps.Name() == "templateBottom" { 15 | return // We pass, as it was parsed 16 | } 17 | } 18 | 19 | t.Errorf("Template was not parsed") 20 | } 21 | 22 | func TestCustomParseFiles(t *testing.T) { 23 | var err error 24 | temp := template.New("TestTemplate") 25 | temp, err = CustomParseFile(temp, "templates/templateBottom.html") 26 | if err != nil { 27 | t.Fail() 28 | } 29 | for _, temps := range temp.Templates() { 30 | if temps.Name() == "templateBottom" { 31 | return // We pass, as it was parsed 32 | } 33 | } 34 | 35 | _, err = CustomParseFile(temp, "this-do-no-exist") 36 | if err == nil { 37 | t.Fail() 38 | } 39 | 40 | t.Errorf("Template was not parsed") 41 | } 42 | -------------------------------------------------------------------------------- /web/min-file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # minify -o out.html in.html 3 | 4 | echo "Moving all files to min-directory..." 5 | rm -r min-statics/ 6 | rm -r min-templates/ 7 | 8 | cp -r statics/ min-statics/ 9 | cp -r templates/ min-templates/ 10 | 11 | sh non-essentials.sh 12 | 13 | # These don't minify well, will adjust 14 | echo "Minfying templates..." 15 | # minify -r -o min-templates templates/ 16 | echo "Minfying javascript..." 17 | if [ "$1" = "closure" ] # Closure compile by google 18 | then 19 | #for filename in statics/js/*; do 20 | # echo " Minifying ${filename}..." 21 | # java -jar closure/compiler.jar --js_output_file=min-${filename} ${filename} #--compilation_level=ADVANCED 22 | #done 23 | echo " Minifying all.js using closure..." 24 | java -jar closure/compiler.jar --js_output_file=min-statics/js/all.js statics/js/all.js 25 | echo " Minifying ajax.js using closure..." 26 | java -jar closure/compiler.jar --js_output_file=min-statics/js/ajax.js statics/js/ajax.js 27 | echo " Minifying app.js using closure..." 28 | java -jar closure/compiler.jar --js_output_file=min-statics/js/app.js statics/js/app.js 29 | else 30 | echo "No minify" 31 | fi 32 | 33 | if [ "$1" = "none" ] 34 | then 35 | echo "Not minify css" 36 | else 37 | echo "Minfying css..." 38 | echo " Minifying statics/css/app.css..." 39 | #minify -o min-statics/css/app.css statics/css/app.css 40 | cp statics/css/app.css min-statics/css/app.css 41 | echo " Minifying statics/css/other.css..." 42 | cp statics/css/other.css min-statics/css/other.css 43 | #minify -o min-statics/css/other.css statics/css/other.css 44 | fi -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foundation-sites", 3 | "version": "6.0.6", 4 | "main": [ 5 | "scss/foundation.scss", 6 | "dist/foundation.js" 7 | ], 8 | "ignore": [ 9 | "config", 10 | "docs", 11 | "gulp", 12 | "lib", 13 | "test", 14 | "composer.json", 15 | "CONTRIBUTING.md", 16 | "gulpfile.js", 17 | "meteor-README.md", 18 | "package.js", 19 | "package.json", 20 | "sache.json", 21 | ".editorconfig", 22 | ".npm", 23 | ".gitignore", 24 | ".npmignore", 25 | ".versions", 26 | "scss/settings" 27 | ], 28 | "dependencies": { 29 | "jquery": "~2.1.0", 30 | "what-input": "~1.1.2" 31 | }, 32 | "homepage": "https://github.com/zurb/foundation-sites", 33 | "_release": "6.0.6", 34 | "_resolution": { 35 | "type": "version", 36 | "tag": "v6.0.6", 37 | "commit": "897a3345bf8d6e727ecd463b488b8675751957bd" 38 | }, 39 | "_source": "git://github.com/zurb/foundation-sites.git", 40 | "_target": "~6.0.0", 41 | "_originalSource": "foundation-sites" 42 | } -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013-2015 ZURB, inc. 2 | 3 | MIT License 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foundation-sites", 3 | "version": "6.0.6", 4 | "main": [ 5 | "scss/foundation.scss", 6 | "dist/foundation.js" 7 | ], 8 | "ignore": [ 9 | "config", 10 | "docs", 11 | "gulp", 12 | "lib", 13 | "test", 14 | "composer.json", 15 | "CONTRIBUTING.md", 16 | "gulpfile.js", 17 | "meteor-README.md", 18 | "package.js", 19 | "package.json", 20 | "sache.json", 21 | ".editorconfig", 22 | ".npm", 23 | ".gitignore", 24 | ".npmignore", 25 | ".versions", 26 | "scss/settings" 27 | ], 28 | "dependencies": { 29 | "jquery": "~2.1.0", 30 | "what-input": "~1.1.2" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/docslink.sh: -------------------------------------------------------------------------------- 1 | # Clones the foundation-docs repo and links it to NPM locally 2 | git clone https://github.com/zurb/foundation-docs 3 | npm link ./foundation-docs 4 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/foundation-sites.scss: -------------------------------------------------------------------------------- 1 | @import 'foundation'; 2 | 3 | @include foundation-everything; 4 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/components/_accordion-menu.scss: -------------------------------------------------------------------------------- 1 | //// 2 | /// @group accordion-menu 3 | //// 4 | 5 | /// Sets if accordion menus have the default arrow styles. 6 | /// @type Boolean 7 | $accordionmenu-arrows: true !default; 8 | 9 | @mixin foundation-accordion-menu { 10 | @if $accordionmenu-arrows { 11 | .is-accordion-submenu-parent > a { 12 | position: relative; 13 | 14 | &::after { 15 | @include css-triangle(6px, $primary-color, down); 16 | position: absolute; 17 | top: 50%; 18 | margin-top: -4px; 19 | right: 1rem; 20 | } 21 | } 22 | 23 | .is-accordion-submenu-parent[aria-expanded='true'] > a::after { 24 | transform-origin: 50% 50%; 25 | transform: scaleY(-1); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/components/_badge.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group badge 7 | //// 8 | 9 | /// Default background color for badges. 10 | /// @type Color 11 | $badge-background: $primary-color !default; 12 | 13 | /// Default text color for badges. 14 | /// @type Color 15 | $badge-color: foreground($badge-background) !default; 16 | 17 | /// Default padding inside badges. 18 | /// @type Number 19 | $badge-padding: 0.3em !default; 20 | 21 | /// Minimum width of a badge. 22 | /// @type Number 23 | $badge-minwidth: 2.1em !default; 24 | 25 | /// Default font size for badges. 26 | /// @type Number 27 | $badge-font-size: 0.6rem !default; 28 | 29 | /// Generates the base styles for a badge. 30 | @mixin badge { 31 | display: inline-block; 32 | padding: $badge-padding; 33 | min-width: $badge-minwidth; 34 | font-size: $badge-font-size; 35 | text-align: center; 36 | border-radius: 50%; 37 | } 38 | 39 | @mixin foundation-badge { 40 | .badge { 41 | @include badge; 42 | 43 | background: $badge-background; 44 | color: $badge-color; 45 | 46 | @each $name, $color in $foundation-colors { 47 | @if $name != primary { 48 | &.#{$name} { 49 | background: $color; 50 | color: foreground($color); 51 | } 52 | } 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/components/_dropdown.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group dropdown 7 | //// 8 | 9 | /// Padding for dropdown panes. 10 | /// @type List 11 | $dropdown-padding: 1rem !default; 12 | 13 | /// Border for dropdown panes. 14 | /// @type List 15 | $dropdown-border: 1px solid $medium-gray !default; 16 | 17 | /// Font size for dropdown panes. 18 | /// @type List 19 | $dropdown-font-size: 16rem !default; 20 | 21 | /// Width for dropdown panes. 22 | /// @type Number 23 | $dropdown-width: 300px !default; 24 | 25 | /// Border radius dropdown panes. 26 | /// @type Number 27 | $dropdown-radius: $global-radius !default; 28 | 29 | /// Sizes for dropdown panes. Each size is a CSS class you can apply. 30 | /// @type Map 31 | $dropdown-sizes: ( 32 | tiny: 100px, 33 | small: 200px, 34 | large: 400px, 35 | ) !default; 36 | 37 | /// Applies styles for a basic dropdown. 38 | @mixin dropdown-container { 39 | background-color: $body-background; 40 | border: $dropdown-border; 41 | display: block; 42 | padding: $dropdown-padding; 43 | position: absolute; 44 | visibility: hidden; 45 | width: 300px; 46 | z-index: 10; 47 | border-radius: $dropdown-radius; 48 | 49 | &.is-open { 50 | visibility: visible; 51 | } 52 | } 53 | 54 | @mixin foundation-dropdown { 55 | .dropdown-pane { 56 | @include dropdown-container; 57 | } 58 | 59 | @each $name, $size in $dropdown-sizes { 60 | .dropdown-pane.#{$name} { 61 | width: $size; 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/components/_float.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group float 7 | //// 8 | 9 | @mixin foundation-float-classes { 10 | .float-left { 11 | float: left !important; 12 | } 13 | 14 | .float-right { 15 | float: right !important; 16 | } 17 | 18 | .float-center { 19 | display: block; 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | .clearfix { 25 | @include clearfix; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/components/_label.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group label 7 | //// 8 | 9 | /// Default background color for labels. 10 | /// @type Color 11 | $label-background: $primary-color !default; 12 | 13 | /// Default text color for labels. 14 | /// @type Color 15 | $label-color: foreground($label-background) !default; 16 | 17 | /// Default font size for labels. 18 | /// @type Number 19 | $label-font-size: 0.8rem !default; 20 | 21 | /// Default padding inside labels. 22 | /// @type Number 23 | $label-padding: 0.33333rem 0.5rem !default; 24 | 25 | /// Default radius of labels. 26 | /// @type Number 27 | $label-radius: $global-radius !default; 28 | 29 | /// Generates base styles for a label. 30 | @mixin label { 31 | display: inline-block; 32 | padding: $label-padding; 33 | font-size: $label-font-size; 34 | line-height: 1; 35 | white-space: nowrap; 36 | cursor: default; 37 | border-radius: $label-radius; 38 | } 39 | 40 | @mixin foundation-label { 41 | .label { 42 | @include label; 43 | 44 | background: $label-background; 45 | color: $label-color; 46 | 47 | @each $name, $color in $foundation-colors { 48 | @if $name != primary { 49 | &.#{$name} { 50 | background: $color; 51 | color: foreground($color); 52 | } 53 | } 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/components/_sticky.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | @mixin foundation-sticky { 6 | .sticky-container { 7 | position: relative; 8 | } 9 | 10 | .sticky { 11 | position: absolute; 12 | z-index: 0; 13 | transform: translate3d(0,0,0); 14 | } 15 | 16 | .sticky.is-stuck { 17 | position: fixed; 18 | z-index: 5; 19 | 20 | &.is-at-top { 21 | top: 0; 22 | } 23 | 24 | &.is-at-bottom { 25 | bottom: 0; 26 | } 27 | } 28 | 29 | .sticky.is-anchored { 30 | position: absolute; 31 | left: auto; 32 | right: auto; 33 | 34 | &.is-at-bottom { 35 | bottom: 0; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/components/_thumbnail.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group thumbnail 7 | //// 8 | 9 | /// Border around thumbnail images. 10 | /// @type Border 11 | $thumbnail-border: solid 4px $white !default; 12 | 13 | /// Bottom margin for thumbnail images. 14 | /// @type Length 15 | $thumbnail-margin-bottom: $global-margin !default; 16 | 17 | /// Box shadow under thumbnail images. 18 | /// @type Shadow 19 | $thumbnail-shadow: 0 0 0 1px rgba($black, 0.2) !default; 20 | 21 | /// Box shadow under thumbnail images. 22 | /// @type Shadow 23 | $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5) !default; 24 | 25 | /// Transition proprties for thumbnail images. 26 | /// @type Transition 27 | $thumbnail-transition: box-shadow 200ms ease-out !default; 28 | 29 | /// Default radius for thumbnail images. 30 | /// @type Number 31 | $thumbnail-radius: $global-radius !default; 32 | 33 | /// Adds thumbnail styles to an element. 34 | @mixin thumbnail { 35 | border: $thumbnail-border; 36 | box-shadow: $thumbnail-shadow; 37 | display: inline-block; 38 | line-height: 0; 39 | max-width: 100%; 40 | transition: $thumbnail-transition; 41 | border-radius: $thumbnail-radius; 42 | margin-bottom: $thumbnail-margin-bottom; 43 | 44 | &:hover, 45 | &:focus { 46 | box-shadow: $thumbnail-shadow-hover; 47 | } 48 | } 49 | 50 | @mixin foundation-thumbnail { 51 | .thumbnail { 52 | @include thumbnail; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/forms/_checkbox.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group forms 7 | //// 8 | 9 | @mixin foundation-form-checkbox { 10 | [type='file'], 11 | [type='checkbox'], 12 | [type='radio'] { 13 | margin: 0 0 $form-spacing; 14 | } 15 | 16 | // Styles for input/label siblings 17 | [type='checkbox'] + label, 18 | [type='radio'] + label { 19 | display: inline-block; 20 | margin-#{$global-left}: $form-spacing * 0.5; 21 | margin-#{$global-right}: $form-spacing; 22 | margin-bottom: 0; 23 | vertical-align: baseline; 24 | } 25 | 26 | // Styles for inputs inside labels 27 | label > [type='checkbox'], 28 | label > [type='label'] { 29 | margin-#{$global-right}: $form-spacing * 0.5; 30 | } 31 | 32 | // Normalize file input width 33 | [type='file'] { 34 | width: 100%; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/forms/_fieldset.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group forms 7 | //// 8 | 9 | /// Default border around custom fieldsets. 10 | /// @type Border 11 | $fieldset-border: 1px solid $medium-gray !default; 12 | 13 | /// Default padding inside custom fieldsets. 14 | /// @type Number 15 | $fieldset-padding: rem-calc(20) !default; 16 | 17 | /// Default margin around custom fieldsets. 18 | /// @type Number 19 | $fieldset-margin: rem-calc(18 0) !default; 20 | 21 | /// Default padding between the legend text and fieldset border. 22 | /// @type Number 23 | $legend-padding: rem-calc(0 3) !default; 24 | 25 | @mixin fieldset { 26 | border: $fieldset-border; 27 | padding: $fieldset-padding; 28 | margin: $fieldset-margin; 29 | 30 | legend { 31 | // Covers up the fieldset's border to create artificial padding 32 | background: $body-background; 33 | padding: $legend-padding; 34 | margin: 0; 35 | margin-#{$global-left}: rem-calc(-3); 36 | } 37 | } 38 | 39 | @mixin foundation-form-fieldset { 40 | fieldset { 41 | border: 0; 42 | padding: 0; 43 | margin: 0; 44 | } 45 | 46 | legend { 47 | margin-bottom: $form-spacing * 0.5; 48 | } 49 | 50 | .fieldset { 51 | @include fieldset; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/forms/_forms.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group forms 7 | //// 8 | 9 | /// Global spacing for form elements. 10 | /// @type Number 11 | $form-spacing: rem-calc(16) !default; 12 | 13 | @import 14 | 'text', 15 | 'checkbox', 16 | 'label', 17 | 'help-text', 18 | 'input-group', 19 | 'fieldset', 20 | 'select', 21 | 'error'; 22 | 23 | @mixin foundation-forms { 24 | @include foundation-form-text; 25 | @include foundation-form-checkbox; 26 | @include foundation-form-label; 27 | @include foundation-form-helptext; 28 | @include foundation-form-prepostfix; 29 | @include foundation-form-fieldset; 30 | @include foundation-form-select; 31 | @include foundation-form-error; 32 | } 33 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/forms/_help-text.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group forms 7 | //// 8 | 9 | /// Default color for help text. 10 | /// @type Color 11 | $helptext-color: #333 !default; 12 | 13 | /// Default font size for help text. 14 | /// @type Number 15 | $helptext-font-size: rem-calc(13) !default; 16 | 17 | /// Default font style for help text. 18 | /// @type Keyword 19 | $helptext-font-style: italic !default; 20 | 21 | @mixin foundation-form-helptext { 22 | .help-text { 23 | $margin-top: ($form-spacing * 0.5) * -1; 24 | 25 | margin-top: $margin-top; 26 | font-size: $helptext-font-size; 27 | font-style: $helptext-font-style; 28 | color: $helptext-color; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/forms/_label.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group forms 7 | //// 8 | 9 | /// Color for form labels. 10 | /// @type Color 11 | $form-label-color: $black !default; 12 | 13 | /// Font size for form labels. 14 | /// @type Number 15 | $form-label-font-size: rem-calc(14) !default; 16 | 17 | /// Font weight for form labels. 18 | /// @type Keyword 19 | $form-label-font-weight: $global-weight-normal !default; 20 | 21 | /// Line height for form labels. The higher the number, the more space between the label and its input field. 22 | /// @type Number 23 | $form-label-line-height: 1.8 !default; 24 | 25 | @mixin form-label { 26 | display: block; 27 | margin: 0; 28 | font-size: $form-label-font-size; 29 | font-weight: $form-label-font-weight; 30 | line-height: $form-label-line-height; 31 | color: $form-label-color; 32 | } 33 | 34 | @mixin form-label-middle { 35 | $input-border-width: get-border-value($input-border, width); 36 | margin: 0 0 $form-spacing; 37 | padding: ($form-spacing / 2 + rem-calc($input-border-width)) 0; 38 | } 39 | 40 | @mixin foundation-form-label { 41 | label { 42 | @include form-label; 43 | 44 | &.middle { 45 | @include form-label-middle; 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/grid/_grid.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group grid 7 | //// 8 | 9 | /// The maximum width of a row. 10 | /// @type Number 11 | $grid-row-width: $global-width !default; 12 | 13 | /// The default column count of a grid. Changing this value affects the logic of the grid mixins, and the number of CSS classes output. 14 | /// @type Number 15 | $grid-column-count: 12 !default; 16 | 17 | /// The amount of space between columns. 18 | /// @type Number 19 | $grid-column-gutter: 30px !default; 20 | 21 | /// If `true`, the last column in a row will align to the opposite edge of the row. 22 | /// @type Boolean 23 | $grid-column-align-edge: true !default; 24 | 25 | // Internal value to store the end column float direction 26 | $-zf-end-float: if($grid-column-align-edge, $global-right, $global-left); 27 | 28 | /// The highest number of `.x-up` classes available when using the block grid CSS. 29 | /// @type Number 30 | $block-grid-max: 8 !default; 31 | 32 | @import 'row'; 33 | @import 'column'; 34 | @import 'size'; 35 | @import 'position'; 36 | @import 'gutter'; 37 | @import 'classes'; 38 | @import 'layout'; 39 | 40 | @import 'flex-grid'; 41 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/grid/_gutter.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group grid 7 | //// 8 | 9 | /// Collapse the gutters on a column by removing the padding. 10 | @mixin grid-column-collapse() { 11 | padding-left: 0; 12 | padding-right: 0; 13 | } 14 | 15 | /// Un-collapse the gutters on a column by re-adding the padding. 16 | /// 17 | /// @param {Number} $gutter [$grid-column-gutter] - Spacing between columns. 18 | @mixin grid-column-uncollapse($gutter: $grid-column-gutter) { 19 | $gutter: rem-calc($gutter) / 2; 20 | padding-left: $gutter; 21 | padding-right: $gutter; 22 | } 23 | 24 | /// Shorthand for `grid-column-collapse()`. 25 | /// @alias grid-column-collapse 26 | @mixin grid-col-collapse() { 27 | @include grid-column-collapse; 28 | } 29 | 30 | /// Shorthand for `grid-column-uncollapse()`. 31 | /// @alias grid-column-uncollapse 32 | @mixin grid-col-uncollapse() { 33 | @include grid-column-uncollapse; 34 | } 35 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/grid/_layout.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group grid 7 | //// 8 | 9 | /// Sizes child elements so that `$n` number of items appear on each row. 10 | /// 11 | /// @param {Number} $n - Number of elements to display per row. 12 | /// @param {String} $selector ['.column'] - Selector(s) to use for child elements. 13 | @mixin grid-layout( 14 | $n, 15 | $selector: '.column' 16 | ) { 17 | & > #{$selector} { 18 | width: percentage(1/$n); 19 | float: $global-left; 20 | 21 | &:nth-of-type(1n) { 22 | clear: none; 23 | } 24 | 25 | &:nth-of-type(#{$n}n+1) { 26 | clear: both; 27 | } 28 | 29 | &:last-child { 30 | float: left; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/grid/_size.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group grid 7 | //// 8 | 9 | /// Set the width of a grid column. 10 | /// 11 | /// @param {Number|List} $width [$grid-column-count] - Width to make the column. You can pass in any value accepted by the `grid-column()` function, such as `6`, `50%`, or `1 of 2`. 12 | @mixin grid-column-size( 13 | $columns: $grid-column-count 14 | ) { 15 | width: grid-column($columns); 16 | } 17 | 18 | /// Shorthand for `grid-column-size()`. 19 | /// @alias grid-column-size 20 | @mixin grid-col-size( 21 | $columns: $grid-column-count 22 | ) { 23 | @include grid-column-size($columns); 24 | } 25 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/typography/_alignment.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | @mixin foundation-text-alignment { 6 | @each $size in $breakpoint-classes { 7 | @include breakpoint($size) { 8 | @each $align in (left, right, center, justify) { 9 | @if $size != 'small' { 10 | .#{$size}-text-#{$align} { 11 | text-align: $align; 12 | } 13 | } 14 | @else { 15 | .text-#{$align} { 16 | text-align: $align; 17 | } 18 | } 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/typography/_typography.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group typography 7 | //// 8 | 9 | // scss-lint:disable DeclarationOrder 10 | 11 | // Base typography styles (tags only) 12 | @import 'base'; 13 | 14 | // Typography helper classes (classes only) 15 | @import 'helpers'; 16 | 17 | // Text alignment classes 18 | @import 'alignment'; 19 | 20 | // Print styles 21 | @import 'print'; 22 | 23 | @mixin foundation-typography { 24 | @include foundation-typography-base; 25 | @include foundation-typography-helpers; 26 | @include foundation-text-alignment; 27 | @include foundation-print-styles; 28 | } 29 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/util/_selector.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | //// 6 | /// @group functions 7 | //// 8 | 9 | /// Generates a selector with every text input type. You can also filter the list to only output a subset of those selectors. 10 | /// 11 | /// @param {List|Keyword} $types [()] - A list of text input types to use. Leave blank to use all of them. 12 | @function text-inputs($types: ()) { 13 | $return: (); 14 | 15 | $all-types: 16 | text 17 | password 18 | date 19 | datetime 20 | datetime-local 21 | month 22 | week 23 | email 24 | number 25 | search 26 | tel 27 | time 28 | url 29 | color; 30 | 31 | @if not has-value($types) { 32 | $types: $all-types; 33 | } 34 | 35 | @each $type in $types { 36 | $return: append($return, unquote('[type=\'#{$type}\']'), comma); 37 | } 38 | 39 | @return $return; 40 | } 41 | -------------------------------------------------------------------------------- /web/statics/bower_components/foundation-sites/scss/util/_util.scss: -------------------------------------------------------------------------------- 1 | // Foundation for Sites by ZURB 2 | // foundation.zurb.com 3 | // Licensed under MIT Open Source 4 | 5 | // Utilities 6 | @import 'unit'; 7 | @import 'value'; 8 | @import 'color'; 9 | @import 'selector'; 10 | 11 | // Libraries 12 | @import 'breakpoint'; 13 | 14 | // Mixins 15 | @import 'mixins'; 16 | -------------------------------------------------------------------------------- /web/statics/bower_components/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "version": "2.1.4", 4 | "main": "dist/jquery.js", 5 | "license": "MIT", 6 | "ignore": [ 7 | "**/.*", 8 | "build", 9 | "dist/cdn", 10 | "speed", 11 | "test", 12 | "*.md", 13 | "AUTHORS.txt", 14 | "Gruntfile.js", 15 | "package.json" 16 | ], 17 | "devDependencies": { 18 | "sizzle": "2.1.1-jquery.2.1.2", 19 | "requirejs": "2.1.10", 20 | "qunit": "1.14.0", 21 | "sinon": "1.8.1" 22 | }, 23 | "keywords": [ 24 | "jquery", 25 | "javascript", 26 | "library" 27 | ], 28 | "homepage": "https://github.com/jquery/jquery", 29 | "_release": "2.1.4", 30 | "_resolution": { 31 | "type": "version", 32 | "tag": "2.1.4", 33 | "commit": "7751e69b615c6eca6f783a81e292a55725af6b85" 34 | }, 35 | "_source": "git://github.com/jquery/jquery.git", 36 | "_target": "~2.1.4", 37 | "_originalSource": "jquery" 38 | } -------------------------------------------------------------------------------- /web/statics/bower_components/jquery/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 jQuery Foundation and other contributors 2 | http://jquery.com/ 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining 5 | a copy of this software and associated documentation files (the 6 | "Software"), to deal in the Software without restriction, including 7 | without limitation the rights to use, copy, modify, merge, publish, 8 | distribute, sublicense, and/or sell copies of the Software, and to 9 | permit persons to whom the Software is furnished to do so, subject to 10 | the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /web/statics/bower_components/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "version": "2.1.4", 4 | "main": "dist/jquery.js", 5 | "license": "MIT", 6 | "ignore": [ 7 | "**/.*", 8 | "build", 9 | "dist/cdn", 10 | "speed", 11 | "test", 12 | "*.md", 13 | "AUTHORS.txt", 14 | "Gruntfile.js", 15 | "package.json" 16 | ], 17 | "devDependencies": { 18 | "sizzle": "2.1.1-jquery.2.1.2", 19 | "requirejs": "2.1.10", 20 | "qunit": "1.14.0", 21 | "sinon": "1.8.1" 22 | }, 23 | "keywords": [ 24 | "jquery", 25 | "javascript", 26 | "library" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /web/statics/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 | -------------------------------------------------------------------------------- /web/statics/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, tmp; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | tmp = new DOMParser(); 15 | xml = tmp.parseFromString( data, "text/xml" ); 16 | } catch ( e ) { 17 | xml = undefined; 18 | } 19 | 20 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 21 | jQuery.error( "Invalid XML: " + data ); 22 | } 23 | return xml; 24 | }; 25 | 26 | return jQuery.parseXML; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /web/statics/bower_components/jquery/src/ajax/script.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../ajax" 4 | ], function( jQuery ) { 5 | 6 | // Install script dataType 7 | jQuery.ajaxSetup({ 8 | accepts: { 9 | script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" 10 | }, 11 | contents: { 12 | script: /(?:java|ecma)script/ 13 | }, 14 | converters: { 15 | "text script": function( text ) { 16 | jQuery.globalEval( text ); 17 | return text; 18 | } 19 | } 20 | }); 21 | 22 | // Handle cache's special case and crossDomain 23 | jQuery.ajaxPrefilter( "script", function( s ) { 24 | if ( s.cache === undefined ) { 25 | s.cache = false; 26 | } 27 | if ( s.crossDomain ) { 28 | s.type = "GET"; 29 | } 30 | }); 31 | 32 | // Bind script tag hack transport 33 | jQuery.ajaxTransport( "script", function( s ) { 34 | // This transport only deals with cross domain requests 35 | if ( s.crossDomain ) { 36 | var script, callback; 37 | return { 38 | send: function( _, complete ) { 39 | script = jQuery("