linaro-jekyll-theme 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +50 -0
  4. data/_includes/_theme-includes/_blog/pagination.html +39 -0
  5. data/_includes/_theme-includes/_footer/backup.html +71 -0
  6. data/_includes/_theme-includes/_footer/footer.html +54 -0
  7. data/_includes/_theme-includes/_head/ascii-art.html +11 -0
  8. data/_includes/_theme-includes/_head/head.html +24 -0
  9. data/_includes/_theme-includes/_navigation/_sub-navigation/tabbed-nav.html +150 -0
  10. data/_includes/_theme-includes/_navigation/nav.html +55 -0
  11. data/_includes/_theme-includes/_page-structure/breadcrumb.html +51 -0
  12. data/_includes/_theme-includes/_page-structure/old-breadcrumb.html +139 -0
  13. data/_includes/_theme-includes/_script-includes/css.html +1 -0
  14. data/_includes/_theme-includes/_script-includes/gtm/gtm-noscript.html +4 -0
  15. data/_includes/_theme-includes/_script-includes/gtm/gtm-script.html +7 -0
  16. data/_includes/_theme-includes/_script-includes/javascript.html +2 -0
  17. data/_includes/_theme-includes/_third-party/disqus.html +14 -0
  18. data/_includes/_theme-includes/_third-party/mailchimp-homepage.html +38 -0
  19. data/_includes/_theme-includes/_third-party/mailchimp-sub-footer.html +40 -0
  20. data/_includes/_theme-includes/members.html +63 -0
  21. data/_includes/base.html +14 -0
  22. data/_includes/image.html +1 -0
  23. data/_includes/media.html +3 -0
  24. data/_includes/owl-carousel-homepage.html +103 -0
  25. data/_layouts/empty-container-page.html +13 -0
  26. data/_layouts/plain-page.html +11 -0
  27. data/_sass/_bootstrap-compass.scss +9 -0
  28. data/_sass/_bootstrap-mincer.scss +19 -0
  29. data/_sass/_bootstrap-sprockets.scss +9 -0
  30. data/_sass/_bootstrap.scss +56 -0
  31. data/_sass/animations.scss +125 -0
  32. data/_sass/blog.scss +188 -0
  33. data/_sass/bootstrap/_alerts.scss +73 -0
  34. data/_sass/bootstrap/_badges.scss +68 -0
  35. data/_sass/bootstrap/_breadcrumbs.scss +28 -0
  36. data/_sass/bootstrap/_button-groups.scss +244 -0
  37. data/_sass/bootstrap/_buttons.scss +168 -0
  38. data/_sass/bootstrap/_carousel.scss +270 -0
  39. data/_sass/bootstrap/_close.scss +36 -0
  40. data/_sass/bootstrap/_code.scss +69 -0
  41. data/_sass/bootstrap/_component-animations.scss +37 -0
  42. data/_sass/bootstrap/_dropdowns.scss +216 -0
  43. data/_sass/bootstrap/_forms.scss +617 -0
  44. data/_sass/bootstrap/_glyphicons.scss +307 -0
  45. data/_sass/bootstrap/_grid.scss +84 -0
  46. data/_sass/bootstrap/_input-groups.scss +171 -0
  47. data/_sass/bootstrap/_jumbotron.scss +54 -0
  48. data/_sass/bootstrap/_labels.scss +66 -0
  49. data/_sass/bootstrap/_list-group.scss +130 -0
  50. data/_sass/bootstrap/_media.scss +66 -0
  51. data/_sass/bootstrap/_mixins.scss +40 -0
  52. data/_sass/bootstrap/_modals.scss +150 -0
  53. data/_sass/bootstrap/_navbar.scss +662 -0
  54. data/_sass/bootstrap/_navs.scss +242 -0
  55. data/_sass/bootstrap/_normalize.scss +424 -0
  56. data/_sass/bootstrap/_pager.scss +54 -0
  57. data/_sass/bootstrap/_pagination.scss +89 -0
  58. data/_sass/bootstrap/_panels.scss +271 -0
  59. data/_sass/bootstrap/_popovers.scss +131 -0
  60. data/_sass/bootstrap/_print.scss +101 -0
  61. data/_sass/bootstrap/_progress-bars.scss +87 -0
  62. data/_sass/bootstrap/_responsive-embed.scss +35 -0
  63. data/_sass/bootstrap/_responsive-utilities.scss +179 -0
  64. data/_sass/bootstrap/_scaffolding.scss +161 -0
  65. data/_sass/bootstrap/_tables.scss +234 -0
  66. data/_sass/bootstrap/_theme.scss +291 -0
  67. data/_sass/bootstrap/_thumbnails.scss +38 -0
  68. data/_sass/bootstrap/_tooltip.scss +101 -0
  69. data/_sass/bootstrap/_type.scss +298 -0
  70. data/_sass/bootstrap/_utilities.scss +55 -0
  71. data/_sass/bootstrap/_variables.scss +874 -0
  72. data/_sass/bootstrap/_wells.scss +29 -0
  73. data/_sass/bootstrap/mixins/_alerts.scss +14 -0
  74. data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
  75. data/_sass/bootstrap/mixins/_border-radius.scss +18 -0
  76. data/_sass/bootstrap/mixins/_buttons.scss +65 -0
  77. data/_sass/bootstrap/mixins/_center-block.scss +7 -0
  78. data/_sass/bootstrap/mixins/_clearfix.scss +22 -0
  79. data/_sass/bootstrap/mixins/_forms.scss +88 -0
  80. data/_sass/bootstrap/mixins/_gradients.scss +58 -0
  81. data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
  82. data/_sass/bootstrap/mixins/_grid.scss +122 -0
  83. data/_sass/bootstrap/mixins/_hide-text.scss +21 -0
  84. data/_sass/bootstrap/mixins/_image.scss +33 -0
  85. data/_sass/bootstrap/mixins/_labels.scss +12 -0
  86. data/_sass/bootstrap/mixins/_list-group.scss +32 -0
  87. data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
  88. data/_sass/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  89. data/_sass/bootstrap/mixins/_opacity.scss +8 -0
  90. data/_sass/bootstrap/mixins/_pagination.scss +24 -0
  91. data/_sass/bootstrap/mixins/_panels.scss +24 -0
  92. data/_sass/bootstrap/mixins/_progress-bar.scss +10 -0
  93. data/_sass/bootstrap/mixins/_reset-filter.scss +8 -0
  94. data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
  95. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  96. data/_sass/bootstrap/mixins/_responsive-visibility.scss +21 -0
  97. data/_sass/bootstrap/mixins/_size.scss +10 -0
  98. data/_sass/bootstrap/mixins/_tab-focus.scss +9 -0
  99. data/_sass/bootstrap/mixins/_table-row.scss +28 -0
  100. data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
  101. data/_sass/bootstrap/mixins/_text-overflow.scss +8 -0
  102. data/_sass/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  103. data/_sass/breadcrumb.scss +48 -0
  104. data/_sass/carousel.scss +122 -0
  105. data/_sass/cookieconsent.scss +13 -0
  106. data/_sass/critical.scss +991 -0
  107. data/_sass/fa.scss +2331 -0
  108. data/_sass/flipclock.scss +435 -0
  109. data/_sass/font-awesome.min.scss +4 -0
  110. data/_sass/fonts.scss +7 -0
  111. data/_sass/footer.scss +76 -0
  112. data/_sass/lightbox.scss +213 -0
  113. data/_sass/members-sprite.scss +425 -0
  114. data/_sass/nav.scss +533 -0
  115. data/_sass/openhours.scss +51 -0
  116. data/_sass/owl.carousel.min.scss +6 -0
  117. data/_sass/owl.theme.default.min.scss +6 -0
  118. data/_sass/products.scss +214 -0
  119. data/_sass/projects.scss +34 -0
  120. data/_sass/social-media-icons.scss +71 -0
  121. data/_sass/syntax.scss +65 -0
  122. data/_sass/tables.scss +87 -0
  123. data/_sass/theme.scss +208 -0
  124. data/assets/js/app/main.js +116 -0
  125. data/assets/js/app/mixitup.js +23 -0
  126. data/assets/js/app/search-page.js +41 -0
  127. data/assets/js/app/sticky-navbar.js +65 -0
  128. data/assets/js/vendor/bootstrap.min.js +7 -0
  129. data/assets/js/vendor/cookieconsent.min.js +15 -0
  130. data/assets/js/vendor/flipclock.min.js +2 -0
  131. data/assets/js/vendor/jquery.min.js +4 -0
  132. data/assets/js/vendor/lazysizes.min.js +2 -0
  133. data/assets/js/vendor/lightbox.js +519 -0
  134. data/assets/js/vendor/mc-validate.js +14 -0
  135. data/assets/js/vendor/owl.carousel.min.js +27 -0
  136. data/assets/js/vendor/picturefill.min.js +5 -0
  137. data/assets/js/vendor/shuffle.js +2004 -0
  138. data/assets/vendor.js +0 -0
  139. metadata +377 -0
