aos 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.idea/aos.iml +11 -0
- data/.idea/misc.xml +7 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +90 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/aos.gemspec +34 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/aos.rb +8 -0
- data/lib/aos/version.rb +3 -0
- data/vendor/javascripts/aos.js +448 -0
- data/vendor/stylesheets/aos.css +1206 -0
- metadata +106 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2cc25b843b1f75e556ceba0ba3d1fb4bf41f1dfc1bf22f6afaf8e575e097d954
|
4
|
+
data.tar.gz: 8733d8b29b2c04d3fde5f651d961a01087033914faf7a71487404ffdb9dcec37
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b1df7b12b72ac7c4fe352c39566a6aff239c54625506f9028d01d319e970a5d3a81ecb073b79715e447ac48f0e892d017b717298f7a0bf7d98b84253fb4484e1
|
7
|
+
data.tar.gz: 4babf5e934dce3699b8d74d08386c8a1d67d13ba1977df42fafe57463fe71df52da33b7fa59aa925064b41f4e4c09f8efb62f1169dd1b3e11d4250a5d1afc8e8
|
data/.gitignore
ADDED
data/.idea/aos.iml
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="ModuleRunConfigurationManager">
|
4
|
+
<shared />
|
5
|
+
</component>
|
6
|
+
<component name="NewModuleRootManager">
|
7
|
+
<content url="file://$MODULE_DIR$" />
|
8
|
+
<orderEntry type="inheritedJdk" />
|
9
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
10
|
+
</component>
|
11
|
+
</module>
|
data/.idea/misc.xml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="JavaScriptSettings">
|
4
|
+
<option name="languageLevel" value="ES6" />
|
5
|
+
</component>
|
6
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.6.3-p62" project-jdk-type="RUBY_SDK" />
|
7
|
+
</project>
|
data/.idea/modules.xml
ADDED
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="fa0bea4f-f838-470b-b376-806575d0a903" name="Default Changelist" comment="">
|
5
|
+
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
|
6
|
+
<change afterPath="$PROJECT_DIR$/.idea/aos.iml" afterDir="false" />
|
7
|
+
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
8
|
+
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
|
9
|
+
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
|
10
|
+
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
11
|
+
<change afterPath="$PROJECT_DIR$/.rspec" afterDir="false" />
|
12
|
+
<change afterPath="$PROJECT_DIR$/.travis.yml" afterDir="false" />
|
13
|
+
<change afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" afterDir="false" />
|
14
|
+
<change afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
|
15
|
+
<change afterPath="$PROJECT_DIR$/LICENSE.txt" afterDir="false" />
|
16
|
+
<change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
17
|
+
<change afterPath="$PROJECT_DIR$/Rakefile" afterDir="false" />
|
18
|
+
<change afterPath="$PROJECT_DIR$/aos.gemspec" afterDir="false" />
|
19
|
+
<change afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
|
20
|
+
<change afterPath="$PROJECT_DIR$/bin/setup" afterDir="false" />
|
21
|
+
<change afterPath="$PROJECT_DIR$/lib/aos.rb" afterDir="false" />
|
22
|
+
<change afterPath="$PROJECT_DIR$/lib/aos/version.rb" afterDir="false" />
|
23
|
+
<change afterPath="$PROJECT_DIR$/spec/aos_spec.rb" afterDir="false" />
|
24
|
+
<change afterPath="$PROJECT_DIR$/spec/spec_helper.rb" afterDir="false" />
|
25
|
+
<change afterPath="$PROJECT_DIR$/vendor/javascripts/aos.js" afterDir="false" />
|
26
|
+
<change afterPath="$PROJECT_DIR$/vendor/stylesheets/aos.css" afterDir="false" />
|
27
|
+
</list>
|
28
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
29
|
+
<option name="SHOW_DIALOG" value="false" />
|
30
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
31
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
32
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
33
|
+
</component>
|
34
|
+
<component name="Git.Settings">
|
35
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
36
|
+
</component>
|
37
|
+
<component name="ProjectId" id="1TTQBwI4aBRickgsGi7FWFjM9Xz" />
|
38
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
39
|
+
<component name="PropertiesComponent">
|
40
|
+
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
41
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
42
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$/vendor" />
|
43
|
+
</component>
|
44
|
+
<component name="RecentsManager">
|
45
|
+
<key name="CopyFile.RECENT_KEYS">
|
46
|
+
<recent name="C:\Users\danka\RubymineProjects\aos\vendor" />
|
47
|
+
</key>
|
48
|
+
</component>
|
49
|
+
<component name="RunDashboard">
|
50
|
+
<option name="ruleStates">
|
51
|
+
<list>
|
52
|
+
<RuleState>
|
53
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
54
|
+
</RuleState>
|
55
|
+
<RuleState>
|
56
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
57
|
+
</RuleState>
|
58
|
+
</list>
|
59
|
+
</option>
|
60
|
+
</component>
|
61
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" RAKE_SPRING_PRE_LOADER_OPTION="true" RAILS_SPRING_PRE_LOADER_OPTION="true" />
|
62
|
+
<component name="SvnConfiguration">
|
63
|
+
<configuration />
|
64
|
+
</component>
|
65
|
+
<component name="TaskManager">
|
66
|
+
<task active="true" id="Default" summary="Default task">
|
67
|
+
<changelist id="fa0bea4f-f838-470b-b376-806575d0a903" name="Default Changelist" comment="" />
|
68
|
+
<created>1573481473422</created>
|
69
|
+
<option name="number" value="Default" />
|
70
|
+
<option name="presentableId" value="Default" />
|
71
|
+
<updated>1573481473422</updated>
|
72
|
+
<workItem from="1573481476261" duration="624000" />
|
73
|
+
</task>
|
74
|
+
<servers />
|
75
|
+
</component>
|
76
|
+
<component name="TypeScriptGeneratedFilesManager">
|
77
|
+
<option name="version" value="1" />
|
78
|
+
</component>
|
79
|
+
<component name="Vcs.Log.Tabs.Properties">
|
80
|
+
<option name="TAB_STATES">
|
81
|
+
<map>
|
82
|
+
<entry key="MAIN">
|
83
|
+
<value>
|
84
|
+
<State />
|
85
|
+
</value>
|
86
|
+
</entry>
|
87
|
+
</map>
|
88
|
+
</option>
|
89
|
+
</component>
|
90
|
+
</project>
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at dankatdennis@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 katungi
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# Aos
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/aos`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'aos'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install aos
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/aos. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
## Code of Conduct
|
42
|
+
|
43
|
+
Everyone interacting in the Aos project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/aos/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/aos.gemspec
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "aos/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "aos"
|
7
|
+
spec.version = Aos::VERSION
|
8
|
+
spec.authors = ["Daniel Katungi"]
|
9
|
+
spec.email = ["dankatdennis@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = %q{Animation on Scroll effects for rails}
|
12
|
+
spec.description = %q{This gem handles animations in a beautifull way keeping the integrity of the initial efforts of AOS Vue js Library}
|
13
|
+
# spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
# spec.metadata["allowed_push_host"] = "http://mygemserver.com"
|
17
|
+
|
18
|
+
# spec.metadata["homepage_uri"] = spec.homepage
|
19
|
+
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
20
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
21
|
+
|
22
|
+
# Specify which files should be added to the gem when it is released.
|
23
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
25
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
end
|
27
|
+
spec.bindir = "exe"
|
28
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
+
spec.require_paths = ["lib"]
|
30
|
+
|
31
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
32
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
33
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
34
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "aos"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/aos.rb
ADDED
data/lib/aos/version.rb
ADDED
@@ -0,0 +1,448 @@
|
|
1
|
+
! function(e, t) {
|
2
|
+
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : e.AOS = t()
|
3
|
+
}(this, function() {
|
4
|
+
"use strict";
|
5
|
+
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {},
|
6
|
+
t = "Expected a function",
|
7
|
+
n = NaN,
|
8
|
+
o = "[object Symbol]",
|
9
|
+
i = /^\s+|\s+$/g,
|
10
|
+
a = /^[-+]0x[0-9a-f]+$/i,
|
11
|
+
r = /^0b[01]+$/i,
|
12
|
+
c = /^0o[0-7]+$/i,
|
13
|
+
s = parseInt,
|
14
|
+
u = "object" == typeof e && e && e.Object === Object && e,
|
15
|
+
d = "object" == typeof self && self && self.Object === Object && self,
|
16
|
+
l = u || d || Function("return this")(),
|
17
|
+
f = Object.prototype.toString,
|
18
|
+
m = Math.max,
|
19
|
+
p = Math.min,
|
20
|
+
b = function() {
|
21
|
+
return l.Date.now()
|
22
|
+
};
|
23
|
+
|
24
|
+
function v(e, n, o) {
|
25
|
+
var i, a, r, c, s, u, d = 0,
|
26
|
+
l = !1,
|
27
|
+
f = !1,
|
28
|
+
v = !0;
|
29
|
+
if ("function" != typeof e) throw new TypeError(t);
|
30
|
+
|
31
|
+
function y(t) {
|
32
|
+
var n = i,
|
33
|
+
o = a;
|
34
|
+
return i = a = void 0, d = t, c = e.apply(o, n)
|
35
|
+
}
|
36
|
+
|
37
|
+
function h(e) {
|
38
|
+
var t = e - u;
|
39
|
+
return void 0 === u || t >= n || t < 0 || f && e - d >= r
|
40
|
+
}
|
41
|
+
|
42
|
+
function k() {
|
43
|
+
var e = b();
|
44
|
+
if (h(e)) return x(e);
|
45
|
+
s = setTimeout(k, function(e) {
|
46
|
+
var t = n - (e - u);
|
47
|
+
return f ? p(t, r - (e - d)) : t
|
48
|
+
}(e))
|
49
|
+
}
|
50
|
+
|
51
|
+
function x(e) {
|
52
|
+
return s = void 0, v && i ? y(e) : (i = a = void 0, c)
|
53
|
+
}
|
54
|
+
|
55
|
+
function O() {
|
56
|
+
var e = b(),
|
57
|
+
t = h(e);
|
58
|
+
if (i = arguments, a = this, u = e, t) {
|
59
|
+
if (void 0 === s) return function(e) {
|
60
|
+
return d = e, s = setTimeout(k, n), l ? y(e) : c
|
61
|
+
}(u);
|
62
|
+
if (f) return s = setTimeout(k, n), y(u)
|
63
|
+
}
|
64
|
+
return void 0 === s && (s = setTimeout(k, n)), c
|
65
|
+
}
|
66
|
+
return n = w(n) || 0, g(o) && (l = !!o.leading, r = (f = "maxWait" in o) ? m(w(o.maxWait) || 0, n) : r, v = "trailing" in o ? !!o.trailing : v), O.cancel = function() {
|
67
|
+
void 0 !== s && clearTimeout(s), d = 0, i = u = a = s = void 0
|
68
|
+
}, O.flush = function() {
|
69
|
+
return void 0 === s ? c : x(b())
|
70
|
+
}, O
|
71
|
+
}
|
72
|
+
|
73
|
+
function g(e) {
|
74
|
+
var t = typeof e;
|
75
|
+
return !!e && ("object" == t || "function" == t)
|
76
|
+
}
|
77
|
+
|
78
|
+
function w(e) {
|
79
|
+
if ("number" == typeof e) return e;
|
80
|
+
if (function(e) {
|
81
|
+
return "symbol" == typeof e || function(e) {
|
82
|
+
return !!e && "object" == typeof e
|
83
|
+
}(e) && f.call(e) == o
|
84
|
+
}(e)) return n;
|
85
|
+
if (g(e)) {
|
86
|
+
var t = "function" == typeof e.valueOf ? e.valueOf() : e;
|
87
|
+
e = g(t) ? t + "" : t
|
88
|
+
}
|
89
|
+
if ("string" != typeof e) return 0 === e ? e : +e;
|
90
|
+
e = e.replace(i, "");
|
91
|
+
var u = r.test(e);
|
92
|
+
return u || c.test(e) ? s(e.slice(2), u ? 2 : 8) : a.test(e) ? n : +e
|
93
|
+
}
|
94
|
+
var y = function(e, n, o) {
|
95
|
+
var i = !0,
|
96
|
+
a = !0;
|
97
|
+
if ("function" != typeof e) throw new TypeError(t);
|
98
|
+
return g(o) && (i = "leading" in o ? !!o.leading : i, a = "trailing" in o ? !!o.trailing : a), v(e, n, {
|
99
|
+
leading: i,
|
100
|
+
maxWait: n,
|
101
|
+
trailing: a
|
102
|
+
})
|
103
|
+
},
|
104
|
+
h = "Expected a function",
|
105
|
+
k = NaN,
|
106
|
+
x = "[object Symbol]",
|
107
|
+
O = /^\s+|\s+$/g,
|
108
|
+
j = /^[-+]0x[0-9a-f]+$/i,
|
109
|
+
E = /^0b[01]+$/i,
|
110
|
+
N = /^0o[0-7]+$/i,
|
111
|
+
z = parseInt,
|
112
|
+
C = "object" == typeof e && e && e.Object === Object && e,
|
113
|
+
A = "object" == typeof self && self && self.Object === Object && self,
|
114
|
+
q = C || A || Function("return this")(),
|
115
|
+
L = Object.prototype.toString,
|
116
|
+
T = Math.max,
|
117
|
+
M = Math.min,
|
118
|
+
S = function() {
|
119
|
+
return q.Date.now()
|
120
|
+
};
|
121
|
+
|
122
|
+
function D(e) {
|
123
|
+
var t = typeof e;
|
124
|
+
return !!e && ("object" == t || "function" == t)
|
125
|
+
}
|
126
|
+
|
127
|
+
function H(e) {
|
128
|
+
if ("number" == typeof e) return e;
|
129
|
+
if (function(e) {
|
130
|
+
return "symbol" == typeof e || function(e) {
|
131
|
+
return !!e && "object" == typeof e
|
132
|
+
}(e) && L.call(e) == x
|
133
|
+
}(e)) return k;
|
134
|
+
if (D(e)) {
|
135
|
+
var t = "function" == typeof e.valueOf ? e.valueOf() : e;
|
136
|
+
e = D(t) ? t + "" : t
|
137
|
+
}
|
138
|
+
if ("string" != typeof e) return 0 === e ? e : +e;
|
139
|
+
e = e.replace(O, "");
|
140
|
+
var n = E.test(e);
|
141
|
+
return n || N.test(e) ? z(e.slice(2), n ? 2 : 8) : j.test(e) ? k : +e
|
142
|
+
}
|
143
|
+
var $ = function(e, t, n) {
|
144
|
+
var o, i, a, r, c, s, u = 0,
|
145
|
+
d = !1,
|
146
|
+
l = !1,
|
147
|
+
f = !0;
|
148
|
+
if ("function" != typeof e) throw new TypeError(h);
|
149
|
+
|
150
|
+
function m(t) {
|
151
|
+
var n = o,
|
152
|
+
a = i;
|
153
|
+
return o = i = void 0, u = t, r = e.apply(a, n)
|
154
|
+
}
|
155
|
+
|
156
|
+
function p(e) {
|
157
|
+
var n = e - s;
|
158
|
+
return void 0 === s || n >= t || n < 0 || l && e - u >= a
|
159
|
+
}
|
160
|
+
|
161
|
+
function b() {
|
162
|
+
var e = S();
|
163
|
+
if (p(e)) return v(e);
|
164
|
+
c = setTimeout(b, function(e) {
|
165
|
+
var n = t - (e - s);
|
166
|
+
return l ? M(n, a - (e - u)) : n
|
167
|
+
}(e))
|
168
|
+
}
|
169
|
+
|
170
|
+
function v(e) {
|
171
|
+
return c = void 0, f && o ? m(e) : (o = i = void 0, r)
|
172
|
+
}
|
173
|
+
|
174
|
+
function g() {
|
175
|
+
var e = S(),
|
176
|
+
n = p(e);
|
177
|
+
if (o = arguments, i = this, s = e, n) {
|
178
|
+
if (void 0 === c) return function(e) {
|
179
|
+
return u = e, c = setTimeout(b, t), d ? m(e) : r
|
180
|
+
}(s);
|
181
|
+
if (l) return c = setTimeout(b, t), m(s)
|
182
|
+
}
|
183
|
+
return void 0 === c && (c = setTimeout(b, t)), r
|
184
|
+
}
|
185
|
+
return t = H(t) || 0, D(n) && (d = !!n.leading, a = (l = "maxWait" in n) ? T(H(n.maxWait) || 0, t) : a, f = "trailing" in n ? !!n.trailing : f), g.cancel = function() {
|
186
|
+
void 0 !== c && clearTimeout(c), u = 0, o = s = i = c = void 0
|
187
|
+
}, g.flush = function() {
|
188
|
+
return void 0 === c ? r : v(S())
|
189
|
+
}, g
|
190
|
+
},
|
191
|
+
W = function() {};
|
192
|
+
|
193
|
+
function P(e) {
|
194
|
+
e && e.forEach(function(e) {
|
195
|
+
var t = Array.prototype.slice.call(e.addedNodes),
|
196
|
+
n = Array.prototype.slice.call(e.removedNodes);
|
197
|
+
if (function e(t) {
|
198
|
+
var n = void 0,
|
199
|
+
o = void 0;
|
200
|
+
for (n = 0; n < t.length; n += 1) {
|
201
|
+
if ((o = t[n]).dataset && o.dataset.aos) return !0;
|
202
|
+
if (o.children && e(o.children)) return !0
|
203
|
+
}
|
204
|
+
return !1
|
205
|
+
}(t.concat(n))) return W()
|
206
|
+
})
|
207
|
+
}
|
208
|
+
|
209
|
+
function Y() {
|
210
|
+
return window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver
|
211
|
+
}
|
212
|
+
var _ = {
|
213
|
+
isSupported: function() {
|
214
|
+
return !!Y()
|
215
|
+
},
|
216
|
+
ready: function(e, t) {
|
217
|
+
var n = window.document,
|
218
|
+
o = new(Y())(P);
|
219
|
+
W = t, o.observe(n.documentElement, {
|
220
|
+
childList: !0,
|
221
|
+
subtree: !0,
|
222
|
+
removedNodes: !0
|
223
|
+
})
|
224
|
+
}
|
225
|
+
},
|
226
|
+
B = function(e, t) {
|
227
|
+
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
|
228
|
+
},
|
229
|
+
F = function() {
|
230
|
+
function e(e, t) {
|
231
|
+
for (var n = 0; n < t.length; n++) {
|
232
|
+
var o = t[n];
|
233
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o)
|
234
|
+
}
|
235
|
+
}
|
236
|
+
return function(t, n, o) {
|
237
|
+
return n && e(t.prototype, n), o && e(t, o), t
|
238
|
+
}
|
239
|
+
}(),
|
240
|
+
I = Object.assign || function(e) {
|
241
|
+
for (var t = 1; t < arguments.length; t++) {
|
242
|
+
var n = arguments[t];
|
243
|
+
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o])
|
244
|
+
}
|
245
|
+
return e
|
246
|
+
},
|
247
|
+
K = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,
|
248
|
+
G = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,
|
249
|
+
J = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,
|
250
|
+
Q = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;
|
251
|
+
|
252
|
+
function R() {
|
253
|
+
return navigator.userAgent || navigator.vendor || window.opera || ""
|
254
|
+
}
|
255
|
+
var U = new(function() {
|
256
|
+
function e() {
|
257
|
+
B(this, e)
|
258
|
+
}
|
259
|
+
return F(e, [{
|
260
|
+
key: "phone",
|
261
|
+
value: function() {
|
262
|
+
var e = R();
|
263
|
+
return !(!K.test(e) && !G.test(e.substr(0, 4)))
|
264
|
+
}
|
265
|
+
}, {
|
266
|
+
key: "mobile",
|
267
|
+
value: function() {
|
268
|
+
var e = R();
|
269
|
+
return !(!J.test(e) && !Q.test(e.substr(0, 4)))
|
270
|
+
}
|
271
|
+
}, {
|
272
|
+
key: "tablet",
|
273
|
+
value: function() {
|
274
|
+
return this.mobile() && !this.phone()
|
275
|
+
}
|
276
|
+
}, {
|
277
|
+
key: "ie11",
|
278
|
+
value: function() {
|
279
|
+
return "-ms-scroll-limit" in document.documentElement.style && "-ms-ime-align" in document.documentElement.style
|
280
|
+
}
|
281
|
+
}]), e
|
282
|
+
}()),
|
283
|
+
V = function(e, t) {
|
284
|
+
var n = void 0;
|
285
|
+
return U.ie11() ? (n = document.createEvent("CustomEvent")).initCustomEvent(e, !0, !0, {
|
286
|
+
detail: t
|
287
|
+
}) : n = new CustomEvent(e, {
|
288
|
+
detail: t
|
289
|
+
}), document.dispatchEvent(n)
|
290
|
+
},
|
291
|
+
X = function(e) {
|
292
|
+
return e.forEach(function(e, t) {
|
293
|
+
return function(e, t) {
|
294
|
+
var n = e.options,
|
295
|
+
o = e.position,
|
296
|
+
i = e.node,
|
297
|
+
a = (e.data, function() {
|
298
|
+
e.animated && (function(e, t) {
|
299
|
+
t && t.forEach(function(t) {
|
300
|
+
return e.classList.remove(t)
|
301
|
+
})
|
302
|
+
}(i, n.animatedClassNames), V("aos:out", i), e.options.id && V("aos:in:" + e.options.id, i), e.animated = !1)
|
303
|
+
});
|
304
|
+
n.mirror && t >= o.out && !n.once ? a() : t >= o.in ? e.animated || (function(e, t) {
|
305
|
+
t && t.forEach(function(t) {
|
306
|
+
return e.classList.add(t)
|
307
|
+
})
|
308
|
+
}(i, n.animatedClassNames), V("aos:in", i), e.options.id && V("aos:in:" + e.options.id, i), e.animated = !0) : e.animated && !n.once && a()
|
309
|
+
}(e, window.pageYOffset)
|
310
|
+
})
|
311
|
+
},
|
312
|
+
Z = function(e) {
|
313
|
+
for (var t = 0, n = 0; e && !isNaN(e.offsetLeft) && !isNaN(e.offsetTop);) t += e.offsetLeft - ("BODY" != e.tagName ? e.scrollLeft : 0), n += e.offsetTop - ("BODY" != e.tagName ? e.scrollTop : 0), e = e.offsetParent;
|
314
|
+
return {
|
315
|
+
top: n,
|
316
|
+
left: t
|
317
|
+
}
|
318
|
+
},
|
319
|
+
ee = function(e, t, n) {
|
320
|
+
var o = e.getAttribute("data-aos-" + t);
|
321
|
+
if (void 0 !== o) {
|
322
|
+
if ("true" === o) return !0;
|
323
|
+
if ("false" === o) return !1
|
324
|
+
}
|
325
|
+
return o || n
|
326
|
+
},
|
327
|
+
te = function(e, t) {
|
328
|
+
return e.forEach(function(e, n) {
|
329
|
+
var o = ee(e.node, "mirror", t.mirror),
|
330
|
+
i = ee(e.node, "once", t.once),
|
331
|
+
a = ee(e.node, "id"),
|
332
|
+
r = t.useClassNames && e.node.getAttribute("data-aos"),
|
333
|
+
c = [t.animatedClassName].concat(r ? r.split(" ") : []).filter(function(e) {
|
334
|
+
return "string" == typeof e
|
335
|
+
});
|
336
|
+
t.initClassName && e.node.classList.add(t.initClassName), e.position = {
|
337
|
+
in: function(e, t, n) {
|
338
|
+
var o = window.innerHeight,
|
339
|
+
i = ee(e, "anchor"),
|
340
|
+
a = ee(e, "anchor-placement"),
|
341
|
+
r = Number(ee(e, "offset", a ? 0 : t)),
|
342
|
+
c = a || n,
|
343
|
+
s = e;
|
344
|
+
i && document.querySelectorAll(i) && (s = document.querySelectorAll(i)[0]);
|
345
|
+
var u = Z(s).top - o;
|
346
|
+
switch (c) {
|
347
|
+
case "top-bottom":
|
348
|
+
break;
|
349
|
+
case "center-bottom":
|
350
|
+
u += s.offsetHeight / 2;
|
351
|
+
break;
|
352
|
+
case "bottom-bottom":
|
353
|
+
u += s.offsetHeight;
|
354
|
+
break;
|
355
|
+
case "top-center":
|
356
|
+
u += o / 2;
|
357
|
+
break;
|
358
|
+
case "center-center":
|
359
|
+
u += o / 2 + s.offsetHeight / 2;
|
360
|
+
break;
|
361
|
+
case "bottom-center":
|
362
|
+
u += o / 2 + s.offsetHeight;
|
363
|
+
break;
|
364
|
+
case "top-top":
|
365
|
+
u += o;
|
366
|
+
break;
|
367
|
+
case "bottom-top":
|
368
|
+
u += o + s.offsetHeight;
|
369
|
+
break;
|
370
|
+
case "center-top":
|
371
|
+
u += o + s.offsetHeight / 2
|
372
|
+
}
|
373
|
+
return u + r
|
374
|
+
}(e.node, t.offset, t.anchorPlacement),
|
375
|
+
out: o && function(e, t) {
|
376
|
+
window.innerHeight;
|
377
|
+
var n = ee(e, "anchor"),
|
378
|
+
o = ee(e, "offset", t),
|
379
|
+
i = e;
|
380
|
+
return n && document.querySelectorAll(n) && (i = document.querySelectorAll(n)[0]), Z(i).top + i.offsetHeight - o
|
381
|
+
}(e.node, t.offset)
|
382
|
+
}, e.options = {
|
383
|
+
once: i,
|
384
|
+
mirror: o,
|
385
|
+
animatedClassNames: c,
|
386
|
+
id: a
|
387
|
+
}
|
388
|
+
}), e
|
389
|
+
},
|
390
|
+
ne = function() {
|
391
|
+
var e = document.querySelectorAll("[data-aos]");
|
392
|
+
return Array.prototype.map.call(e, function(e) {
|
393
|
+
return {
|
394
|
+
node: e
|
395
|
+
}
|
396
|
+
})
|
397
|
+
},
|
398
|
+
oe = [],
|
399
|
+
ie = !1,
|
400
|
+
ae = {
|
401
|
+
offset: 120,
|
402
|
+
delay: 0,
|
403
|
+
easing: "ease",
|
404
|
+
duration: 400,
|
405
|
+
disable: !1,
|
406
|
+
once: !1,
|
407
|
+
mirror: !1,
|
408
|
+
anchorPlacement: "top-bottom",
|
409
|
+
startEvent: "DOMContentLoaded",
|
410
|
+
animatedClassName: "aos-animate",
|
411
|
+
initClassName: "aos-init",
|
412
|
+
useClassNames: !1,
|
413
|
+
disableMutationObserver: !1,
|
414
|
+
throttleDelay: 99,
|
415
|
+
debounceDelay: 50
|
416
|
+
},
|
417
|
+
re = function() {
|
418
|
+
return document.all && !window.atob
|
419
|
+
},
|
420
|
+
ce = function() {
|
421
|
+
arguments.length > 0 && void 0 !== arguments[0] && arguments[0] && (ie = !0), ie && (oe = te(oe, ae), X(oe), window.addEventListener("scroll", y(function() {
|
422
|
+
X(oe, ae.once)
|
423
|
+
}, ae.throttleDelay)))
|
424
|
+
},
|
425
|
+
se = function() {
|
426
|
+
if (oe = ne(), de(ae.disable) || re()) return ue();
|
427
|
+
ce()
|
428
|
+
},
|
429
|
+
ue = function() {
|
430
|
+
oe.forEach(function(e, t) {
|
431
|
+
e.node.removeAttribute("data-aos"), e.node.removeAttribute("data-aos-easing"), e.node.removeAttribute("data-aos-duration"), e.node.removeAttribute("data-aos-delay"), ae.initClassName && e.node.classList.remove(ae.initClassName), ae.animatedClassName && e.node.classList.remove(ae.animatedClassName)
|
432
|
+
})
|
433
|
+
},
|
434
|
+
de = function(e) {
|
435
|
+
return !0 === e || "mobile" === e && U.mobile() || "phone" === e && U.phone() || "tablet" === e && U.tablet() || "function" == typeof e && !0 === e()
|
436
|
+
};
|
437
|
+
return {
|
438
|
+
init: function(e) {
|
439
|
+
return ae = I(ae, e), oe = ne(), ae.disableMutationObserver || _.isSupported() || (console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '), ae.disableMutationObserver = !0), ae.disableMutationObserver || _.ready("[data-aos]", se), de(ae.disable) || re() ? ue() : (document.querySelector("body").setAttribute("data-aos-easing", ae.easing), document.querySelector("body").setAttribute("data-aos-duration", ae.duration), document.querySelector("body").setAttribute("data-aos-delay", ae.delay), -1 === ["DOMContentLoaded", "load"].indexOf(ae.startEvent) ? document.addEventListener(ae.startEvent, function() {
|
440
|
+
ce(!0)
|
441
|
+
}) : window.addEventListener("load", function() {
|
442
|
+
ce(!0)
|
443
|
+
}), "DOMContentLoaded" === ae.startEvent && ["complete", "interactive"].indexOf(document.readyState) > -1 && ce(!0), window.addEventListener("resize", $(ce, ae.debounceDelay, !0)), window.addEventListener("orientationchange", $(ce, ae.debounceDelay, !0)), oe)
|
444
|
+
},
|
445
|
+
refresh: ce,
|
446
|
+
refreshHard: se
|
447
|
+
}
|
448
|
+
});
|