data/_sass/tables.scss ADDED
@@ -0,0 +1,87 @@
1
+ /*** Table Styles **/
2
+
3
+ table {
4
+ background: white;
5
+ border-radius:0px;
6
+ border-collapse: collapse;
7
+ // height: 320px;
8
+ margin: auto;
9
+ padding:5px;
10
+ width: 100%;
11
+ animation: float 5s infinite;
12
+ -webkit-font-smoothing: antialiased;
13
+ letter-spacing: 0.5px;
14
+ border-bottom: 5px $brand-primary solid;
15
+ margin-bottom: 40px;
16
+ overflow-x:scroll;
17
+ }
18
+
19
+ th {
20
+ color:#FFF;
21
+ background-color: $brand-primary;
22
+ border-bottom:4px solid #9ea7af;
23
+ border-right: 1px solid #343a45;
24
+ font-size:18px;
25
+ font-weight: 400;
26
+ padding:15px;
27
+ text-align:left !important;
28
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
29
+ vertical-align:middle;
30
+ }
31
+
32
+ th a {
33
+ color: #FFF;
34
+ }
35
+
36
+
37
+ th:first-child {
38
+ border-top-left-radius:3px;
39
+ }
40
+
41
+ th:last-child {
42
+ border-top-right-radius:3px;
43
+ border-right:none;
44
+ }
45
+
46
+ tr {
47
+ border-top: 1px solid #C1C3D1;
48
+ border-bottom: 1px solid #C1C3D1;
49
+ color:#000000;
50
+ font-size:16px;
51
+ font-weight:normal;
52
+ text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
53
+ }
54
+
55
+ tr:first-child {
56
+ border-top:none;
57
+ }
58
+
59
+ tr:last-child {
60
+ border-bottom:none;
61
+ }
62
+
63
+ tr:nth-child(even) td {
64
+ background:#f7f7f7;
65
+ }
66
+
67
+ tr:last-child td:first-child {
68
+ border-bottom-left-radius:3px;
69
+ }
70
+
71
+ tr:last-child td:last-child {
72
+ border-bottom-right-radius:3px;
73
+ }
74
+
75
+ td {
76
+ background:#FFFFFF;
77
+ padding: 20px;
78
+ text-align:left;
79
+ vertical-align:middle;
80
+ font-weight:300;
81
+ font-size:16px;
82
+ border-right: 1px solid #C1C3D1;
83
+ }
84
+
85
+ td:last-child {
86
+ border-right: 0px;
87
+ }
data/_sass/theme.scss ADDED
@@ -0,0 +1,208 @@
1
+ //Body
2
+ body {
3
+ background:transparent;
4
+ letter-spacing: 0.5px;
5
+ overflow-x: hidden;
6
+ font-weight: 300;
7
+ font-family: 'LatoWeb', HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
8
+ -webkit-font-smoothing: antialiased;
9
+ }
10
+
11
+ //Selection for Highlighting Text on Web Page.
12
+ ::-webkit-selection,
13
+ ::-moz-selection,
14
+ ::selection {
15
+ background-color: #19947B;
16
+ color: #fff;
17
+ }
18
+ //Search Dropdown input focus
19
+ #searchDropdown input:focus {
20
+ outline: none;
21
+ }
22
+ //Headings
23
+ h1, h2, h3, h4, h5, h6 {
24
+ font-family: 'LatoWeb', HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
25
+ font-weight: bold;
26
+ line-height: 1.1;
27
+ color: inherit;
28
+ }
29
+
30
+ //Horizontal Rule Styling
31
+ hr {
32
+ border-top: 2px solid $gray-light;
33
+ }
34
+
35
+ //Paragraphs
36
+ p{
37
+ font-size: 20px;
38
+ font-weight:300;
39
+ color: #000000;
40
+ line-height: 1.66em;
41
+ word-wrap: break-word;
42
+ }
43
+ //Padded Paragraph
44
+ .padded-para{
45
+ padding:20px;
46
+ }
47
+
48
+ #spaced-para{
49
+ font-size: 18px;
50
+ line-height: 40px;
51
+ }
52
+
53
+ // Paragraphs that are justified.
54
+ p .justified{
55
+ text-align: justify;
56
+ text-justify: inter-word;
57
+ }
58
+
59
+ // Tab Content paragraph
60
+ #content-container p {
61
+ font-size: 20px;
62
+ color: black;
63
+ line-height: 1.66em;
64
+ }
65
+ //Main Container Style margin accounts for Nav
66
+ #main-container{
67
+ margin-top:80px;
68
+ overflow-x: hidden;
69
+ }
70
+
71
+ //Content Container
72
+ .row.content-container{ margin-top:20px;}
73
+
74
+ //Content Container block elements
75
+ .content-container p {
76
+ font-size: 20px;
77
+ color: black;
78
+ line-height: 1.66em;
79
+ }
80
+ .content-container ul { font-size:18px; }
81
+ .content-container ol { font-size: 18px;}
82
+
83
+ //Home Page Heading
84
+ #homepage-heading {
85
+ color: $brand-warning;
86
+ font-size: 30pt;
87
+ font-weight: normal;
88
+ line-height: 1.25;
89
+ }
90
+
91
+
92
+ //Homepage Sub Tag
93
+ p.sub-tag {
94
+ width: 65%;
95
+ margin-bottom: 30px;
96
+ margin-top: 20px;
97
+ font-size: 21px;
98
+ color: #FFF;
99
+ font-weight: 200;
100
+ }
101
+
102
+ // Buttons
103
+ #buttons > a
104
+ {
105
+ -webkit-border-radius: 20px !important;
106
+ -moz-border-radius: 20px !important;
107
+ border-radius: 20px !important;
108
+ padding: 10px 16px;
109
+ font-size: 18px;
110
+ line-height: 1.3333333;
111
+ }
112
+
113
+ //Partners Panel Styling.
114
+ .partners-panel img {
115
+ margin-bottom: 60px;
116
+ height:25%;
117
+ width:80%;
118
+ }
119
+ .partners-panel{
120
+ height:500px;
121
+ margin-top: 40px;
122
+ }
123
+ //Bottom Border Five Pixels.
124
+ .bottom-border-five{ margin-bottom: 5px; }
125
+
126
+ //Alternate row for theme
127
+ .row .alternate-row {
128
+ background-color: #E5E5E5;
129
+ padding: 40px 0;
130
+ }
131
+ .small-img{
132
+ height:100px;
133
+ width:auto;
134
+ }
135
+ @media (min-width: $screen-md) {
136
+ .partners-panel {
137
+ margin-top:80px;
138
+ }
139
+ .margin-image {
140
+ padding:40px;
141
+ }
142
+
143
+ }
144
+ .members-panel { margin-top:50px; }
145
+
146
+ .margin-top { margin-top: 40px;}
147
+
148
+ .panel-body.members-panel-body {
149
+ margin-top: -55px;
150
+ border: 0;
151
+ }
152
+ .new-panel .panel-primary > .panel-heading {
153
+ color: #000000;
154
+ font-weight: bold;
155
+ background-color: transparent;
156
+ border:0;
157
+ }
158
+
159
+ // Iframe for Search page.
160
+ #searchIframe {
161
+ border:none;
162
+ }
163
+
164
+ //Vertical Center
165
+ .vcenter {
166
+ display: inline-block;
167
+ vertical-align: middle;
168
+ float: none;
169
+ }
170
+
171
+ //Contact Hero Banner
172
+ .contact-hero{
173
+ height:200px;
174
+ line-height: 200px;
175
+ text-align: center;
176
+ font-size:18px;
177
+ color: #fff;
178
+ background: url(asset_path("noise-1bbc9b.png")) repeat;
179
+ }
180
+
181
+
182
+ //----------BOOTSTRAP STYLES ----------------
183
+
184
+ .panel-primary {
185
+ border:0;
186
+ }
187
+
188
+ //Bootstrap Glyphicon Override.
189
+ .glyphicon {
190
+ width: 14px;
191
+ height: 14px;
192
+ }
193
+ //Remove button focus
194
+ .btn:focus,.btn:active:focus,.btn.active:focus,
195
+ .btn.focus,.btn:active.focus,.btn.active.focus {
196
+ outline: none;
197
+ }
198
+
199
+ //Jumbotron Custom Styling
200
+ .jumbotron{
201
+ margin-bottom: 0;
202
+ margin-top:0;
203
+ background: #FFF; /* Old browsers */
204
+ background: -moz-linear-gradient(top, #2a4b41 0%, #000000 100%); /* FF3.6-15 */
205
+ background: -webkit-linear-gradient(top, #2a4b41 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
206
+ background: linear-gradient(to bottom, #2a4b41 0%, #000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
207
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=#2a4b41, endColorstr='#000000',GradientType=0 ); /* IE6-9 */
208
+ }
@@ -0,0 +1,116 @@
1
+ $(document).ready(function () {
2
+
3
+ function nextDay(x){
4
+ var now = new Date();
5
+ now.setDate(now.getDate() + (x+(7-now.getDay())) % 7);
6
+ return now;
7
+ }
8
+
9
+ var nextOpenHours = nextDay(4);
10
+
11
+ //The date of the open hours
12
+ var date = new Date(Date.UTC(nextOpenHours.getFullYear(), nextOpenHours.getMonth(), nextOpenHours.getDate(), 16, 0, 0));
13
+ var now = new Date();
14
+ var diff = date.getTime()/1000 - now.getTime()/1000;
15
+
16
+ var date2 = new Date(Date.UTC(1996, nextOpenHours.getMonth(), nextOpenHours.getDate(), 16, 0, 0));
17
+ var now2 = new Date();
18
+ var diff2 = date2.getTime()/1000 - now2.getTime()/1000;
19
+
20
+ var clock = $('.open-hours-clock').FlipClock(diff, {
21
+ clockFace: 'DailyCounter',
22
+ countdown: true
23
+ });
24
+
25
+ var clock = $('.expired-clock').FlipClock(diff2, {
26
+ clockFace: 'DailyCounter',
27
+ countdown: true
28
+ });
29
+
30
+ $("#closeForm").click(function(){
31
+ $("#searchDropdown").dropdown('toggle');
32
+ });
33
+
34
+ $('.main-navbar ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) {
35
+ event.preventDefault();
36
+ event.stopPropagation();
37
+ $(this).parent().addClass('open');
38
+
39
+ var menu = $(this).parent().find("ul");
40
+ var menupos = menu.offset();
41
+
42
+ if ((menupos.left + menu.width()) + 30 > $(window).width()) {
43
+ var newpos = - menu.width();
44
+ } else {
45
+ var newpos = $(this).parent().width();
46
+ }
47
+ menu.css({ left:newpos });
48
+
49
+ });
50
+
51
+ $("#searchDropdown").click(function() {
52
+ $("#dlDropDown").dropdown("toggle");
53
+ });
54
+
55
+ $('body').css('zoom', '');
56
+
57
+
58
+
59
+ $('a').each(function() {
60
+ var a = new RegExp('/' + window.location.host + '/');
61
+ if (!a.test(this.href)) {
62
+ $(this).attr("target","_blank");
63
+ }
64
+ });
65
+
66
+
67
+ $("#searchform").show();
68
+
69
+ });
70
+
71
+ $('.main-navbar > nav').removeClass('no-js-navbar');
72
+
73
+ $(function () {
74
+
75
+ function closeSearch() {
76
+ var $form = $('.navbar-collapse form[role="search"].active');
77
+ $form.removeClass('active');
78
+ $form.trigger('reset');
79
+
80
+ }
81
+ // Show Search if form is not active // event.preventDefault() is important, this prevents the form from submitting
82
+ $(document).on('click', '.navbar-collapse form[role="search"]:not(.active) button[type="submit"]', function(event) {
83
+ event.preventDefault();
84
+ var $form = $(this).closest('form'),
85
+ $input = $form.find('input'),
86
+ $resetForm = $(this).closest('.navbar-collapse form[role="search"]:not(.active) button[type="reset"]')
87
+
88
+
89
+ $form.addClass('active');
90
+ $input.focus();
91
+
92
+
93
+
94
+ });
95
+
96
+ $(document).on('click', '.navbar-collapse form[role="search"].active button[type="submit"]', function(event) {
97
+
98
+ event.preventDefault();
99
+ var $form = $(this).closest('form'),
100
+ $input = $form.find('input');
101
+
102
+
103
+ $("input[type='hidden']").attr("value", "96Boards"); //Neeeded to stop the hidden input from being not included on second search.
104
+ if($input.val().length !== 0){
105
+ $form.submit();
106
+ closeSearch();
107
+ }
108
+
109
+ });
110
+
111
+ $(document).on('click', '.navbar-collapse form[role="search"].active button[type="reset"]', function(event)
112
+ {
113
+ closeSearch();
114
+ });
115
+
116
+ });
@@ -0,0 +1,23 @@
1
+ /**!
2
+ * MixItUp v2.1.11
3
+ *
4
+ * @copyright Copyright 2015 KunkaLabs Limited.
5
+ * @author KunkaLabs Limited.
6
+ * @link https://mixitup.kunkalabs.com
7
+ *
8
+ * @license Commercial use requires a commercial license.
9
+ * https://mixitup.kunkalabs.com/licenses/
10
+ *
11
+ * Non-commercial use permitted under terms of CC-BY-NC license.
12
+ * http://creativecommons.org/licenses/by-nc/3.0/
13
+ */
14
+ !function(a,b){"use strict";a.MixItUp=function(){var b=this;b._execAction("_constructor",0),a.extend(b,{selectors:{target:".mix",filter:".filter",sort:".sort"},animation:{enable:!0,effects:"fade scale",duration:600,easing:"ease",perspectiveDistance:"3000",perspectiveOrigin:"50% 50%",queue:!0,queueLimit:1,animateChangeLayout:!1,animateResizeContainer:!0,animateResizeTargets:!1,staggerSequence:!1,reverseOut:!1},callbacks:{onMixLoad:!1,onMixStart:!1,onMixBusy:!1,onMixEnd:!1,onMixFail:!1,_user:!1},controls:{enable:!0,live:!1,toggleFilterButtons:!1,toggleLogic:"or",activeClass:"active"},layout:{display:"inline-block",containerClass:"",containerClassFail:"fail"},load:{filter:"all",sort:!1},_$body:null,_$container:null,_$targets:null,_$parent:null,_$sortButtons:null,_$filterButtons:null,_suckMode:!1,_mixing:!1,_sorting:!1,_clicking:!1,_loading:!0,_changingLayout:!1,_changingClass:!1,_changingDisplay:!1,_origOrder:[],_startOrder:[],_newOrder:[],_activeFilter:null,_toggleArray:[],_toggleString:"",_activeSort:"default:asc",_newSort:null,_startHeight:null,_newHeight:null,_incPadding:!0,_newDisplay:null,_newClass:null,_targetsBound:0,_targetsDone:0,_queue:[],_$show:a(),_$hide:a()}),b._execAction("_constructor",1)},a.MixItUp.prototype={constructor:a.MixItUp,_instances:{},_handled:{_filter:{},_sort:{}},_bound:{_filter:{},_sort:{}},_actions:{},_filters:{},extend:function(b){for(var c in b)a.MixItUp.prototype[c]=b[c]},addAction:function(b,c,d,e){a.MixItUp.prototype._addHook("_actions",b,c,d,e)},addFilter:function(b,c,d,e){a.MixItUp.prototype._addHook("_filters",b,c,d,e)},_addHook:function(b,c,d,e,f){var g=a.MixItUp.prototype[b],h={};f=1===f||"post"===f?"post":"pre",h[c]={},h[c][f]={},h[c][f][d]=e,a.extend(!0,g,h)},_init:function(b,c){var d=this;if(d._execAction("_init",0,arguments),c&&a.extend(!0,d,c),d._$body=a("body"),d._domNode=b,d._$container=a(b),d._$container.addClass(d.layout.containerClass),d._id=b.id,d._platformDetect(),d._brake=d._getPrefixedCSS("transition","none"),d._refresh(!0),d._$parent=d._$targets.parent().length?d._$targets.parent():d._$container,d.load.sort&&(d._newSort=d._parseSort(d.load.sort),d._newSortString=d.load.sort,d._activeSort=d.load.sort,d._sort(),d._printSort()),d._activeFilter="all"===d.load.filter?d.selectors.target:"none"===d.load.filter?"":d.load.filter,d.controls.enable&&d._bindHandlers(),d.controls.toggleFilterButtons){d._buildToggleArray();for(var e=0;e<d._toggleArray.length;e++)d._updateControls({filter:d._toggleArray[e],sort:d._activeSort},!0)}else d.controls.enable&&d._updateControls({filter:d._activeFilter,sort:d._activeSort});d._filter(),d._init=!0,d._$container.data("mixItUp",d),d._execAction("_init",1,arguments),d._buildState(),d._$targets.css(d._brake),d._goMix(d.animation.enable)},_platformDetect:function(){var a=this,c=["Webkit","Moz","O","ms"],d=["webkit","moz"],e=window.navigator.appVersion.match(/Chrome\/(\d+)\./)||!1,f="undefined"!=typeof InstallTrigger,g=function(a){for(var b=0;b<c.length;b++)if(c[b]+"Transition"in a.style)return{prefix:"-"+c[b].toLowerCase()+"-",vendor:c[b]};return"transition"in a.style?"":!1},h=g(a._domNode);a._execAction("_platformDetect",0),a._chrome=e?parseInt(e[1],10):!1,a._ff=f?parseInt(window.navigator.userAgent.match(/rv:([^)]+)\)/)[1]):!1,a._prefix=h.prefix,a._vendor=h.vendor,a._suckMode=window.atob&&a._prefix?!1:!0,a._suckMode&&(a.animation.enable=!1),a._ff&&a._ff<=4&&(a.animation.enable=!1);for(var i=0;i<d.length&&!window.requestAnimationFrame;i++)window.requestAnimationFrame=window[d[i]+"RequestAnimationFrame"];"function"!=typeof Object.getPrototypeOf&&("object"==typeof"test".__proto__?Object.getPrototypeOf=function(a){return a.__proto__}:Object.getPrototypeOf=function(a){return a.constructor.prototype}),a._domNode.nextElementSibling===b&&Object.defineProperty(Element.prototype,"nextElementSibling",{get:function(){for(var a=this.nextSibling;a;){if(1===a.nodeType)return a;a=a.nextSibling}return null}}),a._execAction("_platformDetect",1)},_refresh:function(a,c){var d=this;d._execAction("_refresh",0,arguments),d._$targets=d._$container.find(d.selectors.target);for(var e=0;e<d._$targets.length;e++){var f=d._$targets[e];if(f.dataset===b||c){f.dataset={};for(var g=0;g<f.attributes.length;g++){var h=f.attributes[g],i=h.name,j=h.value;if(i.indexOf("data-")>-1){var k=d._helpers._camelCase(i.substring(5,i.length));f.dataset[k]=j}}}f.mixParent===b&&(f.mixParent=d._id)}if(d._$targets.length&&a||!d._origOrder.length&&d._$targets.length){d._origOrder=[];for(var e=0;e<d._$targets.length;e++){var f=d._$targets[e];d._origOrder.push(f)}}d._execAction("_refresh",1,arguments)},_bindHandlers:function(){var c=this,d=a.MixItUp.prototype._bound._filter,e=a.MixItUp.prototype._bound._sort;c._execAction("_bindHandlers",0),c.controls.live?c._$body.on("click.mixItUp."+c._id,c.selectors.sort,function(){c._processClick(a(this),"sort")}).on("click.mixItUp."+c._id,c.selectors.filter,function(){c._processClick(a(this),"filter")}):(c._$sortButtons=a(c.selectors.sort),c._$filterButtons=a(c.selectors.filter),c._$sortButtons.on("click.mixItUp."+c._id,function(){c._processClick(a(this),"sort")}),c._$filterButtons.on("click.mixItUp."+c._id,function(){c._processClick(a(this),"filter")})),d[c.selectors.filter]=d[c.selectors.filter]===b?1:d[c.selectors.filter]+1,e[c.selectors.sort]=e[c.selectors.sort]===b?1:e[c.selectors.sort]+1,c._execAction("_bindHandlers",1)},_processClick:function(c,d){var e=this,f=function(c,d,f){var g=a.MixItUp.prototype;g._handled["_"+d][e.selectors[d]]=g._handled["_"+d][e.selectors[d]]===b?1:g._handled["_"+d][e.selectors[d]]+1,g._handled["_"+d][e.selectors[d]]===g._bound["_"+d][e.selectors[d]]&&(c[(f?"remove":"add")+"Class"](e.controls.activeClass),delete g._handled["_"+d][e.selectors[d]])};if(e._execAction("_processClick",0,arguments),!e._mixing||e.animation.queue&&e._queue.length<e.animation.queueLimit){if(e._clicking=!0,"sort"===d){var g=c.attr("data-sort");(!c.hasClass(e.controls.activeClass)||g.indexOf("random")>-1)&&(a(e.selectors.sort).removeClass(e.controls.activeClass),f(c,d),e.sort(g))}if("filter"===d){var h,i=c.attr("data-filter"),j="or"===e.controls.toggleLogic?",":"";e.controls.toggleFilterButtons?(e._buildToggleArray(),c.hasClass(e.controls.activeClass)?(f(c,d,!0),h=e._toggleArray.indexOf(i),e._toggleArray.splice(h,1)):(f(c,d),e._toggleArray.push(i)),e._toggleArray=a.grep(e._toggleArray,function(a){return a}),e._toggleString=e._toggleArray.join(j),e.filter(e._toggleString)):c.hasClass(e.controls.activeClass)||(a(e.selectors.filter).removeClass(e.controls.activeClass),f(c,d),e.filter(i))}e._execAction("_processClick",1,arguments)}else"function"==typeof e.callbacks.onMixBusy&&e.callbacks.onMixBusy.call(e._domNode,e._state,e),e._execAction("_processClickBusy",1,arguments)},_buildToggleArray:function(){var a=this,b=a._activeFilter.replace(/\s/g,"");if(a._execAction("_buildToggleArray",0,arguments),"or"===a.controls.toggleLogic)a._toggleArray=b.split(",");else{a._toggleArray=b.split("."),!a._toggleArray[0]&&a._toggleArray.shift();for(var c,d=0;c=a._toggleArray[d];d++)a._toggleArray[d]="."+c}a._execAction("_buildToggleArray",1,arguments)},_updateControls:function(c,d){var e=this,f={filter:c.filter,sort:c.sort},g=function(a,b){try{d&&"filter"===h&&"none"!==f.filter&&""!==f.filter?a.filter(b).addClass(e.controls.activeClass):a.removeClass(e.controls.activeClass).filter(b).addClass(e.controls.activeClass)}catch(c){}},h="filter",i=null;e._execAction("_updateControls",0,arguments),c.filter===b&&(f.filter=e._activeFilter),c.sort===b&&(f.sort=e._activeSort),f.filter===e.selectors.target&&(f.filter="all");for(var j=0;2>j;j++)i=e.controls.live?a(e.selectors[h]):e["_$"+h+"Buttons"],i&&g(i,"[data-"+h+'="'+f[h]+'"]'),h="sort";e._execAction("_updateControls",1,arguments)},_filter:function(){var b=this;b._execAction("_filter",0);for(var c=0;c<b._$targets.length;c++){var d=a(b._$targets[c]);d.is(b._activeFilter)?b._$show=b._$show.add(d):b._$hide=b._$hide.add(d)}b._execAction("_filter",1)},_sort:function(){var a=this,b=function(a){for(var b=a.slice(),c=b.length,d=c;d--;){var e=parseInt(Math.random()*c),f=b[d];b[d]=b[e],b[e]=f}return b};a._execAction("_sort",0),a._startOrder=[];for(var c=0;c<a._$targets.length;c++){var d=a._$targets[c];a._startOrder.push(d)}switch(a._newSort[0].sortBy){case"default":a._newOrder=a._origOrder;break;case"random":a._newOrder=b(a._startOrder);break;case"custom":a._newOrder=a._newSort[0].order;break;default:a._newOrder=a._startOrder.concat().sort(function(b,c){return a._compare(b,c)})}a._execAction("_sort",1)},_compare:function(a,b,c){c=c?c:0;var d=this,e=d._newSort[c].order,f=function(a){return a.dataset[d._newSort[c].sortBy]||0},g=isNaN(1*f(a))?f(a).toLowerCase():1*f(a),h=isNaN(1*f(b))?f(b).toLowerCase():1*f(b);return h>g?"asc"===e?-1:1:g>h?"asc"===e?1:-1:g===h&&d._newSort.length>c+1?d._compare(a,b,c+1):0},_printSort:function(a){var b=this,c=a?b._startOrder:b._newOrder,d=b._$parent[0].querySelectorAll(b.selectors.target),e=d.length?d[d.length-1].nextElementSibling:null,f=document.createDocumentFragment();b._execAction("_printSort",0,arguments);for(var g=0;g<d.length;g++){var h=d[g],i=h.nextSibling;"absolute"!==h.style.position&&(i&&"#text"===i.nodeName&&b._$parent[0].removeChild(i),b._$parent[0].removeChild(h))}for(var g=0;g<c.length;g++){var j=c[g];if("default"!==b._newSort[0].sortBy||"desc"!==b._newSort[0].order||a)f.appendChild(j),f.appendChild(document.createTextNode(" "));else{var k=f.firstChild;f.insertBefore(j,k),f.insertBefore(document.createTextNode(" "),j)}}e?b._$parent[0].insertBefore(f,e):b._$parent[0].appendChild(f),b._execAction("_printSort",1,arguments)},_parseSort:function(a){for(var b=this,c="string"==typeof a?a.split(" "):[a],d=[],e=0;e<c.length;e++){var f="string"==typeof a?c[e].split(":"):["custom",c[e]],g={sortBy:b._helpers._camelCase(f[0]),order:f[1]||"asc"};if(d.push(g),"default"===g.sortBy||"random"===g.sortBy)break}return b._execFilter("_parseSort",d,arguments)},_parseEffects:function(){var a=this,b={opacity:"",transformIn:"",transformOut:"",filter:""},c=function(b,c,d){if(a.animation.effects.indexOf(b)>-1){if(c){var e=a.animation.effects.indexOf(b+"(");if(e>-1){var f=a.animation.effects.substring(e),g=/\(([^)]+)\)/.exec(f),h=g[1];return{val:h}}}return!0}return!1},d=function(a,b){return b?"-"===a.charAt(0)?a.substr(1,a.length):"-"+a:a},e=function(a,e){for(var f=[["scale",".01"],["translateX","20px"],["translateY","20px"],["translateZ","20px"],["rotateX","90deg"],["rotateY","90deg"],["rotateZ","180deg"]],g=0;g<f.length;g++){var h=f[g][0],i=f[g][1],j=e&&"scale"!==h;b[a]+=c(h)?h+"("+d(c(h,!0).val||i,j)+") ":""}};return b.opacity=c("fade")?c("fade",!0).val||"0":"1",e("transformIn"),a.animation.reverseOut?e("transformOut",!0):b.transformOut=b.transformIn,b.transition={},b.transition=a._getPrefixedCSS("transition","all "+a.animation.duration+"ms "+a.animation.easing+", opacity "+a.animation.duration+"ms linear"),a.animation.stagger=c("stagger")?!0:!1,a.animation.staggerDuration=parseInt(c("stagger")&&c("stagger",!0).val?c("stagger",!0).val:100),a._execFilter("_parseEffects",b)},_buildState:function(a){var b=this,c={};return b._execAction("_buildState",0),c={activeFilter:""===b._activeFilter?"none":b._activeFilter,activeSort:a&&b._newSortString?b._newSortString:b._activeSort,fail:!b._$show.length&&""!==b._activeFilter,$targets:b._$targets,$show:b._$show,$hide:b._$hide,totalTargets:b._$targets.length,totalShow:b._$show.length,totalHide:b._$hide.length,display:a&&b._newDisplay?b._newDisplay:b.layout.display},a?b._execFilter("_buildState",c):(b._state=c,void b._execAction("_buildState",1))},_goMix:function(a){var b=this,c=function(){b._chrome&&31===b._chrome&&f(b._$parent[0]),b._setInter(),d()},d=function(){var a=window.pageYOffset,c=window.pageXOffset;document.documentElement.scrollHeight;b._getInterMixData(),b._setFinal(),b._getFinalMixData(),window.pageYOffset!==a&&window.scrollTo(c,a),b._prepTargets(),window.requestAnimationFrame?requestAnimationFrame(e):setTimeout(function(){e()},20)},e=function(){b._animateTargets(),0===b._targetsBound&&b._cleanUp()},f=function(a){var b=a.parentElement,c=document.createElement("div"),d=document.createDocumentFragment();b.insertBefore(c,a),d.appendChild(a),b.replaceChild(a,c)},g=b._buildState(!0);b._execAction("_goMix",0,arguments),!b.animation.duration&&(a=!1),b._mixing=!0,b._$container.removeClass(b.layout.containerClassFail),"function"==typeof b.callbacks.onMixStart&&b.callbacks.onMixStart.call(b._domNode,b._state,g,b),b._$container.trigger("mixStart",[b._state,g,b]),b._getOrigMixData(),a&&!b._suckMode?window.requestAnimationFrame?requestAnimationFrame(c):c():b._cleanUp(),b._execAction("_goMix",1,arguments)},_getTargetData:function(a,b){var c,d=this;a.dataset[b+"PosX"]=a.offsetLeft,a.dataset[b+"PosY"]=a.offsetTop,d.animation.animateResizeTargets&&(c=d._suckMode?{marginBottom:"",marginRight:""}:window.getComputedStyle(a),a.dataset[b+"MarginBottom"]=parseInt(c.marginBottom),a.dataset[b+"MarginRight"]=parseInt(c.marginRight),a.dataset[b+"Width"]=a.offsetWidth,a.dataset[b+"Height"]=a.offsetHeight)},_getOrigMixData:function(){var a=this,b=a._suckMode?{boxSizing:""}:window.getComputedStyle(a._$parent[0]),c=b.boxSizing||b[a._vendor+"BoxSizing"];a._incPadding="border-box"===c,a._execAction("_getOrigMixData",0),!a._suckMode&&(a.effects=a._parseEffects()),a._$toHide=a._$hide.filter(":visible"),a._$toShow=a._$show.filter(":hidden"),a._$pre=a._$targets.filter(":visible"),a._startHeight=a._incPadding?a._$parent.outerHeight():a._$parent.height();for(var d=0;d<a._$pre.length;d++){var e=a._$pre[d];a._getTargetData(e,"orig")}a._execAction("_getOrigMixData",1)},_setInter:function(){var a=this;a._execAction("_setInter",0),a._changingLayout&&a.animation.animateChangeLayout?(a._$toShow.css("display",a._newDisplay),a._changingClass&&a._$container.removeClass(a.layout.containerClass).addClass(a._newClass)):a._$toShow.css("display",a.layout.display),a._execAction("_setInter",1)},_getInterMixData:function(){var a=this;a._execAction("_getInterMixData",0);for(var b=0;b<a._$toShow.length;b++){var c=a._$toShow[b];a._getTargetData(c,"inter")}for(var b=0;b<a._$pre.length;b++){var c=a._$pre[b];a._getTargetData(c,"inter")}a._execAction("_getInterMixData",1)},_setFinal:function(){var a=this;a._execAction("_setFinal",0),a._sorting&&a._printSort(),a._$toHide.removeStyle("display"),a._changingLayout&&a.animation.animateChangeLayout&&a._$pre.css("display",a._newDisplay),a._execAction("_setFinal",1)},_getFinalMixData:function(){var a=this;a._execAction("_getFinalMixData",0);for(var b=0;b<a._$toShow.length;b++){var c=a._$toShow[b];a._getTargetData(c,"final")}for(var b=0;b<a._$pre.length;b++){var c=a._$pre[b];a._getTargetData(c,"final")}a._newHeight=a._incPadding?a._$parent.outerHeight():a._$parent.height(),a._sorting&&a._printSort(!0),a._$toShow.removeStyle("display"),a._$pre.css("display",a.layout.display),a._changingClass&&a.animation.animateChangeLayout&&a._$container.removeClass(a._newClass).addClass(a.layout.containerClass),a._execAction("_getFinalMixData",1)},_prepTargets:function(){var b=this,c={_in:b._getPrefixedCSS("transform",b.effects.transformIn),_out:b._getPrefixedCSS("transform",b.effects.transformOut)};b._execAction("_prepTargets",0),b.animation.animateResizeContainer&&b._$parent.css("height",b._startHeight+"px");for(var d=0;d<b._$toShow.length;d++){var e=b._$toShow[d],f=a(e);e.style.opacity=b.effects.opacity,e.style.display=b._changingLayout&&b.animation.animateChangeLayout?b._newDisplay:b.layout.display,f.css(c._in),b.animation.animateResizeTargets&&(e.style.width=e.dataset.finalWidth+"px",e.style.height=e.dataset.finalHeight+"px",e.style.marginRight=-(e.dataset.finalWidth-e.dataset.interWidth)+1*e.dataset.finalMarginRight+"px",e.style.marginBottom=-(e.dataset.finalHeight-e.dataset.interHeight)+1*e.dataset.finalMarginBottom+"px")}for(var d=0;d<b._$pre.length;d++){var e=b._$pre[d],f=a(e),g={x:e.dataset.origPosX-e.dataset.interPosX,y:e.dataset.origPosY-e.dataset.interPosY},c=b._getPrefixedCSS("transform","translate("+g.x+"px,"+g.y+"px)");f.css(c),b.animation.animateResizeTargets&&(e.style.width=e.dataset.origWidth+"px",e.style.height=e.dataset.origHeight+"px",e.dataset.origWidth-e.dataset.finalWidth&&(e.style.marginRight=-(e.dataset.origWidth-e.dataset.interWidth)+1*e.dataset.origMarginRight+"px"),e.dataset.origHeight-e.dataset.finalHeight&&(e.style.marginBottom=-(e.dataset.origHeight-e.dataset.interHeight)+1*e.dataset.origMarginBottom+"px"))}b._execAction("_prepTargets",1)},_animateTargets:function(){var b=this;b._execAction("_animateTargets",0),b._targetsDone=0,b._targetsBound=0,b._$parent.css(b._getPrefixedCSS("perspective",b.animation.perspectiveDistance+"px")).css(b._getPrefixedCSS("perspective-origin",b.animation.perspectiveOrigin)),b.animation.animateResizeContainer&&b._$parent.css(b._getPrefixedCSS("transition","height "+b.animation.duration+"ms ease")).css("height",b._newHeight+"px");for(var c=0;c<b._$toShow.length;c++){var d=b._$toShow[c],e=a(d),f={x:d.dataset.finalPosX-d.dataset.interPosX,y:d.dataset.finalPosY-d.dataset.interPosY},g=b._getDelay(c),h={};d.style.opacity="";for(var i=0;2>i;i++){var j=0===i?j=b._prefix:"";b._ff&&b._ff<=20&&(h[j+"transition-property"]="all",h[j+"transition-timing-function"]=b.animation.easing+"ms",h[j+"transition-duration"]=b.animation.duration+"ms"),h[j+"transition-delay"]=g+"ms",h[j+"transform"]="translate("+f.x+"px,"+f.y+"px)"}(b.effects.transform||b.effects.opacity)&&b._bindTargetDone(e),b._ff&&b._ff<=20?e.css(h):e.css(b.effects.transition).css(h)}for(var c=0;c<b._$pre.length;c++){var d=b._$pre[c],e=a(d),f={x:d.dataset.finalPosX-d.dataset.interPosX,y:d.dataset.finalPosY-d.dataset.interPosY},g=b._getDelay(c);(d.dataset.finalPosX!==d.dataset.origPosX||d.dataset.finalPosY!==d.dataset.origPosY)&&b._bindTargetDone(e),e.css(b._getPrefixedCSS("transition","all "+b.animation.duration+"ms "+b.animation.easing+" "+g+"ms")),e.css(b._getPrefixedCSS("transform","translate("+f.x+"px,"+f.y+"px)")),b.animation.animateResizeTargets&&(d.dataset.origWidth-d.dataset.finalWidth&&1*d.dataset.finalWidth&&(d.style.width=d.dataset.finalWidth+"px",d.style.marginRight=-(d.dataset.finalWidth-d.dataset.interWidth)+1*d.dataset.finalMarginRight+"px"),d.dataset.origHeight-d.dataset.finalHeight&&1*d.dataset.finalHeight&&(d.style.height=d.dataset.finalHeight+"px",d.style.marginBottom=-(d.dataset.finalHeight-d.dataset.interHeight)+1*d.dataset.finalMarginBottom+"px"))}b._changingClass&&b._$container.removeClass(b.layout.containerClass).addClass(b._newClass);for(var c=0;c<b._$toHide.length;c++){for(var d=b._$toHide[c],e=a(d),g=b._getDelay(c),k={},i=0;2>i;i++){var j=0===i?j=b._prefix:"";k[j+"transition-delay"]=g+"ms",k[j+"transform"]=b.effects.transformOut,k.opacity=b.effects.opacity}e.css(b.effects.transition).css(k),(b.effects.transform||b.effects.opacity)&&b._bindTargetDone(e)}b._execAction("_animateTargets",1)},_bindTargetDone:function(b){var c=this,d=b[0];c._execAction("_bindTargetDone",0,arguments),d.dataset.bound||(d.dataset.bound=!0,c._targetsBound++,b.on("webkitTransitionEnd.mixItUp transitionend.mixItUp",function(e){(e.originalEvent.propertyName.indexOf("transform")>-1||e.originalEvent.propertyName.indexOf("opacity")>-1)&&a(e.originalEvent.target).is(c.selectors.target)&&(b.off(".mixItUp"),d.dataset.bound="",c._targetDone())})),c._execAction("_bindTargetDone",1,arguments)},_targetDone:function(){var a=this;a._execAction("_targetDone",0),a._targetsDone++,a._targetsDone===a._targetsBound&&a._cleanUp(),a._execAction("_targetDone",1)},_cleanUp:function(){var b=this,c=b.animation.animateResizeTargets?"transform opacity width height margin-bottom margin-right":"transform opacity",d=function(){b._$targets.removeStyle("transition",b._prefix)};b._execAction("_cleanUp",0),b._changingLayout?b._$show.css("display",b._newDisplay):b._$show.css("display",b.layout.display),b._$targets.css(b._brake),b._$targets.removeStyle(c,b._prefix).removeAttr("data-inter-pos-x data-inter-pos-y data-final-pos-x data-final-pos-y data-orig-pos-x data-orig-pos-y data-orig-height data-orig-width data-final-height data-final-width data-inter-width data-inter-height data-orig-margin-right data-orig-margin-bottom data-inter-margin-right data-inter-margin-bottom data-final-margin-right data-final-margin-bottom"),b._$hide.removeStyle("display"),b._$parent.removeStyle("height transition perspective-distance perspective perspective-origin-x perspective-origin-y perspective-origin perspectiveOrigin",b._prefix),b._sorting&&(b._printSort(),b._activeSort=b._newSortString,b._sorting=!1),b._changingLayout&&(b._changingDisplay&&(b.layout.display=b._newDisplay,b._changingDisplay=!1),b._changingClass&&(b._$parent.removeClass(b.layout.containerClass).addClass(b._newClass),b.layout.containerClass=b._newClass,b._changingClass=!1),b._changingLayout=!1),b._refresh(),b._buildState(),b._state.fail&&b._$container.addClass(b.layout.containerClassFail),b._$show=a(),b._$hide=a(),window.requestAnimationFrame&&requestAnimationFrame(d),b._mixing=!1,"function"==typeof b.callbacks._user&&b.callbacks._user.call(b._domNode,b._state,b),"function"==typeof b.callbacks.onMixEnd&&b.callbacks.onMixEnd.call(b._domNode,b._state,b),b._$container.trigger("mixEnd",[b._state,b]),b._state.fail&&("function"==typeof b.callbacks.onMixFail&&b.callbacks.onMixFail.call(b._domNode,b._state,b),b._$container.trigger("mixFail",[b._state,b])),b._loading&&("function"==typeof b.callbacks.onMixLoad&&b.callbacks.onMixLoad.call(b._domNode,b._state,b),b._$container.trigger("mixLoad",[b._state,b])),b._queue.length&&(b._execAction("_queue",0),b.multiMix(b._queue[0][0],b._queue[0][1],b._queue[0][2]),b._queue.splice(0,1)),b._execAction("_cleanUp",1),b._loading=!1},_getPrefixedCSS:function(a,b,c){var d=this,e={},f="",g=-1;for(g=0;2>g;g++)f=0===g?d._prefix:"",c?e[f+a]=f+b:e[f+a]=b;return d._execFilter("_getPrefixedCSS",e,arguments)},_getDelay:function(a){var b=this,c="function"==typeof b.animation.staggerSequence?b.animation.staggerSequence.call(b._domNode,a,b._state):a,d=b.animation.stagger?c*b.animation.staggerDuration:0;return b._execFilter("_getDelay",d,arguments)},_parseMultiMixArgs:function(a){for(var b=this,c={command:null,animate:b.animation.enable,callback:null},d=0;d<a.length;d++){var e=a[d];null!==e&&("object"==typeof e||"string"==typeof e?c.command=e:"boolean"==typeof e?c.animate=e:"function"==typeof e&&(c.callback=e))}return b._execFilter("_parseMultiMixArgs",c,arguments)},_parseInsertArgs:function(b){for(var c=this,d={index:0,$object:a(),multiMix:{filter:c._state.activeFilter},callback:null},e=0;e<b.length;e++){var f=b[e];"number"==typeof f?d.index=f:"object"==typeof f&&f instanceof a?d.$object=f:"object"==typeof f&&c._helpers._isElement(f)?d.$object=a(f):"object"==typeof f&&null!==f?d.multiMix=f:"boolean"!=typeof f||f?"function"==typeof f&&(d.callback=f):d.multiMix=!1}return c._execFilter("_parseInsertArgs",d,arguments)},_execAction:function(a,b,c){var d=this,e=b?"post":"pre";if(!d._actions.isEmptyObject&&d._actions.hasOwnProperty(a))for(var f in d._actions[a][e])d._actions[a][e][f].call(d,c)},_execFilter:function(a,b,c){var d=this;if(d._filters.isEmptyObject||!d._filters.hasOwnProperty(a))return b;for(var e in d._filters[a])return d._filters[a][e].call(d,c)},_helpers:{_camelCase:function(a){return a.replace(/-([a-z])/g,function(a){return a[1].toUpperCase()})},_isElement:function(a){return window.HTMLElement?a instanceof HTMLElement:null!==a&&1===a.nodeType&&"string"===a.nodeName}},isMixing:function(){var a=this;return a._execFilter("isMixing",a._mixing)},filter:function(){var a=this,b=a._parseMultiMixArgs(arguments);a._clicking&&(a._toggleString=""),a.multiMix({filter:b.command},b.animate,b.callback)},sort:function(){var a=this,b=a._parseMultiMixArgs(arguments);a.multiMix({sort:b.command},b.animate,b.callback)},changeLayout:function(){var a=this,b=a._parseMultiMixArgs(arguments);a.multiMix({changeLayout:b.command},b.animate,b.callback)},multiMix:function(){var a=this,c=a._parseMultiMixArgs(arguments);if(a._execAction("multiMix",0,arguments),a._mixing)a.animation.queue&&a._queue.length<a.animation.queueLimit?(a._queue.push(arguments),a.controls.enable&&!a._clicking&&a._updateControls(c.command),a._execAction("multiMixQueue",1,arguments)):("function"==typeof a.callbacks.onMixBusy&&a.callbacks.onMixBusy.call(a._domNode,a._state,a),a._$container.trigger("mixBusy",[a._state,a]),a._execAction("multiMixBusy",1,arguments));else{a.controls.enable&&!a._clicking&&(a.controls.toggleFilterButtons&&a._buildToggleArray(),a._updateControls(c.command,a.controls.toggleFilterButtons)),a._queue.length<2&&(a._clicking=!1),delete a.callbacks._user,c.callback&&(a.callbacks._user=c.callback);var d=c.command.sort,e=c.command.filter,f=c.command.changeLayout;a._refresh(),d&&(a._newSort=a._parseSort(d),a._newSortString=d,a._sorting=!0,a._sort()),e!==b&&(e="all"===e?a.selectors.target:e,a._activeFilter=e),a._filter(),f&&(a._newDisplay="string"==typeof f?f:f.display||a.layout.display,a._newClass=f.containerClass||"",(a._newDisplay!==a.layout.display||a._newClass!==a.layout.containerClass)&&(a._changingLayout=!0,a._changingClass=a._newClass!==a.layout.containerClass,a._changingDisplay=a._newDisplay!==a.layout.display)),a._$targets.css(a._brake),a._goMix(c.animate^a.animation.enable?c.animate:a.animation.enable),a._execAction("multiMix",1,arguments)}},insert:function(){var a=this,b=a._parseInsertArgs(arguments),c="function"==typeof b.callback?b.callback:null,d=document.createDocumentFragment(),e=function(){return a._refresh(),a._$targets.length?b.index<a._$targets.length||!a._$targets.length?a._$targets[b.index]:a._$targets[a._$targets.length-1].nextElementSibling:a._$parent[0].children[0]}();if(a._execAction("insert",0,arguments),b.$object){for(var f=0;f<b.$object.length;f++){var g=b.$object[f];d.appendChild(g),d.appendChild(document.createTextNode(" "))}a._$parent[0].insertBefore(d,e)}a._execAction("insert",1,arguments),"object"==typeof b.multiMix&&a.multiMix(b.multiMix,c)},prepend:function(){var a=this,b=a._parseInsertArgs(arguments);a.insert(0,b.$object,b.multiMix,b.callback)},append:function(){var a=this,b=a._parseInsertArgs(arguments);a.insert(a._state.totalTargets,b.$object,b.multiMix,b.callback)},getOption:function(a){var c=this,d=function(a,c){for(var d=c.split("."),e=d.pop(),f=d.length,g=1,h=d[0]||c;(a=a[h])&&f>g;)h=d[g],g++;return a!==b?a[e]!==b?a[e]:a:void 0};return a?c._execFilter("getOption",d(c,a),arguments):c},setOptions:function(b){var c=this;c._execAction("setOptions",0,arguments),"object"==typeof b&&a.extend(!0,c,b),c._execAction("setOptions",1,arguments)},getState:function(){var a=this;return a._execFilter("getState",a._state,a)},forceRefresh:function(){var a=this;a._refresh(!1,!0)},destroy:function(b){var c=this,d=a.MixItUp.prototype._bound._filter,e=a.MixItUp.prototype._bound._sort;c._execAction("destroy",0,arguments),c._$body.add(a(c.selectors.sort)).add(a(c.selectors.filter)).off(".mixItUp");for(var f=0;f<c._$targets.length;f++){var g=c._$targets[f];b&&(g.style.display=""),delete g.mixParent}c._execAction("destroy",1,arguments),d[c.selectors.filter]&&d[c.selectors.filter]>1?d[c.selectors.filter]--:1===d[c.selectors.filter]&&delete d[c.selectors.filter],e[c.selectors.sort]&&e[c.selectors.sort]>1?e[c.selectors.sort]--:1===e[c.selectors.sort]&&delete e[c.selectors.sort],delete a.MixItUp.prototype._instances[c._id]}},a.fn.mixItUp=function(){var c,d=arguments,e=[],f=function(b,c){var d=new a.MixItUp,e=function(){return("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6).toUpperCase()};d._execAction("_instantiate",0,arguments),b.id=b.id?b.id:"MixItUp"+e(),d._instances[b.id]||(d._instances[b.id]=d,d._init(b,c)),d._execAction("_instantiate",1,arguments)};return c=this.each(function(){if(d&&"string"==typeof d[0]){var c=a.MixItUp.prototype._instances[this.id];if("isLoaded"===d[0])e.push(c?!0:!1);else{var g=c[d[0]](d[1],d[2],d[3]);g!==b&&e.push(g)}}else f(this,d[0])}),e.length?e.length>1?e:e[0]:c},a.fn.removeStyle=function(c,d){return d=d?d:"",this.each(function(){for(var e=this,f=c.split(" "),g=0;g<f.length;g++)for(var h=0;4>h;h++){switch(h){case 0:var i=f[g];break;case 1:var i=a.MixItUp.prototype._helpers._camelCase(i);break;case 2:var i=d+f[g];break;case 3:var i=a.MixItUp.prototype._helpers._camelCase(d+f[g])}if(e.style[i]!==b&&"unknown"!=typeof e.style[i]&&e.style[i].length>0&&(e.style[i]=""),!d&&1===h)break}e.attributes&&e.attributes.style&&e.attributes.style!==b&&""===e.attributes.style.value&&e.attributes.removeNamedItem("style")})}}(jQuery);
15
+
16
+ $(function(){
17
+ $('#project_grid').mixItUp({
18
+ animation: {
19
+ enabled:false
20
+ }
21
+ });
22
+
23
+ });
@@ -0,0 +1,41 @@
1
+ function getAllUrlParams(url) {
2
+ var queryString = url ? url.split('?')[1] : window.location.search.slice(1);
3
+ var obj = {};
4
+ if (queryString) {
5
+ queryString = queryString.split('#')[0];
6
+ var arr = queryString.split('&');
7
+
8
+ for (var i=0; i<arr.length; i++) {
9
+ var a = arr[i].split('=');
10
+ var paramNum = undefined;
11
+ var paramName = a[0].replace(/\[\d*\]/, function(v) {
12
+ paramNum = v.slice(1,-1);
13
+ return '';
14
+ });
15
+
16
+ var paramValue = typeof(a[1])==='undefined' ? true : a[1];
17
+ paramName = paramName.toLowerCase();
18
+ paramValue = paramValue.toLowerCase();
19
+ if (obj[paramName]) {
20
+ if (typeof obj[paramName] === 'string') {
21
+ obj[paramName] = [obj[paramName]];
22
+ }
23
+ if (typeof paramNum === 'undefined') {
24
+ obj[paramName].push(paramValue);
25
+ }
26
+ else {
27
+ obj[paramName][paramNum] = paramValue;
28
+ }
29
+ }
30
+ else {
31
+ obj[paramName] = paramValue;
32
+ }
33
+ }
34
+ }
35
+ return obj;
36
+ }
37
+
38
+ var searchQuery = getAllUrlParams().q;
39
+
40
+
41
+ $('#searchIframe').attr('src', "https://search.linaro.org/search/?fields.label=96Boards&q=" + searchQuery);