Animate It! - Version 1.1

Version Description

Download this release

Release Info

Developer eleopard
Plugin Icon 128x128 Animate It!
Version 1.1
Comparing to
See all releases

Version 1.1

LICENSE.txt ADDED
@@ -0,0 +1,621 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
assets/css/animate.css ADDED
@@ -0,0 +1,3220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ .eds-scroll-hidden{
4
+ opacity:0;
5
+ }
6
+
7
+ .eds-scroll-visible{
8
+ opacity:1;
9
+ }
10
+
11
+
12
+
13
+ .delay1 {
14
+ -webkit-animation-delay: .5s;
15
+ -moz-animation-delay: .5s;
16
+ -ms-animation-delay: .5s;
17
+ -o-animation-delay: .5s;
18
+ }
19
+
20
+ .delay2 {
21
+ -webkit-animation-delay: 1s;
22
+ -moz-animation-delay: 1s;
23
+ -ms-animation-delay: 1s;
24
+ -o-animation-delay: 1s;
25
+ }
26
+
27
+ .delay3 {
28
+ -webkit-animation-delay: 1.5s;
29
+ -moz-animation-delay: 1.5s;
30
+ -ms-animation-delay: 1.5s;
31
+ -o-animation-delay: 1.5s;
32
+ }
33
+
34
+ .delay4 {
35
+ -webkit-animation-delay: 2s;
36
+ -moz-animation-delay: 2s;
37
+ -ms-animation-delay: 2s;
38
+ -o-animation-delay: 2s;
39
+ }
40
+
41
+ .delay5 {
42
+ -webkit-animation-delay: 2.5s;
43
+ -moz-animation-delay: 2.5s;
44
+ -ms-animation-delay: 2.5s;
45
+ -o-animation-delay: 2.5s;
46
+ }
47
+
48
+ .delay6 {
49
+ -webkit-animation-delay: 3s;
50
+ -moz-animation-delay: 3s;
51
+ -ms-animation-delay: 3s;
52
+ -o-animation-delay: 3s;
53
+ }
54
+
55
+ .delay7 {
56
+ -webkit-animation-delay: 3.5s;
57
+ -moz-animation-delay: 3.5s;
58
+ -ms-animation-delay: 3.5s;
59
+ -o-animation-delay: 3.5s;
60
+ }
61
+
62
+ .delay8 {
63
+ -webkit-animation-delay: 4s;
64
+ -moz-animation-delay: 4s;
65
+ -ms-animation-delay: 4s;
66
+ -o-animation-delay: 4s;
67
+ }
68
+
69
+ .delay9 {
70
+ -webkit-animation-delay: 4.5s;
71
+ -moz-animation-delay: 4.5s;
72
+ -ms-animation-delay: 4.5s;
73
+ -o-animation-delay: 4.5s;
74
+ }
75
+
76
+ .delay10 {
77
+ -webkit-animation-delay: 5s;
78
+ -moz-animation-delay: 5s;
79
+ -ms-animation-delay: 5s;
80
+ -o-animation-delay: 5s;
81
+ }
82
+
83
+ .delay11 {
84
+ -webkit-animation-delay: 5.5s;
85
+ -moz-animation-delay: 5.5s;
86
+ -ms-animation-delay: 5.5s;
87
+ -o-animation-delay: 5.5s;
88
+ }
89
+
90
+ .delay12 {
91
+ -webkit-animation-delay: 6s;
92
+ -moz-animation-delay: 6s;
93
+ -ms-animation-delay: 6s;
94
+ -o-animation-delay: 6s;
95
+ }
96
+
97
+
98
+ /*!
99
+ Animate.css - http://daneden.me/animate
100
+ Licensed under the MIT license - http://opensource.org/licenses/MIT
101
+
102
+ Copyright (c) 2014 Daniel Eden
103
+ */
104
+
105
+ .animated {
106
+ -webkit-animation-duration: 1s;
107
+ animation-duration: 1s;
108
+ -webkit-animation-fill-mode: both;
109
+ animation-fill-mode: both;
110
+ }
111
+
112
+ .animated.infinite {
113
+ -webkit-animation-iteration-count: infinite;
114
+ animation-iteration-count: infinite;
115
+ }
116
+
117
+ .animated.hinge {
118
+ -webkit-animation-duration: 2s;
119
+ animation-duration: 2s;
120
+ }
121
+
122
+ @-webkit-keyframes bounce {
123
+ 0%, 20%, 53%, 80%, 100% {
124
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
125
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
126
+ -webkit-transform: translate3d(0,0,0);
127
+ transform: translate3d(0,0,0);
128
+ }
129
+
130
+ 40%, 43% {
131
+ -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
132
+ transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
133
+ -webkit-transform: translate3d(0, -30px, 0);
134
+ transform: translate3d(0, -30px, 0);
135
+ }
136
+
137
+ 70% {
138
+ -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
139
+ transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
140
+ -webkit-transform: translate3d(0, -15px, 0);
141
+ transform: translate3d(0, -15px, 0);
142
+ }
143
+
144
+ 90% {
145
+ -webkit-transform: translate3d(0,-4px,0);
146
+ transform: translate3d(0,-4px,0);
147
+ }
148
+ }
149
+
150
+ @keyframes bounce {
151
+ 0%, 20%, 53%, 80%, 100% {
152
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
153
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
154
+ -webkit-transform: translate3d(0,0,0);
155
+ -ms-transform: translate3d(0,0,0);
156
+ transform: translate3d(0,0,0);
157
+ }
158
+
159
+ 40%, 43% {
160
+ -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
161
+ transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
162
+ -webkit-transform: translate3d(0, -30px, 0);
163
+ -ms-transform: translate3d(0, -30px, 0);
164
+ transform: translate3d(0, -30px, 0);
165
+ }
166
+
167
+ 70% {
168
+ -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
169
+ transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
170
+ -webkit-transform: translate3d(0, -15px, 0);
171
+ -ms-transform: translate3d(0, -15px, 0);
172
+ transform: translate3d(0, -15px, 0);
173
+ }
174
+
175
+ 90% {
176
+ -webkit-transform: translate3d(0,-4px,0);
177
+ -ms-transform: translate3d(0,-4px,0);
178
+ transform: translate3d(0,-4px,0);
179
+ }
180
+ }
181
+
182
+ .bounce {
183
+ -webkit-animation-name: bounce;
184
+ animation-name: bounce;
185
+ -webkit-transform-origin: center bottom;
186
+ -ms-transform-origin: center bottom;
187
+ transform-origin: center bottom;
188
+ }
189
+
190
+ @-webkit-keyframes flash {
191
+ 0%, 50%, 100% {
192
+ opacity: 1;
193
+ }
194
+
195
+ 25%, 75% {
196
+ opacity: 0;
197
+ }
198
+ }
199
+
200
+ @keyframes flash {
201
+ 0%, 50%, 100% {
202
+ opacity: 1;
203
+ }
204
+
205
+ 25%, 75% {
206
+ opacity: 0;
207
+ }
208
+ }
209
+
210
+ .flash {
211
+ -webkit-animation-name: flash;
212
+ animation-name: flash;
213
+ }
214
+
215
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
216
+
217
+ @-webkit-keyframes pulse {
218
+ 0% {
219
+ -webkit-transform: scale3d(1, 1, 1);
220
+ transform: scale3d(1, 1, 1);
221
+ }
222
+
223
+ 50% {
224
+ -webkit-transform: scale3d(1.05, 1.05, 1.05);
225
+ transform: scale3d(1.05, 1.05, 1.05);
226
+ }
227
+
228
+ 100% {
229
+ -webkit-transform: scale3d(1, 1, 1);
230
+ transform: scale3d(1, 1, 1);
231
+ }
232
+ }
233
+
234
+ @keyframes pulse {
235
+ 0% {
236
+ -webkit-transform: scale3d(1, 1, 1);
237
+ -ms-transform: scale3d(1, 1, 1);
238
+ transform: scale3d(1, 1, 1);
239
+ }
240
+
241
+ 50% {
242
+ -webkit-transform: scale3d(1.05, 1.05, 1.05);
243
+ -ms-transform: scale3d(1.05, 1.05, 1.05);
244
+ transform: scale3d(1.05, 1.05, 1.05);
245
+ }
246
+
247
+ 100% {
248
+ -webkit-transform: scale3d(1, 1, 1);
249
+ -ms-transform: scale3d(1, 1, 1);
250
+ transform: scale3d(1, 1, 1);
251
+ }
252
+ }
253
+
254
+ .pulse {
255
+ -webkit-animation-name: pulse;
256
+ animation-name: pulse;
257
+ }
258
+
259
+ @-webkit-keyframes rubberBand {
260
+ 0% {
261
+ -webkit-transform: scale3d(1, 1, 1);
262
+ transform: scale3d(1, 1, 1);
263
+ }
264
+
265
+ 30% {
266
+ -webkit-transform: scale3d(1.25, 0.75, 1);
267
+ transform: scale3d(1.25, 0.75, 1);
268
+ }
269
+
270
+ 40% {
271
+ -webkit-transform: scale3d(0.75, 1.25, 1);
272
+ transform: scale3d(0.75, 1.25, 1);
273
+ }
274
+
275
+ 50% {
276
+ -webkit-transform: scale3d(1.15, 0.85, 1);
277
+ transform: scale3d(1.15, 0.85, 1);
278
+ }
279
+
280
+ 65% {
281
+ -webkit-transform: scale3d(.95, 1.05, 1);
282
+ transform: scale3d(.95, 1.05, 1);
283
+ }
284
+
285
+ 75% {
286
+ -webkit-transform: scale3d(1.05, .95, 1);
287
+ transform: scale3d(1.05, .95, 1);
288
+ }
289
+
290
+ 100% {
291
+ -webkit-transform: scale3d(1, 1, 1);
292
+ transform: scale3d(1, 1, 1);
293
+ }
294
+ }
295
+
296
+ @keyframes rubberBand {
297
+ 0% {
298
+ -webkit-transform: scale3d(1, 1, 1);
299
+ -ms-transform: scale3d(1, 1, 1);
300
+ transform: scale3d(1, 1, 1);
301
+ }
302
+
303
+ 30% {
304
+ -webkit-transform: scale3d(1.25, 0.75, 1);
305
+ -ms-transform: scale3d(1.25, 0.75, 1);
306
+ transform: scale3d(1.25, 0.75, 1);
307
+ }
308
+
309
+ 40% {
310
+ -webkit-transform: scale3d(0.75, 1.25, 1);
311
+ -ms-transform: scale3d(0.75, 1.25, 1);
312
+ transform: scale3d(0.75, 1.25, 1);
313
+ }
314
+
315
+ 50% {
316
+ -webkit-transform: scale3d(1.15, 0.85, 1);
317
+ -ms-transform: scale3d(1.15, 0.85, 1);
318
+ transform: scale3d(1.15, 0.85, 1);
319
+ }
320
+
321
+ 65% {
322
+ -webkit-transform: scale3d(.95, 1.05, 1);
323
+ -ms-transform: scale3d(.95, 1.05, 1);
324
+ transform: scale3d(.95, 1.05, 1);
325
+ }
326
+
327
+ 75% {
328
+ -webkit-transform: scale3d(1.05, .95, 1);
329
+ -ms-transform: scale3d(1.05, .95, 1);
330
+ transform: scale3d(1.05, .95, 1);
331
+ }
332
+
333
+ 100% {
334
+ -webkit-transform: scale3d(1, 1, 1);
335
+ -ms-transform: scale3d(1, 1, 1);
336
+ transform: scale3d(1, 1, 1);
337
+ }
338
+ }
339
+
340
+ .rubberBand {
341
+ -webkit-animation-name: rubberBand;
342
+ animation-name: rubberBand;
343
+ }
344
+
345
+ @-webkit-keyframes shake {
346
+ 0%, 100% {
347
+ -webkit-transform: translate3d(0, 0, 0);
348
+ transform: translate3d(0, 0, 0);
349
+ }
350
+
351
+ 10%, 30%, 50%, 70%, 90% {
352
+ -webkit-transform: translate3d(-10px, 0, 0);
353
+ transform: translate3d(-10px, 0, 0);
354
+ }
355
+
356
+ 20%, 40%, 60%, 80% {
357
+ -webkit-transform: translate3d(10px, 0, 0);
358
+ transform: translate3d(10px, 0, 0);
359
+ }
360
+ }
361
+
362
+ @keyframes shake {
363
+ 0%, 100% {
364
+ -webkit-transform: translate3d(0, 0, 0);
365
+ -ms-transform: translate3d(0, 0, 0);
366
+ transform: translate3d(0, 0, 0);
367
+ }
368
+
369
+ 10%, 30%, 50%, 70%, 90% {
370
+ -webkit-transform: translate3d(-10px, 0, 0);
371
+ -ms-transform: translate3d(-10px, 0, 0);
372
+ transform: translate3d(-10px, 0, 0);
373
+ }
374
+
375
+ 20%, 40%, 60%, 80% {
376
+ -webkit-transform: translate3d(10px, 0, 0);
377
+ -ms-transform: translate3d(10px, 0, 0);
378
+ transform: translate3d(10px, 0, 0);
379
+ }
380
+ }
381
+
382
+ .shake {
383
+ -webkit-animation-name: shake;
384
+ animation-name: shake;
385
+ }
386
+
387
+ @-webkit-keyframes swing {
388
+ 20% {
389
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
390
+ transform: rotate3d(0, 0, 1, 15deg);
391
+ }
392
+
393
+ 40% {
394
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
395
+ transform: rotate3d(0, 0, 1, -10deg);
396
+ }
397
+
398
+ 60% {
399
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
400
+ transform: rotate3d(0, 0, 1, 5deg);
401
+ }
402
+
403
+ 80% {
404
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
405
+ transform: rotate3d(0, 0, 1, -5deg);
406
+ }
407
+
408
+ 100% {
409
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
410
+ transform: rotate3d(0, 0, 1, 0deg);
411
+ }
412
+ }
413
+
414
+ @keyframes swing {
415
+ 20% {
416
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
417
+ -ms-transform: rotate3d(0, 0, 1, 15deg);
418
+ transform: rotate3d(0, 0, 1, 15deg);
419
+ }
420
+
421
+ 40% {
422
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
423
+ -ms-transform: rotate3d(0, 0, 1, -10deg);
424
+ transform: rotate3d(0, 0, 1, -10deg);
425
+ }
426
+
427
+ 60% {
428
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
429
+ -ms-transform: rotate3d(0, 0, 1, 5deg);
430
+ transform: rotate3d(0, 0, 1, 5deg);
431
+ }
432
+
433
+ 80% {
434
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
435
+ -ms-transform: rotate3d(0, 0, 1, -5deg);
436
+ transform: rotate3d(0, 0, 1, -5deg);
437
+ }
438
+
439
+ 100% {
440
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
441
+ -ms-transform: rotate3d(0, 0, 1, 0deg);
442
+ transform: rotate3d(0, 0, 1, 0deg);
443
+ }
444
+ }
445
+
446
+ .swing {
447
+ -webkit-transform-origin: top center;
448
+ -ms-transform-origin: top center;
449
+ transform-origin: top center;
450
+ -webkit-animation-name: swing;
451
+ animation-name: swing;
452
+ }
453
+
454
+ @-webkit-keyframes tada {
455
+ 0% {
456
+ -webkit-transform: scale3d(1, 1, 1);
457
+ transform: scale3d(1, 1, 1);
458
+ }
459
+
460
+ 10%, 20% {
461
+ -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
462
+ transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
463
+ }
464
+
465
+ 30%, 50%, 70%, 90% {
466
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
467
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
468
+ }
469
+
470
+ 40%, 60%, 80% {
471
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
472
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
473
+ }
474
+
475
+ 100% {
476
+ -webkit-transform: scale3d(1, 1, 1);
477
+ transform: scale3d(1, 1, 1);
478
+ }
479
+ }
480
+
481
+ @keyframes tada {
482
+ 0% {
483
+ -webkit-transform: scale3d(1, 1, 1);
484
+ -ms-transform: scale3d(1, 1, 1);
485
+ transform: scale3d(1, 1, 1);
486
+ }
487
+
488
+ 10%, 20% {
489
+ -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
490
+ -ms-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
491
+ transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
492
+ }
493
+
494
+ 30%, 50%, 70%, 90% {
495
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
496
+ -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
497
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
498
+ }
499
+
500
+ 40%, 60%, 80% {
501
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
502
+ -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
503
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
504
+ }
505
+
506
+ 100% {
507
+ -webkit-transform: scale3d(1, 1, 1);
508
+ -ms-transform: scale3d(1, 1, 1);
509
+ transform: scale3d(1, 1, 1);
510
+ }
511
+ }
512
+
513
+ .tada {
514
+ -webkit-animation-name: tada;
515
+ animation-name: tada;
516
+ }
517
+
518
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
519
+
520
+ @-webkit-keyframes wobble {
521
+ 0% {
522
+ -webkit-transform: none;
523
+ transform: none;
524
+ }
525
+
526
+ 15% {
527
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
528
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
529
+ }
530
+
531
+ 30% {
532
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
533
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
534
+ }
535
+
536
+ 45% {
537
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
538
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
539
+ }
540
+
541
+ 60% {
542
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
543
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
544
+ }
545
+
546
+ 75% {
547
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
548
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
549
+ }
550
+
551
+ 100% {
552
+ -webkit-transform: none;
553
+ transform: none;
554
+ }
555
+ }
556
+
557
+ @keyframes wobble {
558
+ 0% {
559
+ -webkit-transform: none;
560
+ -ms-transform: none;
561
+ transform: none;
562
+ }
563
+
564
+ 15% {
565
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
566
+ -ms-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
567
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
568
+ }
569
+
570
+ 30% {
571
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
572
+ -ms-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
573
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
574
+ }
575
+
576
+ 45% {
577
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
578
+ -ms-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
579
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
580
+ }
581
+
582
+ 60% {
583
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
584
+ -ms-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
585
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
586
+ }
587
+
588
+ 75% {
589
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
590
+ -ms-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
591
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
592
+ }
593
+
594
+ 100% {
595
+ -webkit-transform: none;
596
+ -ms-transform: none;
597
+ transform: none;
598
+ }
599
+ }
600
+
601
+ .wobble {
602
+ -webkit-animation-name: wobble;
603
+ animation-name: wobble;
604
+ }
605
+
606
+ @-webkit-keyframes bounceIn {
607
+ 0%, 20%, 40%, 60%, 80%, 100% {
608
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
609
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
610
+ }
611
+
612
+ 0% {
613
+ opacity: 0;
614
+ -webkit-transform: scale3d(.3, .3, .3);
615
+ transform: scale3d(.3, .3, .3);
616
+ }
617
+
618
+ 20% {
619
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
620
+ transform: scale3d(1.1, 1.1, 1.1);
621
+ }
622
+
623
+ 40% {
624
+ -webkit-transform: scale3d(.9, .9, .9);
625
+ transform: scale3d(.9, .9, .9);
626
+ }
627
+
628
+ 60% {
629
+ opacity: 1;
630
+ -webkit-transform: scale3d(1.03, 1.03, 1.03);
631
+ transform: scale3d(1.03, 1.03, 1.03);
632
+ }
633
+
634
+ 80% {
635
+ -webkit-transform: scale3d(.97, .97, .97);
636
+ transform: scale3d(.97, .97, .97);
637
+ }
638
+
639
+ 100% {
640
+ opacity: 1;
641
+ -webkit-transform: scale3d(1, 1, 1);
642
+ transform: scale3d(1, 1, 1);
643
+ }
644
+ }
645
+
646
+ @keyframes bounceIn {
647
+ 0%, 20%, 40%, 60%, 80%, 100% {
648
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
649
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
650
+ }
651
+
652
+ 0% {
653
+ opacity: 0;
654
+ -webkit-transform: scale3d(.3, .3, .3);
655
+ -ms-transform: scale3d(.3, .3, .3);
656
+ transform: scale3d(.3, .3, .3);
657
+ }
658
+
659
+ 20% {
660
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
661
+ -ms-transform: scale3d(1.1, 1.1, 1.1);
662
+ transform: scale3d(1.1, 1.1, 1.1);
663
+ }
664
+
665
+ 40% {
666
+ -webkit-transform: scale3d(.9, .9, .9);
667
+ -ms-transform: scale3d(.9, .9, .9);
668
+ transform: scale3d(.9, .9, .9);
669
+ }
670
+
671
+ 60% {
672
+ opacity: 1;
673
+ -webkit-transform: scale3d(1.03, 1.03, 1.03);
674
+ -ms-transform: scale3d(1.03, 1.03, 1.03);
675
+ transform: scale3d(1.03, 1.03, 1.03);
676
+ }
677
+
678
+ 80% {
679
+ -webkit-transform: scale3d(.97, .97, .97);
680
+ -ms-transform: scale3d(.97, .97, .97);
681
+ transform: scale3d(.97, .97, .97);
682
+ }
683
+
684
+ 100% {
685
+ opacity: 1;
686
+ -webkit-transform: scale3d(1, 1, 1);
687
+ -ms-transform: scale3d(1, 1, 1);
688
+ transform: scale3d(1, 1, 1);
689
+ }
690
+ }
691
+
692
+ .bounceIn {
693
+ -webkit-animation-name: bounceIn;
694
+ animation-name: bounceIn;
695
+ -webkit-animation-duration: .75s;
696
+ animation-duration: .75s;
697
+ }
698
+
699
+ @-webkit-keyframes bounceInDown {
700
+ 0%, 60%, 75%, 90%, 100% {
701
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
702
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
703
+ }
704
+
705
+ 0% {
706
+ opacity: 0;
707
+ -webkit-transform: translate3d(0, -3000px, 0);
708
+ transform: translate3d(0, -3000px, 0);
709
+ }
710
+
711
+ 60% {
712
+ opacity: 1;
713
+ -webkit-transform: translate3d(0, 25px, 0);
714
+ transform: translate3d(0, 25px, 0);
715
+ }
716
+
717
+ 75% {
718
+ -webkit-transform: translate3d(0, -10px, 0);
719
+ transform: translate3d(0, -10px, 0);
720
+ }
721
+
722
+ 90% {
723
+ -webkit-transform: translate3d(0, 5px, 0);
724
+ transform: translate3d(0, 5px, 0);
725
+ }
726
+
727
+ 100% {
728
+ -webkit-transform: none;
729
+ transform: none;
730
+ }
731
+ }
732
+
733
+ @keyframes bounceInDown {
734
+ 0%, 60%, 75%, 90%, 100% {
735
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
736
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
737
+ }
738
+
739
+ 0% {
740
+ opacity: 0;
741
+ -webkit-transform: translate3d(0, -3000px, 0);
742
+ -ms-transform: translate3d(0, -3000px, 0);
743
+ transform: translate3d(0, -3000px, 0);
744
+ }
745
+
746
+ 60% {
747
+ opacity: 1;
748
+ -webkit-transform: translate3d(0, 25px, 0);
749
+ -ms-transform: translate3d(0, 25px, 0);
750
+ transform: translate3d(0, 25px, 0);
751
+ }
752
+
753
+ 75% {
754
+ -webkit-transform: translate3d(0, -10px, 0);
755
+ -ms-transform: translate3d(0, -10px, 0);
756
+ transform: translate3d(0, -10px, 0);
757
+ }
758
+
759
+ 90% {
760
+ -webkit-transform: translate3d(0, 5px, 0);
761
+ -ms-transform: translate3d(0, 5px, 0);
762
+ transform: translate3d(0, 5px, 0);
763
+ }
764
+
765
+ 100% {
766
+ -webkit-transform: none;
767
+ -ms-transform: none;
768
+ transform: none;
769
+ }
770
+ }
771
+
772
+ .bounceInDown {
773
+ -webkit-animation-name: bounceInDown;
774
+ animation-name: bounceInDown;
775
+ }
776
+
777
+ @-webkit-keyframes bounceInLeft {
778
+ 0%, 60%, 75%, 90%, 100% {
779
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
780
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
781
+ }
782
+
783
+ 0% {
784
+ opacity: 0;
785
+ -webkit-transform: translate3d(-3000px, 0, 0);
786
+ transform: translate3d(-3000px, 0, 0);
787
+ }
788
+
789
+ 60% {
790
+ opacity: 1;
791
+ -webkit-transform: translate3d(25px, 0, 0);
792
+ transform: translate3d(25px, 0, 0);
793
+ }
794
+
795
+ 75% {
796
+ -webkit-transform: translate3d(-10px, 0, 0);
797
+ transform: translate3d(-10px, 0, 0);
798
+ }
799
+
800
+ 90% {
801
+ -webkit-transform: translate3d(5px, 0, 0);
802
+ transform: translate3d(5px, 0, 0);
803
+ }
804
+
805
+ 100% {
806
+ -webkit-transform: none;
807
+ transform: none;
808
+ }
809
+ }
810
+
811
+ @keyframes bounceInLeft {
812
+ 0%, 60%, 75%, 90%, 100% {
813
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
814
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
815
+ }
816
+
817
+ 0% {
818
+ opacity: 0;
819
+ -webkit-transform: translate3d(-3000px, 0, 0);
820
+ -ms-transform: translate3d(-3000px, 0, 0);
821
+ transform: translate3d(-3000px, 0, 0);
822
+ }
823
+
824
+ 60% {
825
+ opacity: 1;
826
+ -webkit-transform: translate3d(25px, 0, 0);
827
+ -ms-transform: translate3d(25px, 0, 0);
828
+ transform: translate3d(25px, 0, 0);
829
+ }
830
+
831
+ 75% {
832
+ -webkit-transform: translate3d(-10px, 0, 0);
833
+ -ms-transform: translate3d(-10px, 0, 0);
834
+ transform: translate3d(-10px, 0, 0);
835
+ }
836
+
837
+ 90% {
838
+ -webkit-transform: translate3d(5px, 0, 0);
839
+ -ms-transform: translate3d(5px, 0, 0);
840
+ transform: translate3d(5px, 0, 0);
841
+ }
842
+
843
+ 100% {
844
+ -webkit-transform: none;
845
+ -ms-transform: none;
846
+ transform: none;
847
+ }
848
+ }
849
+
850
+ .bounceInLeft {
851
+ -webkit-animation-name: bounceInLeft;
852
+ animation-name: bounceInLeft;
853
+ }
854
+
855
+ @-webkit-keyframes bounceInRight {
856
+ 0%, 60%, 75%, 90%, 100% {
857
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
858
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
859
+ }
860
+
861
+ 0% {
862
+ opacity: 0;
863
+ -webkit-transform: translate3d(3000px, 0, 0);
864
+ transform: translate3d(3000px, 0, 0);
865
+ }
866
+
867
+ 60% {
868
+ opacity: 1;
869
+ -webkit-transform: translate3d(-25px, 0, 0);
870
+ transform: translate3d(-25px, 0, 0);
871
+ }
872
+
873
+ 75% {
874
+ -webkit-transform: translate3d(10px, 0, 0);
875
+ transform: translate3d(10px, 0, 0);
876
+ }
877
+
878
+ 90% {
879
+ -webkit-transform: translate3d(-5px, 0, 0);
880
+ transform: translate3d(-5px, 0, 0);
881
+ }
882
+
883
+ 100% {
884
+ -webkit-transform: none;
885
+ transform: none;
886
+ }
887
+ }
888
+
889
+ @keyframes bounceInRight {
890
+ 0%, 60%, 75%, 90%, 100% {
891
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
892
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
893
+ }
894
+
895
+ 0% {
896
+ opacity: 0;
897
+ -webkit-transform: translate3d(3000px, 0, 0);
898
+ -ms-transform: translate3d(3000px, 0, 0);
899
+ transform: translate3d(3000px, 0, 0);
900
+ }
901
+
902
+ 60% {
903
+ opacity: 1;
904
+ -webkit-transform: translate3d(-25px, 0, 0);
905
+ -ms-transform: translate3d(-25px, 0, 0);
906
+ transform: translate3d(-25px, 0, 0);
907
+ }
908
+
909
+ 75% {
910
+ -webkit-transform: translate3d(10px, 0, 0);
911
+ -ms-transform: translate3d(10px, 0, 0);
912
+ transform: translate3d(10px, 0, 0);
913
+ }
914
+
915
+ 90% {
916
+ -webkit-transform: translate3d(-5px, 0, 0);
917
+ -ms-transform: translate3d(-5px, 0, 0);
918
+ transform: translate3d(-5px, 0, 0);
919
+ }
920
+
921
+ 100% {
922
+ -webkit-transform: none;
923
+ -ms-transform: none;
924
+ transform: none;
925
+ }
926
+ }
927
+
928
+ .bounceInRight {
929
+ -webkit-animation-name: bounceInRight;
930
+ animation-name: bounceInRight;
931
+ }
932
+
933
+ @-webkit-keyframes bounceInUp {
934
+ 0%, 60%, 75%, 90%, 100% {
935
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
936
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
937
+ }
938
+
939
+ 0% {
940
+ opacity: 0;
941
+ -webkit-transform: translate3d(0, 3000px, 0);
942
+ transform: translate3d(0, 3000px, 0);
943
+ }
944
+
945
+ 60% {
946
+ opacity: 1;
947
+ -webkit-transform: translate3d(0, -20px, 0);
948
+ transform: translate3d(0, -20px, 0);
949
+ }
950
+
951
+ 75% {
952
+ -webkit-transform: translate3d(0, 10px, 0);
953
+ transform: translate3d(0, 10px, 0);
954
+ }
955
+
956
+ 90% {
957
+ -webkit-transform: translate3d(0, -5px, 0);
958
+ transform: translate3d(0, -5px, 0);
959
+ }
960
+
961
+ 100% {
962
+ -webkit-transform: translate3d(0, 0, 0);
963
+ transform: translate3d(0, 0, 0);
964
+ }
965
+ }
966
+
967
+ @keyframes bounceInUp {
968
+ 0%, 60%, 75%, 90%, 100% {
969
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
970
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
971
+ }
972
+
973
+ 0% {
974
+ opacity: 0;
975
+ -webkit-transform: translate3d(0, 3000px, 0);
976
+ -ms-transform: translate3d(0, 3000px, 0);
977
+ transform: translate3d(0, 3000px, 0);
978
+ }
979
+
980
+ 60% {
981
+ opacity: 1;
982
+ -webkit-transform: translate3d(0, -20px, 0);
983
+ -ms-transform: translate3d(0, -20px, 0);
984
+ transform: translate3d(0, -20px, 0);
985
+ }
986
+
987
+ 75% {
988
+ -webkit-transform: translate3d(0, 10px, 0);
989
+ -ms-transform: translate3d(0, 10px, 0);
990
+ transform: translate3d(0, 10px, 0);
991
+ }
992
+
993
+ 90% {
994
+ -webkit-transform: translate3d(0, -5px, 0);
995
+ -ms-transform: translate3d(0, -5px, 0);
996
+ transform: translate3d(0, -5px, 0);
997
+ }
998
+
999
+ 100% {
1000
+ -webkit-transform: translate3d(0, 0, 0);
1001
+ -ms-transform: translate3d(0, 0, 0);
1002
+ transform: translate3d(0, 0, 0);
1003
+ }
1004
+ }
1005
+
1006
+ .bounceInUp {
1007
+ -webkit-animation-name: bounceInUp;
1008
+ animation-name: bounceInUp;
1009
+ }
1010
+
1011
+ @-webkit-keyframes bounceOut {
1012
+ 20% {
1013
+ -webkit-transform: scale3d(.9, .9, .9);
1014
+ transform: scale3d(.9, .9, .9);
1015
+ }
1016
+
1017
+ 50%, 55% {
1018
+ opacity: 1;
1019
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
1020
+ transform: scale3d(1.1, 1.1, 1.1);
1021
+ }
1022
+
1023
+ 100% {
1024
+ opacity: 0;
1025
+ -webkit-transform: scale3d(.3, .3, .3);
1026
+ transform: scale3d(.3, .3, .3);
1027
+ }
1028
+ }
1029
+
1030
+ @keyframes bounceOut {
1031
+ 20% {
1032
+ -webkit-transform: scale3d(.9, .9, .9);
1033
+ -ms-transform: scale3d(.9, .9, .9);
1034
+ transform: scale3d(.9, .9, .9);
1035
+ }
1036
+
1037
+ 50%, 55% {
1038
+ opacity: 1;
1039
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
1040
+ -ms-transform: scale3d(1.1, 1.1, 1.1);
1041
+ transform: scale3d(1.1, 1.1, 1.1);
1042
+ }
1043
+
1044
+ 100% {
1045
+ opacity: 0;
1046
+ -webkit-transform: scale3d(.3, .3, .3);
1047
+ -ms-transform: scale3d(.3, .3, .3);
1048
+ transform: scale3d(.3, .3, .3);
1049
+ }
1050
+ }
1051
+
1052
+ .bounceOut {
1053
+ -webkit-animation-name: bounceOut;
1054
+ animation-name: bounceOut;
1055
+ -webkit-animation-duration: .75s;
1056
+ animation-duration: .75s;
1057
+ }
1058
+
1059
+ @-webkit-keyframes bounceOutDown {
1060
+ 20% {
1061
+ -webkit-transform: translate3d(0, 10px, 0);
1062
+ transform: translate3d(0, 10px, 0);
1063
+ }
1064
+
1065
+ 40%, 45% {
1066
+ opacity: 1;
1067
+ -webkit-transform: translate3d(0, -20px, 0);
1068
+ transform: translate3d(0, -20px, 0);
1069
+ }
1070
+
1071
+ 100% {
1072
+ opacity: 0;
1073
+ -webkit-transform: translate3d(0, 2000px, 0);
1074
+ transform: translate3d(0, 2000px, 0);
1075
+ }
1076
+ }
1077
+
1078
+ @keyframes bounceOutDown {
1079
+ 20% {
1080
+ -webkit-transform: translate3d(0, 10px, 0);
1081
+ -ms-transform: translate3d(0, 10px, 0);
1082
+ transform: translate3d(0, 10px, 0);
1083
+ }
1084
+
1085
+ 40%, 45% {
1086
+ opacity: 1;
1087
+ -webkit-transform: translate3d(0, -20px, 0);
1088
+ -ms-transform: translate3d(0, -20px, 0);
1089
+ transform: translate3d(0, -20px, 0);
1090
+ }
1091
+
1092
+ 100% {
1093
+ opacity: 0;
1094
+ -webkit-transform: translate3d(0, 2000px, 0);
1095
+ -ms-transform: translate3d(0, 2000px, 0);
1096
+ transform: translate3d(0, 2000px, 0);
1097
+ }
1098
+ }
1099
+
1100
+ .bounceOutDown {
1101
+ -webkit-animation-name: bounceOutDown;
1102
+ animation-name: bounceOutDown;
1103
+ }
1104
+
1105
+ @-webkit-keyframes bounceOutLeft {
1106
+ 20% {
1107
+ opacity: 1;
1108
+ -webkit-transform: translate3d(20px, 0, 0);
1109
+ transform: translate3d(20px, 0, 0);
1110
+ }
1111
+
1112
+ 100% {
1113
+ opacity: 0;
1114
+ -webkit-transform: translate3d(-2000px, 0, 0);
1115
+ transform: translate3d(-2000px, 0, 0);
1116
+ }
1117
+ }
1118
+
1119
+ @keyframes bounceOutLeft {
1120
+ 20% {
1121
+ opacity: 1;
1122
+ -webkit-transform: translate3d(20px, 0, 0);
1123
+ -ms-transform: translate3d(20px, 0, 0);
1124
+ transform: translate3d(20px, 0, 0);
1125
+ }
1126
+
1127
+ 100% {
1128
+ opacity: 0;
1129
+ -webkit-transform: translate3d(-2000px, 0, 0);
1130
+ -ms-transform: translate3d(-2000px, 0, 0);
1131
+ transform: translate3d(-2000px, 0, 0);
1132
+ }
1133
+ }
1134
+
1135
+ .bounceOutLeft {
1136
+ -webkit-animation-name: bounceOutLeft;
1137
+ animation-name: bounceOutLeft;
1138
+ }
1139
+
1140
+ @-webkit-keyframes bounceOutRight {
1141
+ 20% {
1142
+ opacity: 1;
1143
+ -webkit-transform: translate3d(-20px, 0, 0);
1144
+ transform: translate3d(-20px, 0, 0);
1145
+ }
1146
+
1147
+ 100% {
1148
+ opacity: 0;
1149
+ -webkit-transform: translate3d(2000px, 0, 0);
1150
+ transform: translate3d(2000px, 0, 0);
1151
+ }
1152
+ }
1153
+
1154
+ @keyframes bounceOutRight {
1155
+ 20% {
1156
+ opacity: 1;
1157
+ -webkit-transform: translate3d(-20px, 0, 0);
1158
+ -ms-transform: translate3d(-20px, 0, 0);
1159
+ transform: translate3d(-20px, 0, 0);
1160
+ }
1161
+
1162
+ 100% {
1163
+ opacity: 0;
1164
+ -webkit-transform: translate3d(2000px, 0, 0);
1165
+ -ms-transform: translate3d(2000px, 0, 0);
1166
+ transform: translate3d(2000px, 0, 0);
1167
+ }
1168
+ }
1169
+
1170
+ .bounceOutRight {
1171
+ -webkit-animation-name: bounceOutRight;
1172
+ animation-name: bounceOutRight;
1173
+ }
1174
+
1175
+ @-webkit-keyframes bounceOutUp {
1176
+ 20% {
1177
+ -webkit-transform: translate3d(0, -10px, 0);
1178
+ transform: translate3d(0, -10px, 0);
1179
+ }
1180
+
1181
+ 40%, 45% {
1182
+ opacity: 1;
1183
+ -webkit-transform: translate3d(0, 20px, 0);
1184
+ transform: translate3d(0, 20px, 0);
1185
+ }
1186
+
1187
+ 100% {
1188
+ opacity: 0;
1189
+ -webkit-transform: translate3d(0, -2000px, 0);
1190
+ transform: translate3d(0, -2000px, 0);
1191
+ }
1192
+ }
1193
+
1194
+ @keyframes bounceOutUp {
1195
+ 20% {
1196
+ -webkit-transform: translate3d(0, -10px, 0);
1197
+ -ms-transform: translate3d(0, -10px, 0);
1198
+ transform: translate3d(0, -10px, 0);
1199
+ }
1200
+
1201
+ 40%, 45% {
1202
+ opacity: 1;
1203
+ -webkit-transform: translate3d(0, 20px, 0);
1204
+ -ms-transform: translate3d(0, 20px, 0);
1205
+ transform: translate3d(0, 20px, 0);
1206
+ }
1207
+
1208
+ 100% {
1209
+ opacity: 0;
1210
+ -webkit-transform: translate3d(0, -2000px, 0);
1211
+ -ms-transform: translate3d(0, -2000px, 0);
1212
+ transform: translate3d(0, -2000px, 0);
1213
+ }
1214
+ }
1215
+
1216
+ .bounceOutUp {
1217
+ -webkit-animation-name: bounceOutUp;
1218
+ animation-name: bounceOutUp;
1219
+ }
1220
+
1221
+ @-webkit-keyframes fadeIn {
1222
+ 0% {
1223
+ opacity: 0;
1224
+ }
1225
+
1226
+ 100% {
1227
+ opacity: 1;
1228
+ }
1229
+ }
1230
+
1231
+ @keyframes fadeIn {
1232
+ 0% {
1233
+ opacity: 0;
1234
+ }
1235
+
1236
+ 100% {
1237
+ opacity: 1;
1238
+ }
1239
+ }
1240
+
1241
+ .fadeIn {
1242
+ -webkit-animation-name: fadeIn;
1243
+ animation-name: fadeIn;
1244
+ }
1245
+
1246
+ @-webkit-keyframes fadeInDown {
1247
+ 0% {
1248
+ opacity: 0;
1249
+ -webkit-transform: translate3d(0, -100%, 0);
1250
+ transform: translate3d(0, -100%, 0);
1251
+ }
1252
+
1253
+ 100% {
1254
+ opacity: 1;
1255
+ -webkit-transform: none;
1256
+ transform: none;
1257
+ }
1258
+ }
1259
+
1260
+ @keyframes fadeInDown {
1261
+ 0% {
1262
+ opacity: 0;
1263
+ -webkit-transform: translate3d(0, -100%, 0);
1264
+ -ms-transform: translate3d(0, -100%, 0);
1265
+ transform: translate3d(0, -100%, 0);
1266
+ }
1267
+
1268
+ 100% {
1269
+ opacity: 1;
1270
+ -webkit-transform: none;
1271
+ -ms-transform: none;
1272
+ transform: none;
1273
+ }
1274
+ }
1275
+
1276
+ .fadeInDown {
1277
+ -webkit-animation-name: fadeInDown;
1278
+ animation-name: fadeInDown;
1279
+ }
1280
+
1281
+ @-webkit-keyframes fadeInDownBig {
1282
+ 0% {
1283
+ opacity: 0;
1284
+ -webkit-transform: translate3d(0, -2000px, 0);
1285
+ transform: translate3d(0, -2000px, 0);
1286
+ }
1287
+
1288
+ 100% {
1289
+ opacity: 1;
1290
+ -webkit-transform: none;
1291
+ transform: none;
1292
+ }
1293
+ }
1294
+
1295
+ @keyframes fadeInDownBig {
1296
+ 0% {
1297
+ opacity: 0;
1298
+ -webkit-transform: translate3d(0, -2000px, 0);
1299
+ -ms-transform: translate3d(0, -2000px, 0);
1300
+ transform: translate3d(0, -2000px, 0);
1301
+ }
1302
+
1303
+ 100% {
1304
+ opacity: 1;
1305
+ -webkit-transform: none;
1306
+ -ms-transform: none;
1307
+ transform: none;
1308
+ }
1309
+ }
1310
+
1311
+ .fadeInDownBig {
1312
+ -webkit-animation-name: fadeInDownBig;
1313
+ animation-name: fadeInDownBig;
1314
+ }
1315
+
1316
+ @-webkit-keyframes fadeInLeft {
1317
+ 0% {
1318
+ opacity: 0;
1319
+ -webkit-transform: translate3d(-100%, 0, 0);
1320
+ transform: translate3d(-100%, 0, 0);
1321
+ }
1322
+
1323
+ 100% {
1324
+ opacity: 1;
1325
+ -webkit-transform: none;
1326
+ transform: none;
1327
+ }
1328
+ }
1329
+
1330
+ @keyframes fadeInLeft {
1331
+ 0% {
1332
+ opacity: 0;
1333
+ -webkit-transform: translate3d(-100%, 0, 0);
1334
+ -ms-transform: translate3d(-100%, 0, 0);
1335
+ transform: translate3d(-100%, 0, 0);
1336
+ }
1337
+
1338
+ 100% {
1339
+ opacity: 1;
1340
+ -webkit-transform: none;
1341
+ -ms-transform: none;
1342
+ transform: none;
1343
+ }
1344
+ }
1345
+
1346
+ .fadeInLeft {
1347
+ -webkit-animation-name: fadeInLeft;
1348
+ animation-name: fadeInLeft;
1349
+ }
1350
+
1351
+ @-webkit-keyframes fadeInLeftBig {
1352
+ 0% {
1353
+ opacity: 0;
1354
+ -webkit-transform: translate3d(-2000px, 0, 0);
1355
+ transform: translate3d(-2000px, 0, 0);
1356
+ }
1357
+
1358
+ 100% {
1359
+ opacity: 1;
1360
+ -webkit-transform: none;
1361
+ transform: none;
1362
+ }
1363
+ }
1364
+
1365
+ @keyframes fadeInLeftBig {
1366
+ 0% {
1367
+ opacity: 0;
1368
+ -webkit-transform: translate3d(-2000px, 0, 0);
1369
+ -ms-transform: translate3d(-2000px, 0, 0);
1370
+ transform: translate3d(-2000px, 0, 0);
1371
+ }
1372
+
1373
+ 100% {
1374
+ opacity: 1;
1375
+ -webkit-transform: none;
1376
+ -ms-transform: none;
1377
+ transform: none;
1378
+ }
1379
+ }
1380
+
1381
+ .fadeInLeftBig {
1382
+ -webkit-animation-name: fadeInLeftBig;
1383
+ animation-name: fadeInLeftBig;
1384
+ }
1385
+
1386
+ @-webkit-keyframes fadeInRight {
1387
+ 0% {
1388
+ opacity: 0;
1389
+ -webkit-transform: translate3d(100%, 0, 0);
1390
+ transform: translate3d(100%, 0, 0);
1391
+ }
1392
+
1393
+ 100% {
1394
+ opacity: 1;
1395
+ -webkit-transform: none;
1396
+ transform: none;
1397
+ }
1398
+ }
1399
+
1400
+ @keyframes fadeInRight {
1401
+ 0% {
1402
+ opacity: 0;
1403
+ -webkit-transform: translate3d(100%, 0, 0);
1404
+ -ms-transform: translate3d(100%, 0, 0);
1405
+ transform: translate3d(100%, 0, 0);
1406
+ }
1407
+
1408
+ 100% {
1409
+ opacity: 1;
1410
+ -webkit-transform: none;
1411
+ -ms-transform: none;
1412
+ transform: none;
1413
+ }
1414
+ }
1415
+
1416
+ .fadeInRight {
1417
+ -webkit-animation-name: fadeInRight;
1418
+ animation-name: fadeInRight;
1419
+ }
1420
+
1421
+ @-webkit-keyframes fadeInRightBig {
1422
+ 0% {
1423
+ opacity: 0;
1424
+ -webkit-transform: translate3d(2000px, 0, 0);
1425
+ transform: translate3d(2000px, 0, 0);
1426
+ }
1427
+
1428
+ 100% {
1429
+ opacity: 1;
1430
+ -webkit-transform: none;
1431
+ transform: none;
1432
+ }
1433
+ }
1434
+
1435
+ @keyframes fadeInRightBig {
1436
+ 0% {
1437
+ opacity: 0;
1438
+ -webkit-transform: translate3d(2000px, 0, 0);
1439
+ -ms-transform: translate3d(2000px, 0, 0);
1440
+ transform: translate3d(2000px, 0, 0);
1441
+ }
1442
+
1443
+ 100% {
1444
+ opacity: 1;
1445
+ -webkit-transform: none;
1446
+ -ms-transform: none;
1447
+ transform: none;
1448
+ }
1449
+ }
1450
+
1451
+ .fadeInRightBig {
1452
+ -webkit-animation-name: fadeInRightBig;
1453
+ animation-name: fadeInRightBig;
1454
+ }
1455
+
1456
+ @-webkit-keyframes fadeInUp {
1457
+ 0% {
1458
+ opacity: 0;
1459
+ -webkit-transform: translate3d(0, 100%, 0);
1460
+ transform: translate3d(0, 100%, 0);
1461
+ }
1462
+
1463
+ 100% {
1464
+ opacity: 1;
1465
+ -webkit-transform: none;
1466
+ transform: none;
1467
+ }
1468
+ }
1469
+
1470
+ @keyframes fadeInUp {
1471
+ 0% {
1472
+ opacity: 0;
1473
+ -webkit-transform: translate3d(0, 100%, 0);
1474
+ -ms-transform: translate3d(0, 100%, 0);
1475
+ transform: translate3d(0, 100%, 0);
1476
+ }
1477
+
1478
+ 100% {
1479
+ opacity: 1;
1480
+ -webkit-transform: none;
1481
+ -ms-transform: none;
1482
+ transform: none;
1483
+ }
1484
+ }
1485
+
1486
+ .fadeInUp {
1487
+ -webkit-animation-name: fadeInUp;
1488
+ animation-name: fadeInUp;
1489
+ }
1490
+
1491
+ @-webkit-keyframes fadeInUpBig {
1492
+ 0% {
1493
+ opacity: 0;
1494
+ -webkit-transform: translate3d(0, 2000px, 0);
1495
+ transform: translate3d(0, 2000px, 0);
1496
+ }
1497
+
1498
+ 100% {
1499
+ opacity: 1;
1500
+ -webkit-transform: none;
1501
+ transform: none;
1502
+ }
1503
+ }
1504
+
1505
+ @keyframes fadeInUpBig {
1506
+ 0% {
1507
+ opacity: 0;
1508
+ -webkit-transform: translate3d(0, 2000px, 0);
1509
+ -ms-transform: translate3d(0, 2000px, 0);
1510
+ transform: translate3d(0, 2000px, 0);
1511
+ }
1512
+
1513
+ 100% {
1514
+ opacity: 1;
1515
+ -webkit-transform: none;
1516
+ -ms-transform: none;
1517
+ transform: none;
1518
+ }
1519
+ }
1520
+
1521
+ .fadeInUpBig {
1522
+ -webkit-animation-name: fadeInUpBig;
1523
+ animation-name: fadeInUpBig;
1524
+ }
1525
+
1526
+ @-webkit-keyframes fadeOut {
1527
+ 0% {
1528
+ opacity: 1;
1529
+ }
1530
+
1531
+ 100% {
1532
+ opacity: 0;
1533
+ }
1534
+ }
1535
+
1536
+ @keyframes fadeOut {
1537
+ 0% {
1538
+ opacity: 1;
1539
+ }
1540
+
1541
+ 100% {
1542
+ opacity: 0;
1543
+ }
1544
+ }
1545
+
1546
+ .fadeOut {
1547
+ -webkit-animation-name: fadeOut;
1548
+ animation-name: fadeOut;
1549
+ }
1550
+
1551
+ @-webkit-keyframes fadeOutDown {
1552
+ 0% {
1553
+ opacity: 1;
1554
+ }
1555
+
1556
+ 100% {
1557
+ opacity: 0;
1558
+ -webkit-transform: translate3d(0, 100%, 0);
1559
+ transform: translate3d(0, 100%, 0);
1560
+ }
1561
+ }
1562
+
1563
+ @keyframes fadeOutDown {
1564
+ 0% {
1565
+ opacity: 1;
1566
+ }
1567
+
1568
+ 100% {
1569
+ opacity: 0;
1570
+ -webkit-transform: translate3d(0, 100%, 0);
1571
+ -ms-transform: translate3d(0, 100%, 0);
1572
+ transform: translate3d(0, 100%, 0);
1573
+ }
1574
+ }
1575
+
1576
+ .fadeOutDown {
1577
+ -webkit-animation-name: fadeOutDown;
1578
+ animation-name: fadeOutDown;
1579
+ }
1580
+
1581
+ @-webkit-keyframes fadeOutDownBig {
1582
+ 0% {
1583
+ opacity: 1;
1584
+ }
1585
+
1586
+ 100% {
1587
+ opacity: 0;
1588
+ -webkit-transform: translate3d(0, 2000px, 0);
1589
+ transform: translate3d(0, 2000px, 0);
1590
+ }
1591
+ }
1592
+
1593
+ @keyframes fadeOutDownBig {
1594
+ 0% {
1595
+ opacity: 1;
1596
+ }
1597
+
1598
+ 100% {
1599
+ opacity: 0;
1600
+ -webkit-transform: translate3d(0, 2000px, 0);
1601
+ -ms-transform: translate3d(0, 2000px, 0);
1602
+ transform: translate3d(0, 2000px, 0);
1603
+ }
1604
+ }
1605
+
1606
+ .fadeOutDownBig {
1607
+ -webkit-animation-name: fadeOutDownBig;
1608
+ animation-name: fadeOutDownBig;
1609
+ }
1610
+
1611
+ @-webkit-keyframes fadeOutLeft {
1612
+ 0% {
1613
+ opacity: 1;
1614
+ }
1615
+
1616
+ 100% {
1617
+ opacity: 0;
1618
+ -webkit-transform: translate3d(-100%, 0, 0);
1619
+ transform: translate3d(-100%, 0, 0);
1620
+ }
1621
+ }
1622
+
1623
+ @keyframes fadeOutLeft {
1624
+ 0% {
1625
+ opacity: 1;
1626
+ }
1627
+
1628
+ 100% {
1629
+ opacity: 0;
1630
+ -webkit-transform: translate3d(-100%, 0, 0);
1631
+ -ms-transform: translate3d(-100%, 0, 0);
1632
+ transform: translate3d(-100%, 0, 0);
1633
+ }
1634
+ }
1635
+
1636
+ .fadeOutLeft {
1637
+ -webkit-animation-name: fadeOutLeft;
1638
+ animation-name: fadeOutLeft;
1639
+ }
1640
+
1641
+ @-webkit-keyframes fadeOutLeftBig {
1642
+ 0% {
1643
+ opacity: 1;
1644
+ }
1645
+
1646
+ 100% {
1647
+ opacity: 0;
1648
+ -webkit-transform: translate3d(-2000px, 0, 0);
1649
+ transform: translate3d(-2000px, 0, 0);
1650
+ }
1651
+ }
1652
+
1653
+ @keyframes fadeOutLeftBig {
1654
+ 0% {
1655
+ opacity: 1;
1656
+ }
1657
+
1658
+ 100% {
1659
+ opacity: 0;
1660
+ -webkit-transform: translate3d(-2000px, 0, 0);
1661
+ -ms-transform: translate3d(-2000px, 0, 0);
1662
+ transform: translate3d(-2000px, 0, 0);
1663
+ }
1664
+ }
1665
+
1666
+ .fadeOutLeftBig {
1667
+ -webkit-animation-name: fadeOutLeftBig;
1668
+ animation-name: fadeOutLeftBig;
1669
+ }
1670
+
1671
+ @-webkit-keyframes fadeOutRight {
1672
+ 0% {
1673
+ opacity: 1;
1674
+ }
1675
+
1676
+ 100% {
1677
+ opacity: 0;
1678
+ -webkit-transform: translate3d(100%, 0, 0);
1679
+ transform: translate3d(100%, 0, 0);
1680
+ }
1681
+ }
1682
+
1683
+ @keyframes fadeOutRight {
1684
+ 0% {
1685
+ opacity: 1;
1686
+ }
1687
+
1688
+ 100% {
1689
+ opacity: 0;
1690
+ -webkit-transform: translate3d(100%, 0, 0);
1691
+ -ms-transform: translate3d(100%, 0, 0);
1692
+ transform: translate3d(100%, 0, 0);
1693
+ }
1694
+ }
1695
+
1696
+ .fadeOutRight {
1697
+ -webkit-animation-name: fadeOutRight;
1698
+ animation-name: fadeOutRight;
1699
+ }
1700
+
1701
+ @-webkit-keyframes fadeOutRightBig {
1702
+ 0% {
1703
+ opacity: 1;
1704
+ }
1705
+
1706
+ 100% {
1707
+ opacity: 0;
1708
+ -webkit-transform: translate3d(2000px, 0, 0);
1709
+ transform: translate3d(2000px, 0, 0);
1710
+ }
1711
+ }
1712
+
1713
+ @keyframes fadeOutRightBig {
1714
+ 0% {
1715
+ opacity: 1;
1716
+ }
1717
+
1718
+ 100% {
1719
+ opacity: 0;
1720
+ -webkit-transform: translate3d(2000px, 0, 0);
1721
+ -ms-transform: translate3d(2000px, 0, 0);
1722
+ transform: translate3d(2000px, 0, 0);
1723
+ }
1724
+ }
1725
+
1726
+ .fadeOutRightBig {
1727
+ -webkit-animation-name: fadeOutRightBig;
1728
+ animation-name: fadeOutRightBig;
1729
+ }
1730
+
1731
+ @-webkit-keyframes fadeOutUp {
1732
+ 0% {
1733
+ opacity: 1;
1734
+ }
1735
+
1736
+ 100% {
1737
+ opacity: 0;
1738
+ -webkit-transform: translate3d(0, -100%, 0);
1739
+ transform: translate3d(0, -100%, 0);
1740
+ }
1741
+ }
1742
+
1743
+ @keyframes fadeOutUp {
1744
+ 0% {
1745
+ opacity: 1;
1746
+ }
1747
+
1748
+ 100% {
1749
+ opacity: 0;
1750
+ -webkit-transform: translate3d(0, -100%, 0);
1751
+ -ms-transform: translate3d(0, -100%, 0);
1752
+ transform: translate3d(0, -100%, 0);
1753
+ }
1754
+ }
1755
+
1756
+ .fadeOutUp {
1757
+ -webkit-animation-name: fadeOutUp;
1758
+ animation-name: fadeOutUp;
1759
+ }
1760
+
1761
+ @-webkit-keyframes fadeOutUpBig {
1762
+ 0% {
1763
+ opacity: 1;
1764
+ }
1765
+
1766
+ 100% {
1767
+ opacity: 0;
1768
+ -webkit-transform: translate3d(0, -2000px, 0);
1769
+ transform: translate3d(0, -2000px, 0);
1770
+ }
1771
+ }
1772
+
1773
+ @keyframes fadeOutUpBig {
1774
+ 0% {
1775
+ opacity: 1;
1776
+ }
1777
+
1778
+ 100% {
1779
+ opacity: 0;
1780
+ -webkit-transform: translate3d(0, -2000px, 0);
1781
+ -ms-transform: translate3d(0, -2000px, 0);
1782
+ transform: translate3d(0, -2000px, 0);
1783
+ }
1784
+ }
1785
+
1786
+ .fadeOutUpBig {
1787
+ -webkit-animation-name: fadeOutUpBig;
1788
+ animation-name: fadeOutUpBig;
1789
+ }
1790
+
1791
+ @-webkit-keyframes flip {
1792
+ 0% {
1793
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1794
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1795
+ -webkit-animation-timing-function: ease-out;
1796
+ animation-timing-function: ease-out;
1797
+ }
1798
+
1799
+ 40% {
1800
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1801
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1802
+ -webkit-animation-timing-function: ease-out;
1803
+ animation-timing-function: ease-out;
1804
+ }
1805
+
1806
+ 50% {
1807
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1808
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1809
+ -webkit-animation-timing-function: ease-in;
1810
+ animation-timing-function: ease-in;
1811
+ }
1812
+
1813
+ 80% {
1814
+ -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
1815
+ transform: perspective(400px) scale3d(.95, .95, .95);
1816
+ -webkit-animation-timing-function: ease-in;
1817
+ animation-timing-function: ease-in;
1818
+ }
1819
+
1820
+ 100% {
1821
+ -webkit-transform: perspective(400px);
1822
+ transform: perspective(400px);
1823
+ -webkit-animation-timing-function: ease-in;
1824
+ animation-timing-function: ease-in;
1825
+ }
1826
+ }
1827
+
1828
+ @keyframes flip {
1829
+ 0% {
1830
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1831
+ -ms-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1832
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1833
+ -webkit-animation-timing-function: ease-out;
1834
+ animation-timing-function: ease-out;
1835
+ }
1836
+
1837
+ 40% {
1838
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1839
+ -ms-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1840
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1841
+ -webkit-animation-timing-function: ease-out;
1842
+ animation-timing-function: ease-out;
1843
+ }
1844
+
1845
+ 50% {
1846
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1847
+ -ms-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1848
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1849
+ -webkit-animation-timing-function: ease-in;
1850
+ animation-timing-function: ease-in;
1851
+ }
1852
+
1853
+ 80% {
1854
+ -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
1855
+ -ms-transform: perspective(400px) scale3d(.95, .95, .95);
1856
+ transform: perspective(400px) scale3d(.95, .95, .95);
1857
+ -webkit-animation-timing-function: ease-in;
1858
+ animation-timing-function: ease-in;
1859
+ }
1860
+
1861
+ 100% {
1862
+ -webkit-transform: perspective(400px);
1863
+ -ms-transform: perspective(400px);
1864
+ transform: perspective(400px);
1865
+ -webkit-animation-timing-function: ease-in;
1866
+ animation-timing-function: ease-in;
1867
+ }
1868
+ }
1869
+
1870
+ .animated.flip {
1871
+ -webkit-backface-visibility: visible;
1872
+ -ms-backface-visibility: visible;
1873
+ backface-visibility: visible;
1874
+ -webkit-animation-name: flip;
1875
+ animation-name: flip;
1876
+ }
1877
+
1878
+ @-webkit-keyframes flipInX {
1879
+ 0% {
1880
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1881
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1882
+ -webkit-transition-timing-function: ease-in;
1883
+ transition-timing-function: ease-in;
1884
+ opacity: 0;
1885
+ }
1886
+
1887
+ 40% {
1888
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1889
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1890
+ -webkit-transition-timing-function: ease-in;
1891
+ transition-timing-function: ease-in;
1892
+ }
1893
+
1894
+ 60% {
1895
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1896
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1897
+ opacity: 1;
1898
+ }
1899
+
1900
+ 80% {
1901
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1902
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1903
+ }
1904
+
1905
+ 100% {
1906
+ -webkit-transform: perspective(400px);
1907
+ transform: perspective(400px);
1908
+ }
1909
+ }
1910
+
1911
+ @keyframes flipInX {
1912
+ 0% {
1913
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1914
+ -ms-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1915
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1916
+ -webkit-transition-timing-function: ease-in;
1917
+ transition-timing-function: ease-in;
1918
+ opacity: 0;
1919
+ }
1920
+
1921
+ 40% {
1922
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1923
+ -ms-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1924
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1925
+ -webkit-transition-timing-function: ease-in;
1926
+ transition-timing-function: ease-in;
1927
+ }
1928
+
1929
+ 60% {
1930
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1931
+ -ms-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1932
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1933
+ opacity: 1;
1934
+ }
1935
+
1936
+ 80% {
1937
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1938
+ -ms-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1939
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1940
+ }
1941
+
1942
+ 100% {
1943
+ -webkit-transform: perspective(400px);
1944
+ -ms-transform: perspective(400px);
1945
+ transform: perspective(400px);
1946
+ }
1947
+ }
1948
+
1949
+ .flipInX {
1950
+ -webkit-backface-visibility: visible !important;
1951
+ -ms-backface-visibility: visible !important;
1952
+ backface-visibility: visible !important;
1953
+ -webkit-animation-name: flipInX;
1954
+ animation-name: flipInX;
1955
+ }
1956
+
1957
+ @-webkit-keyframes flipInY {
1958
+ 0% {
1959
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1960
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1961
+ -webkit-transition-timing-function: ease-in;
1962
+ transition-timing-function: ease-in;
1963
+ opacity: 0;
1964
+ }
1965
+
1966
+ 40% {
1967
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1968
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1969
+ -webkit-transition-timing-function: ease-in;
1970
+ transition-timing-function: ease-in;
1971
+ }
1972
+
1973
+ 60% {
1974
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1975
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1976
+ opacity: 1;
1977
+ }
1978
+
1979
+ 80% {
1980
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1981
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1982
+ }
1983
+
1984
+ 100% {
1985
+ -webkit-transform: perspective(400px);
1986
+ transform: perspective(400px);
1987
+ }
1988
+ }
1989
+
1990
+ @keyframes flipInY {
1991
+ 0% {
1992
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1993
+ -ms-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1994
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1995
+ -webkit-transition-timing-function: ease-in;
1996
+ transition-timing-function: ease-in;
1997
+ opacity: 0;
1998
+ }
1999
+
2000
+ 40% {
2001
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
2002
+ -ms-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
2003
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
2004
+ -webkit-transition-timing-function: ease-in;
2005
+ transition-timing-function: ease-in;
2006
+ }
2007
+
2008
+ 60% {
2009
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
2010
+ -ms-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
2011
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
2012
+ opacity: 1;
2013
+ }
2014
+
2015
+ 80% {
2016
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
2017
+ -ms-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
2018
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
2019
+ }
2020
+
2021
+ 100% {
2022
+ -webkit-transform: perspective(400px);
2023
+ -ms-transform: perspective(400px);
2024
+ transform: perspective(400px);
2025
+ }
2026
+ }
2027
+
2028
+ .flipInY {
2029
+ -webkit-backface-visibility: visible !important;
2030
+ -ms-backface-visibility: visible !important;
2031
+ backface-visibility: visible !important;
2032
+ -webkit-animation-name: flipInY;
2033
+ animation-name: flipInY;
2034
+ }
2035
+
2036
+ @-webkit-keyframes flipOutX {
2037
+ 0% {
2038
+ -webkit-transform: perspective(400px);
2039
+ transform: perspective(400px);
2040
+ }
2041
+
2042
+ 30% {
2043
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
2044
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
2045
+ opacity: 1;
2046
+ }
2047
+
2048
+ 100% {
2049
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
2050
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
2051
+ opacity: 0;
2052
+ }
2053
+ }
2054
+
2055
+ @keyframes flipOutX {
2056
+ 0% {
2057
+ -webkit-transform: perspective(400px);
2058
+ -ms-transform: perspective(400px);
2059
+ transform: perspective(400px);
2060
+ }
2061
+
2062
+ 30% {
2063
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
2064
+ -ms-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
2065
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
2066
+ opacity: 1;
2067
+ }
2068
+
2069
+ 100% {
2070
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
2071
+ -ms-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
2072
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
2073
+ opacity: 0;
2074
+ }
2075
+ }
2076
+
2077
+ .flipOutX {
2078
+ -webkit-animation-name: flipOutX;
2079
+ animation-name: flipOutX;
2080
+ -webkit-animation-duration: .75s;
2081
+ animation-duration: .75s;
2082
+ -webkit-backface-visibility: visible !important;
2083
+ -ms-backface-visibility: visible !important;
2084
+ backface-visibility: visible !important;
2085
+ }
2086
+
2087
+ @-webkit-keyframes flipOutY {
2088
+ 0% {
2089
+ -webkit-transform: perspective(400px);
2090
+ transform: perspective(400px);
2091
+ }
2092
+
2093
+ 30% {
2094
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
2095
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
2096
+ opacity: 1;
2097
+ }
2098
+
2099
+ 100% {
2100
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
2101
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
2102
+ opacity: 0;
2103
+ }
2104
+ }
2105
+
2106
+ @keyframes flipOutY {
2107
+ 0% {
2108
+ -webkit-transform: perspective(400px);
2109
+ -ms-transform: perspective(400px);
2110
+ transform: perspective(400px);
2111
+ }
2112
+
2113
+ 30% {
2114
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
2115
+ -ms-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
2116
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
2117
+ opacity: 1;
2118
+ }
2119
+
2120
+ 100% {
2121
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
2122
+ -ms-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
2123
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
2124
+ opacity: 0;
2125
+ }
2126
+ }
2127
+
2128
+ .flipOutY {
2129
+ -webkit-backface-visibility: visible !important;
2130
+ -ms-backface-visibility: visible !important;
2131
+ backface-visibility: visible !important;
2132
+ -webkit-animation-name: flipOutY;
2133
+ animation-name: flipOutY;
2134
+ -webkit-animation-duration: .75s;
2135
+ animation-duration: .75s;
2136
+ }
2137
+
2138
+ @-webkit-keyframes lightSpeedIn {
2139
+ 0% {
2140
+ -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
2141
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
2142
+ opacity: 0;
2143
+ }
2144
+
2145
+ 60% {
2146
+ -webkit-transform: skewX(20deg);
2147
+ transform: skewX(20deg);
2148
+ opacity: 1;
2149
+ }
2150
+
2151
+ 80% {
2152
+ -webkit-transform: skewX(-5deg);
2153
+ transform: skewX(-5deg);
2154
+ opacity: 1;
2155
+ }
2156
+
2157
+ 100% {
2158
+ -webkit-transform: none;
2159
+ transform: none;
2160
+ opacity: 1;
2161
+ }
2162
+ }
2163
+
2164
+ @keyframes lightSpeedIn {
2165
+ 0% {
2166
+ -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
2167
+ -ms-transform: translate3d(100%, 0, 0) skewX(-30deg);
2168
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
2169
+ opacity: 0;
2170
+ }
2171
+
2172
+ 60% {
2173
+ -webkit-transform: skewX(20deg);
2174
+ -ms-transform: skewX(20deg);
2175
+ transform: skewX(20deg);
2176
+ opacity: 1;
2177
+ }
2178
+
2179
+ 80% {
2180
+ -webkit-transform: skewX(-5deg);
2181
+ -ms-transform: skewX(-5deg);
2182
+ transform: skewX(-5deg);
2183
+ opacity: 1;
2184
+ }
2185
+
2186
+ 100% {
2187
+ -webkit-transform: none;
2188
+ -ms-transform: none;
2189
+ transform: none;
2190
+ opacity: 1;
2191
+ }
2192
+ }
2193
+
2194
+ .lightSpeedIn {
2195
+ -webkit-animation-name: lightSpeedIn;
2196
+ animation-name: lightSpeedIn;
2197
+ -webkit-animation-timing-function: ease-out;
2198
+ animation-timing-function: ease-out;
2199
+ }
2200
+
2201
+ @-webkit-keyframes lightSpeedOut {
2202
+ 0% {
2203
+ opacity: 1;
2204
+ }
2205
+
2206
+ 100% {
2207
+ -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
2208
+ transform: translate3d(100%, 0, 0) skewX(30deg);
2209
+ opacity: 0;
2210
+ }
2211
+ }
2212
+
2213
+ @keyframes lightSpeedOut {
2214
+ 0% {
2215
+ opacity: 1;
2216
+ }
2217
+
2218
+ 100% {
2219
+ -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
2220
+ -ms-transform: translate3d(100%, 0, 0) skewX(30deg);
2221
+ transform: translate3d(100%, 0, 0) skewX(30deg);
2222
+ opacity: 0;
2223
+ }
2224
+ }
2225
+
2226
+ .lightSpeedOut {
2227
+ -webkit-animation-name: lightSpeedOut;
2228
+ animation-name: lightSpeedOut;
2229
+ -webkit-animation-timing-function: ease-in;
2230
+ animation-timing-function: ease-in;
2231
+ }
2232
+
2233
+ @-webkit-keyframes rotateIn {
2234
+ 0% {
2235
+ -webkit-transform-origin: center;
2236
+ transform-origin: center;
2237
+ -webkit-transform: rotate3d(0, 0, 1, -200deg);
2238
+ transform: rotate3d(0, 0, 1, -200deg);
2239
+ opacity: 0;
2240
+ }
2241
+
2242
+ 100% {
2243
+ -webkit-transform-origin: center;
2244
+ transform-origin: center;
2245
+ -webkit-transform: none;
2246
+ transform: none;
2247
+ opacity: 1;
2248
+ }
2249
+ }
2250
+
2251
+ @keyframes rotateIn {
2252
+ 0% {
2253
+ -webkit-transform-origin: center;
2254
+ -ms-transform-origin: center;
2255
+ transform-origin: center;
2256
+ -webkit-transform: rotate3d(0, 0, 1, -200deg);
2257
+ -ms-transform: rotate3d(0, 0, 1, -200deg);
2258
+ transform: rotate3d(0, 0, 1, -200deg);
2259
+ opacity: 0;
2260
+ }
2261
+
2262
+ 100% {
2263
+ -webkit-transform-origin: center;
2264
+ -ms-transform-origin: center;
2265
+ transform-origin: center;
2266
+ -webkit-transform: none;
2267
+ -ms-transform: none;
2268
+ transform: none;
2269
+ opacity: 1;
2270
+ }
2271
+ }
2272
+
2273
+ .rotateIn {
2274
+ -webkit-animation-name: rotateIn;
2275
+ animation-name: rotateIn;
2276
+ }
2277
+
2278
+ @-webkit-keyframes rotateInDownLeft {
2279
+ 0% {
2280
+ -webkit-transform-origin: left bottom;
2281
+ transform-origin: left bottom;
2282
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2283
+ transform: rotate3d(0, 0, 1, -45deg);
2284
+ opacity: 0;
2285
+ }
2286
+
2287
+ 100% {
2288
+ -webkit-transform-origin: left bottom;
2289
+ transform-origin: left bottom;
2290
+ -webkit-transform: none;
2291
+ transform: none;
2292
+ opacity: 1;
2293
+ }
2294
+ }
2295
+
2296
+ @keyframes rotateInDownLeft {
2297
+ 0% {
2298
+ -webkit-transform-origin: left bottom;
2299
+ -ms-transform-origin: left bottom;
2300
+ transform-origin: left bottom;
2301
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2302
+ -ms-transform: rotate3d(0, 0, 1, -45deg);
2303
+ transform: rotate3d(0, 0, 1, -45deg);
2304
+ opacity: 0;
2305
+ }
2306
+
2307
+ 100% {
2308
+ -webkit-transform-origin: left bottom;
2309
+ -ms-transform-origin: left bottom;
2310
+ transform-origin: left bottom;
2311
+ -webkit-transform: none;
2312
+ -ms-transform: none;
2313
+ transform: none;
2314
+ opacity: 1;
2315
+ }
2316
+ }
2317
+
2318
+ .rotateInDownLeft {
2319
+ -webkit-animation-name: rotateInDownLeft;
2320
+ animation-name: rotateInDownLeft;
2321
+ }
2322
+
2323
+ @-webkit-keyframes rotateInDownRight {
2324
+ 0% {
2325
+ -webkit-transform-origin: right bottom;
2326
+ transform-origin: right bottom;
2327
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2328
+ transform: rotate3d(0, 0, 1, 45deg);
2329
+ opacity: 0;
2330
+ }
2331
+
2332
+ 100% {
2333
+ -webkit-transform-origin: right bottom;
2334
+ transform-origin: right bottom;
2335
+ -webkit-transform: none;
2336
+ transform: none;
2337
+ opacity: 1;
2338
+ }
2339
+ }
2340
+
2341
+ @keyframes rotateInDownRight {
2342
+ 0% {
2343
+ -webkit-transform-origin: right bottom;
2344
+ -ms-transform-origin: right bottom;
2345
+ transform-origin: right bottom;
2346
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2347
+ -ms-transform: rotate3d(0, 0, 1, 45deg);
2348
+ transform: rotate3d(0, 0, 1, 45deg);
2349
+ opacity: 0;
2350
+ }
2351
+
2352
+ 100% {
2353
+ -webkit-transform-origin: right bottom;
2354
+ -ms-transform-origin: right bottom;
2355
+ transform-origin: right bottom;
2356
+ -webkit-transform: none;
2357
+ -ms-transform: none;
2358
+ transform: none;
2359
+ opacity: 1;
2360
+ }
2361
+ }
2362
+
2363
+ .rotateInDownRight {
2364
+ -webkit-animation-name: rotateInDownRight;
2365
+ animation-name: rotateInDownRight;
2366
+ }
2367
+
2368
+ @-webkit-keyframes rotateInUpLeft {
2369
+ 0% {
2370
+ -webkit-transform-origin: left bottom;
2371
+ transform-origin: left bottom;
2372
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2373
+ transform: rotate3d(0, 0, 1, 45deg);
2374
+ opacity: 0;
2375
+ }
2376
+
2377
+ 100% {
2378
+ -webkit-transform-origin: left bottom;
2379
+ transform-origin: left bottom;
2380
+ -webkit-transform: none;
2381
+ transform: none;
2382
+ opacity: 1;
2383
+ }
2384
+ }
2385
+
2386
+ @keyframes rotateInUpLeft {
2387
+ 0% {
2388
+ -webkit-transform-origin: left bottom;
2389
+ -ms-transform-origin: left bottom;
2390
+ transform-origin: left bottom;
2391
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2392
+ -ms-transform: rotate3d(0, 0, 1, 45deg);
2393
+ transform: rotate3d(0, 0, 1, 45deg);
2394
+ opacity: 0;
2395
+ }
2396
+
2397
+ 100% {
2398
+ -webkit-transform-origin: left bottom;
2399
+ -ms-transform-origin: left bottom;
2400
+ transform-origin: left bottom;
2401
+ -webkit-transform: none;
2402
+ -ms-transform: none;
2403
+ transform: none;
2404
+ opacity: 1;
2405
+ }
2406
+ }
2407
+
2408
+ .rotateInUpLeft {
2409
+ -webkit-animation-name: rotateInUpLeft;
2410
+ animation-name: rotateInUpLeft;
2411
+ }
2412
+
2413
+ @-webkit-keyframes rotateInUpRight {
2414
+ 0% {
2415
+ -webkit-transform-origin: right bottom;
2416
+ transform-origin: right bottom;
2417
+ -webkit-transform: rotate3d(0, 0, 1, -90deg);
2418
+ transform: rotate3d(0, 0, 1, -90deg);
2419
+ opacity: 0;
2420
+ }
2421
+
2422
+ 100% {
2423
+ -webkit-transform-origin: right bottom;
2424
+ transform-origin: right bottom;
2425
+ -webkit-transform: none;
2426
+ transform: none;
2427
+ opacity: 1;
2428
+ }
2429
+ }
2430
+
2431
+ @keyframes rotateInUpRight {
2432
+ 0% {
2433
+ -webkit-transform-origin: right bottom;
2434
+ -ms-transform-origin: right bottom;
2435
+ transform-origin: right bottom;
2436
+ -webkit-transform: rotate3d(0, 0, 1, -90deg);
2437
+ -ms-transform: rotate3d(0, 0, 1, -90deg);
2438
+ transform: rotate3d(0, 0, 1, -90deg);
2439
+ opacity: 0;
2440
+ }
2441
+
2442
+ 100% {
2443
+ -webkit-transform-origin: right bottom;
2444
+ -ms-transform-origin: right bottom;
2445
+ transform-origin: right bottom;
2446
+ -webkit-transform: none;
2447
+ -ms-transform: none;
2448
+ transform: none;
2449
+ opacity: 1;
2450
+ }
2451
+ }
2452
+
2453
+ .rotateInUpRight {
2454
+ -webkit-animation-name: rotateInUpRight;
2455
+ animation-name: rotateInUpRight;
2456
+ }
2457
+
2458
+ @-webkit-keyframes rotateOut {
2459
+ 0% {
2460
+ -webkit-transform-origin: center;
2461
+ transform-origin: center;
2462
+ opacity: 1;
2463
+ }
2464
+
2465
+ 100% {
2466
+ -webkit-transform-origin: center;
2467
+ transform-origin: center;
2468
+ -webkit-transform: rotate3d(0, 0, 1, 200deg);
2469
+ transform: rotate3d(0, 0, 1, 200deg);
2470
+ opacity: 0;
2471
+ }
2472
+ }
2473
+
2474
+ @keyframes rotateOut {
2475
+ 0% {
2476
+ -webkit-transform-origin: center;
2477
+ -ms-transform-origin: center;
2478
+ transform-origin: center;
2479
+ opacity: 1;
2480
+ }
2481
+
2482
+ 100% {
2483
+ -webkit-transform-origin: center;
2484
+ -ms-transform-origin: center;
2485
+ transform-origin: center;
2486
+ -webkit-transform: rotate3d(0, 0, 1, 200deg);
2487
+ -ms-transform: rotate3d(0, 0, 1, 200deg);
2488
+ transform: rotate3d(0, 0, 1, 200deg);
2489
+ opacity: 0;
2490
+ }
2491
+ }
2492
+
2493
+ .rotateOut {
2494
+ -webkit-animation-name: rotateOut;
2495
+ animation-name: rotateOut;
2496
+ }
2497
+
2498
+ @-webkit-keyframes rotateOutDownLeft {
2499
+ 0% {
2500
+ -webkit-transform-origin: left bottom;
2501
+ transform-origin: left bottom;
2502
+ opacity: 1;
2503
+ }
2504
+
2505
+ 100% {
2506
+ -webkit-transform-origin: left bottom;
2507
+ transform-origin: left bottom;
2508
+ -webkit-transform: rotate(0, 0, 1, 45deg);
2509
+ transform: rotate(0, 0, 1, 45deg);
2510
+ opacity: 0;
2511
+ }
2512
+ }
2513
+
2514
+ @keyframes rotateOutDownLeft {
2515
+ 0% {
2516
+ -webkit-transform-origin: left bottom;
2517
+ -ms-transform-origin: left bottom;
2518
+ transform-origin: left bottom;
2519
+ opacity: 1;
2520
+ }
2521
+
2522
+ 100% {
2523
+ -webkit-transform-origin: left bottom;
2524
+ -ms-transform-origin: left bottom;
2525
+ transform-origin: left bottom;
2526
+ -webkit-transform: rotate(0, 0, 1, 45deg);
2527
+ -ms-transform: rotate(0, 0, 1, 45deg);
2528
+ transform: rotate(0, 0, 1, 45deg);
2529
+ opacity: 0;
2530
+ }
2531
+ }
2532
+
2533
+ .rotateOutDownLeft {
2534
+ -webkit-animation-name: rotateOutDownLeft;
2535
+ animation-name: rotateOutDownLeft;
2536
+ }
2537
+
2538
+ @-webkit-keyframes rotateOutDownRight {
2539
+ 0% {
2540
+ -webkit-transform-origin: right bottom;
2541
+ transform-origin: right bottom;
2542
+ opacity: 1;
2543
+ }
2544
+
2545
+ 100% {
2546
+ -webkit-transform-origin: right bottom;
2547
+ transform-origin: right bottom;
2548
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2549
+ transform: rotate3d(0, 0, 1, -45deg);
2550
+ opacity: 0;
2551
+ }
2552
+ }
2553
+
2554
+ @keyframes rotateOutDownRight {
2555
+ 0% {
2556
+ -webkit-transform-origin: right bottom;
2557
+ -ms-transform-origin: right bottom;
2558
+ transform-origin: right bottom;
2559
+ opacity: 1;
2560
+ }
2561
+
2562
+ 100% {
2563
+ -webkit-transform-origin: right bottom;
2564
+ -ms-transform-origin: right bottom;
2565
+ transform-origin: right bottom;
2566
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2567
+ -ms-transform: rotate3d(0, 0, 1, -45deg);
2568
+ transform: rotate3d(0, 0, 1, -45deg);
2569
+ opacity: 0;
2570
+ }
2571
+ }
2572
+
2573
+ .rotateOutDownRight {
2574
+ -webkit-animation-name: rotateOutDownRight;
2575
+ animation-name: rotateOutDownRight;
2576
+ }
2577
+
2578
+ @-webkit-keyframes rotateOutUpLeft {
2579
+ 0% {
2580
+ -webkit-transform-origin: left bottom;
2581
+ transform-origin: left bottom;
2582
+ opacity: 1;
2583
+ }
2584
+
2585
+ 100% {
2586
+ -webkit-transform-origin: left bottom;
2587
+ transform-origin: left bottom;
2588
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2589
+ transform: rotate3d(0, 0, 1, -45deg);
2590
+ opacity: 0;
2591
+ }
2592
+ }
2593
+
2594
+ @keyframes rotateOutUpLeft {
2595
+ 0% {
2596
+ -webkit-transform-origin: left bottom;
2597
+ -ms-transform-origin: left bottom;
2598
+ transform-origin: left bottom;
2599
+ opacity: 1;
2600
+ }
2601
+
2602
+ 100% {
2603
+ -webkit-transform-origin: left bottom;
2604
+ -ms-transform-origin: left bottom;
2605
+ transform-origin: left bottom;
2606
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2607
+ -ms-transform: rotate3d(0, 0, 1, -45deg);
2608
+ transform: rotate3d(0, 0, 1, -45deg);
2609
+ opacity: 0;
2610
+ }
2611
+ }
2612
+
2613
+ .rotateOutUpLeft {
2614
+ -webkit-animation-name: rotateOutUpLeft;
2615
+ animation-name: rotateOutUpLeft;
2616
+ }
2617
+
2618
+ @-webkit-keyframes rotateOutUpRight {
2619
+ 0% {
2620
+ -webkit-transform-origin: right bottom;
2621
+ transform-origin: right bottom;
2622
+ opacity: 1;
2623
+ }
2624
+
2625
+ 100% {
2626
+ -webkit-transform-origin: right bottom;
2627
+ transform-origin: right bottom;
2628
+ -webkit-transform: rotate3d(0, 0, 1, 90deg);
2629
+ transform: rotate3d(0, 0, 1, 90deg);
2630
+ opacity: 0;
2631
+ }
2632
+ }
2633
+
2634
+ @keyframes rotateOutUpRight {
2635
+ 0% {
2636
+ -webkit-transform-origin: right bottom;
2637
+ -ms-transform-origin: right bottom;
2638
+ transform-origin: right bottom;
2639
+ opacity: 1;
2640
+ }
2641
+
2642
+ 100% {
2643
+ -webkit-transform-origin: right bottom;
2644
+ -ms-transform-origin: right bottom;
2645
+ transform-origin: right bottom;
2646
+ -webkit-transform: rotate3d(0, 0, 1, 90deg);
2647
+ -ms-transform: rotate3d(0, 0, 1, 90deg);
2648
+ transform: rotate3d(0, 0, 1, 90deg);
2649
+ opacity: 0;
2650
+ }
2651
+ }
2652
+
2653
+ .rotateOutUpRight {
2654
+ -webkit-animation-name: rotateOutUpRight;
2655
+ animation-name: rotateOutUpRight;
2656
+ }
2657
+
2658
+ @-webkit-keyframes hinge {
2659
+ 0% {
2660
+ -webkit-transform-origin: top left;
2661
+ transform-origin: top left;
2662
+ -webkit-animation-timing-function: ease-in-out;
2663
+ animation-timing-function: ease-in-out;
2664
+ }
2665
+
2666
+ 20%, 60% {
2667
+ -webkit-transform: rotate3d(0, 0, 1, 80deg);
2668
+ transform: rotate3d(0, 0, 1, 80deg);
2669
+ -webkit-transform-origin: top left;
2670
+ transform-origin: top left;
2671
+ -webkit-animation-timing-function: ease-in-out;
2672
+ animation-timing-function: ease-in-out;
2673
+ }
2674
+
2675
+ 40%, 80% {
2676
+ -webkit-transform: rotate3d(0, 0, 1, 60deg);
2677
+ transform: rotate3d(0, 0, 1, 60deg);
2678
+ -webkit-transform-origin: top left;
2679
+ transform-origin: top left;
2680
+ -webkit-animation-timing-function: ease-in-out;
2681
+ animation-timing-function: ease-in-out;
2682
+ opacity: 1;
2683
+ }
2684
+
2685
+ 100% {
2686
+ -webkit-transform: translate3d(0, 700px, 0);
2687
+ transform: translate3d(0, 700px, 0);
2688
+ opacity: 0;
2689
+ }
2690
+ }
2691
+
2692
+ @keyframes hinge {
2693
+ 0% {
2694
+ -webkit-transform-origin: top left;
2695
+ -ms-transform-origin: top left;
2696
+ transform-origin: top left;
2697
+ -webkit-animation-timing-function: ease-in-out;
2698
+ animation-timing-function: ease-in-out;
2699
+ }
2700
+
2701
+ 20%, 60% {
2702
+ -webkit-transform: rotate3d(0, 0, 1, 80deg);
2703
+ -ms-transform: rotate3d(0, 0, 1, 80deg);
2704
+ transform: rotate3d(0, 0, 1, 80deg);
2705
+ -webkit-transform-origin: top left;
2706
+ -ms-transform-origin: top left;
2707
+ transform-origin: top left;
2708
+ -webkit-animation-timing-function: ease-in-out;
2709
+ animation-timing-function: ease-in-out;
2710
+ }
2711
+
2712
+ 40%, 80% {
2713
+ -webkit-transform: rotate3d(0, 0, 1, 60deg);
2714
+ -ms-transform: rotate3d(0, 0, 1, 60deg);
2715
+ transform: rotate3d(0, 0, 1, 60deg);
2716
+ -webkit-transform-origin: top left;
2717
+ -ms-transform-origin: top left;
2718
+ transform-origin: top left;
2719
+ -webkit-animation-timing-function: ease-in-out;
2720
+ animation-timing-function: ease-in-out;
2721
+ opacity: 1;
2722
+ }
2723
+
2724
+ 100% {
2725
+ -webkit-transform: translate3d(0, 700px, 0);
2726
+ -ms-transform: translate3d(0, 700px, 0);
2727
+ transform: translate3d(0, 700px, 0);
2728
+ opacity: 0;
2729
+ }
2730
+ }
2731
+
2732
+ .hinge {
2733
+ -webkit-animation-name: hinge;
2734
+ animation-name: hinge;
2735
+ }
2736
+
2737
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
2738
+
2739
+ @-webkit-keyframes rollIn {
2740
+ 0% {
2741
+ opacity: 0;
2742
+ -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2743
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2744
+ }
2745
+
2746
+ 100% {
2747
+ opacity: 1;
2748
+ -webkit-transform: none;
2749
+ transform: none;
2750
+ }
2751
+ }
2752
+
2753
+ @keyframes rollIn {
2754
+ 0% {
2755
+ opacity: 0;
2756
+ -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2757
+ -ms-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2758
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2759
+ }
2760
+
2761
+ 100% {
2762
+ opacity: 1;
2763
+ -webkit-transform: none;
2764
+ -ms-transform: none;
2765
+ transform: none;
2766
+ }
2767
+ }
2768
+
2769
+ .rollIn {
2770
+ -webkit-animation-name: rollIn;
2771
+ animation-name: rollIn;
2772
+ }
2773
+
2774
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
2775
+
2776
+ @-webkit-keyframes rollOut {
2777
+ 0% {
2778
+ opacity: 1;
2779
+ }
2780
+
2781
+ 100% {
2782
+ opacity: 0;
2783
+ -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2784
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2785
+ }
2786
+ }
2787
+
2788
+ @keyframes rollOut {
2789
+ 0% {
2790
+ opacity: 1;
2791
+ }
2792
+
2793
+ 100% {
2794
+ opacity: 0;
2795
+ -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2796
+ -ms-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2797
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2798
+ }
2799
+ }
2800
+
2801
+ .rollOut {
2802
+ -webkit-animation-name: rollOut;
2803
+ animation-name: rollOut;
2804
+ }
2805
+
2806
+ @-webkit-keyframes zoomIn {
2807
+ 0% {
2808
+ opacity: 0;
2809
+ -webkit-transform: scale3d(.3, .3, .3);
2810
+ transform: scale3d(.3, .3, .3);
2811
+ }
2812
+
2813
+ 50% {
2814
+ opacity: 1;
2815
+ }
2816
+ }
2817
+
2818
+ @keyframes zoomIn {
2819
+ 0% {
2820
+ opacity: 0;
2821
+ -webkit-transform: scale3d(.3, .3, .3);
2822
+ -ms-transform: scale3d(.3, .3, .3);
2823
+ transform: scale3d(.3, .3, .3);
2824
+ }
2825
+
2826
+ 50% {
2827
+ opacity: 1;
2828
+ }
2829
+ }
2830
+
2831
+ .zoomIn {
2832
+ -webkit-animation-name: zoomIn;
2833
+ animation-name: zoomIn;
2834
+ }
2835
+
2836
+ @-webkit-keyframes zoomInDown {
2837
+ 0% {
2838
+ opacity: 0;
2839
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2840
+ transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2841
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2842
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2843
+ }
2844
+
2845
+ 60% {
2846
+ opacity: 1;
2847
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2848
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2849
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2850
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2851
+ }
2852
+ }
2853
+
2854
+ @keyframes zoomInDown {
2855
+ 0% {
2856
+ opacity: 0;
2857
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2858
+ -ms-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2859
+ transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2860
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2861
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2862
+ }
2863
+
2864
+ 60% {
2865
+ opacity: 1;
2866
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2867
+ -ms-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2868
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2869
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2870
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2871
+ }
2872
+ }
2873
+
2874
+ .zoomInDown {
2875
+ -webkit-animation-name: zoomInDown;
2876
+ animation-name: zoomInDown;
2877
+ }
2878
+
2879
+ @-webkit-keyframes zoomInLeft {
2880
+ 0% {
2881
+ opacity: 0;
2882
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2883
+ transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2884
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2885
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2886
+ }
2887
+
2888
+ 60% {
2889
+ opacity: 1;
2890
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2891
+ transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2892
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2893
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2894
+ }
2895
+ }
2896
+
2897
+ @keyframes zoomInLeft {
2898
+ 0% {
2899
+ opacity: 0;
2900
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2901
+ -ms-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2902
+ transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2903
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2904
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2905
+ }
2906
+
2907
+ 60% {
2908
+ opacity: 1;
2909
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2910
+ -ms-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2911
+ transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2912
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2913
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2914
+ }
2915
+ }
2916
+
2917
+ .zoomInLeft {
2918
+ -webkit-animation-name: zoomInLeft;
2919
+ animation-name: zoomInLeft;
2920
+ }
2921
+
2922
+ @-webkit-keyframes zoomInRight {
2923
+ 0% {
2924
+ opacity: 0;
2925
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2926
+ transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2927
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2928
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2929
+ }
2930
+
2931
+ 60% {
2932
+ opacity: 1;
2933
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2934
+ transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2935
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2936
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2937
+ }
2938
+ }
2939
+
2940
+ @keyframes zoomInRight {
2941
+ 0% {
2942
+ opacity: 0;
2943
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2944
+ -ms-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2945
+ transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2946
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2947
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2948
+ }
2949
+
2950
+ 60% {
2951
+ opacity: 1;
2952
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2953
+ -ms-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2954
+ transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2955
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2956
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2957
+ }
2958
+ }
2959
+
2960
+ .zoomInRight {
2961
+ -webkit-animation-name: zoomInRight;
2962
+ animation-name: zoomInRight;
2963
+ }
2964
+
2965
+ @-webkit-keyframes zoomInUp {
2966
+ 0% {
2967
+ opacity: 0;
2968
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2969
+ transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2970
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2971
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2972
+ }
2973
+
2974
+ 60% {
2975
+ opacity: 1;
2976
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2977
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2978
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2979
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2980
+ }
2981
+ }
2982
+
2983
+ @keyframes zoomInUp {
2984
+ 0% {
2985
+ opacity: 0;
2986
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2987
+ -ms-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2988
+ transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2989
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2990
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2991
+ }
2992
+
2993
+ 60% {
2994
+ opacity: 1;
2995
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2996
+ -ms-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2997
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2998
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2999
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3000
+ }
3001
+ }
3002
+
3003
+ .zoomInUp {
3004
+ -webkit-animation-name: zoomInUp;
3005
+ animation-name: zoomInUp;
3006
+ }
3007
+
3008
+ @-webkit-keyframes zoomOut {
3009
+ 0% {
3010
+ opacity: 1;
3011
+ }
3012
+
3013
+ 50% {
3014
+ opacity: 0;
3015
+ -webkit-transform: scale3d(.3, .3, .3);
3016
+ transform: scale3d(.3, .3, .3);
3017
+ }
3018
+
3019
+ 100% {
3020
+ opacity: 0;
3021
+ }
3022
+ }
3023
+
3024
+ @keyframes zoomOut {
3025
+ 0% {
3026
+ opacity: 1;
3027
+ }
3028
+
3029
+ 50% {
3030
+ opacity: 0;
3031
+ -webkit-transform: scale3d(.3, .3, .3);
3032
+ -ms-transform: scale3d(.3, .3, .3);
3033
+ transform: scale3d(.3, .3, .3);
3034
+ }
3035
+
3036
+ 100% {
3037
+ opacity: 0;
3038
+ }
3039
+ }
3040
+
3041
+ .zoomOut {
3042
+ -webkit-animation-name: zoomOut;
3043
+ animation-name: zoomOut;
3044
+ }
3045
+
3046
+ @-webkit-keyframes zoomOutDown {
3047
+ 40% {
3048
+ opacity: 1;
3049
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
3050
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
3051
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3052
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3053
+ }
3054
+
3055
+ 100% {
3056
+ opacity: 0;
3057
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
3058
+ transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
3059
+ -webkit-transform-origin: center bottom;
3060
+ transform-origin: center bottom;
3061
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3062
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3063
+ }
3064
+ }
3065
+
3066
+ @keyframes zoomOutDown {
3067
+ 40% {
3068
+ opacity: 1;
3069
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
3070
+ -ms-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
3071
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
3072
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3073
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3074
+ }
3075
+
3076
+ 100% {
3077
+ opacity: 0;
3078
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
3079
+ -ms-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
3080
+ transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
3081
+ -webkit-transform-origin: center bottom;
3082
+ -ms-transform-origin: center bottom;
3083
+ transform-origin: center bottom;
3084
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3085
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3086
+ }
3087
+ }
3088
+
3089
+ .zoomOutDown {
3090
+ -webkit-animation-name: zoomOutDown;
3091
+ animation-name: zoomOutDown;
3092
+ }
3093
+
3094
+ @-webkit-keyframes zoomOutLeft {
3095
+ 40% {
3096
+ opacity: 1;
3097
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
3098
+ transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
3099
+ }
3100
+
3101
+ 100% {
3102
+ opacity: 0;
3103
+ -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
3104
+ transform: scale(.1) translate3d(-2000px, 0, 0);
3105
+ -webkit-transform-origin: left center;
3106
+ transform-origin: left center;
3107
+ }
3108
+ }
3109
+
3110
+ @keyframes zoomOutLeft {
3111
+ 40% {
3112
+ opacity: 1;
3113
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
3114
+ -ms-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
3115
+ transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
3116
+ }
3117
+
3118
+ 100% {
3119
+ opacity: 0;
3120
+ -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
3121
+ -ms-transform: scale(.1) translate3d(-2000px, 0, 0);
3122
+ transform: scale(.1) translate3d(-2000px, 0, 0);
3123
+ -webkit-transform-origin: left center;
3124
+ -ms-transform-origin: left center;
3125
+ transform-origin: left center;
3126
+ }
3127
+ }
3128
+
3129
+ .zoomOutLeft {
3130
+ -webkit-animation-name: zoomOutLeft;
3131
+ animation-name: zoomOutLeft;
3132
+ }
3133
+
3134
+ @-webkit-keyframes zoomOutRight {
3135
+ 40% {
3136
+ opacity: 1;
3137
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
3138
+ transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
3139
+ }
3140
+
3141
+ 100% {
3142
+ opacity: 0;
3143
+ -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
3144
+ transform: scale(.1) translate3d(2000px, 0, 0);
3145
+ -webkit-transform-origin: right center;
3146
+ transform-origin: right center;
3147
+ }
3148
+ }
3149
+
3150
+ @keyframes zoomOutRight {
3151
+ 40% {
3152
+ opacity: 1;
3153
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
3154
+ -ms-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
3155
+ transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
3156
+ }
3157
+
3158
+ 100% {
3159
+ opacity: 0;
3160
+ -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
3161
+ -ms-transform: scale(.1) translate3d(2000px, 0, 0);
3162
+ transform: scale(.1) translate3d(2000px, 0, 0);
3163
+ -webkit-transform-origin: right center;
3164
+ -ms-transform-origin: right center;
3165
+ transform-origin: right center;
3166
+ }
3167
+ }
3168
+
3169
+ .zoomOutRight {
3170
+ -webkit-animation-name: zoomOutRight;
3171
+ animation-name: zoomOutRight;
3172
+ }
3173
+
3174
+ @-webkit-keyframes zoomOutUp {
3175
+ 40% {
3176
+ opacity: 1;
3177
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
3178
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
3179
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3180
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3181
+ }
3182
+
3183
+ 100% {
3184
+ opacity: 0;
3185
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
3186
+ transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
3187
+ -webkit-transform-origin: center bottom;
3188
+ transform-origin: center bottom;
3189
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3190
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3191
+ }
3192
+ }
3193
+
3194
+ @keyframes zoomOutUp {
3195
+ 40% {
3196
+ opacity: 1;
3197
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
3198
+ -ms-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
3199
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
3200
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3201
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
3202
+ }
3203
+
3204
+ 100% {
3205
+ opacity: 0;
3206
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
3207
+ -ms-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
3208
+ transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
3209
+ -webkit-transform-origin: center bottom;
3210
+ -ms-transform-origin: center bottom;
3211
+ transform-origin: center bottom;
3212
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3213
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
3214
+ }
3215
+ }
3216
+
3217
+ .zoomOutUp {
3218
+ -webkit-animation-name: zoomOutUp;
3219
+ animation-name: zoomOutUp;
3220
+ }
assets/css/style.css ADDED
@@ -0,0 +1,466 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*-----------------------------------*\
2
+ $RESET
3
+ \*-----------------------------------*/
4
+
5
+ *, :before, :after {
6
+ margin: 0;
7
+ padding: 0;
8
+ position: relative;
9
+ -webkit-box-sizing: border-box;
10
+ -moz-box-sizing: border-box;
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ input, select, button, textarea {
15
+ -webkit-appearance: none;
16
+ -moz-appearance: none;
17
+ appearance: none;
18
+
19
+ font: inherit;
20
+ font-size: 16px !important;
21
+ color: inherit;
22
+ }
23
+
24
+ /*-----------------------------------*\
25
+ $OBJECTS
26
+ \*-----------------------------------*/
27
+
28
+ .butt, .input {
29
+ padding: .75rem;
30
+ margin: .375rem;
31
+ background-color: transparent;
32
+ }
33
+
34
+ .butt:focus, .input:focus {
35
+ outline: none;
36
+ }
37
+
38
+ .butt {
39
+ border: 0;
40
+ line-height: 1.375;
41
+ padding-left: 1.5rem;
42
+ padding-right: 1.5rem;
43
+
44
+ font-weight: 700;
45
+
46
+ color: #f35626;
47
+
48
+ cursor: pointer;
49
+ -webkit-animation: hue 60s infinite linear;
50
+ }
51
+
52
+ .button-animate-it-green{
53
+ padding: 15px 20px;
54
+ background: #48b500;
55
+ border:0;
56
+ box-shadow: none;
57
+ color: #ffffff;
58
+ -webkit-transition: all 0.3s ease-out;
59
+ -moz-transition: all 0.3s ease-out;
60
+ -o-transition: all 0.3s ease-out;
61
+ transition: all 0.3s ease-out;
62
+ }
63
+
64
+ .button-animate-it-green:hover {
65
+ background: none repeat scroll 0% 0% rgb(86, 215, 0);
66
+ }
67
+
68
+ .button-animate-it-cancel{
69
+ padding: 15px 20px;
70
+ background: #696969;
71
+ border:0;
72
+ box-shadow: none;
73
+ color: #ffffff;
74
+ -webkit-transition: all 0.3s ease-out;
75
+ -moz-transition: all 0.3s ease-out;
76
+ -o-transition: all 0.3s ease-out;
77
+ transition: all 0.3s ease-out;
78
+ }
79
+
80
+ .button-animate-it-cancel:hover {
81
+ background: #969696;
82
+ }
83
+
84
+ .butt--primary {
85
+ background-color: #f35626;
86
+ color: #fff;
87
+ }
88
+
89
+ .input {
90
+ border: 1px solid #c0c8c9;
91
+ }
92
+
93
+ .input--dropdown {
94
+ background-image: url("images/ddown.png");
95
+ background-image: url("images/ddown.svg?3"), none;
96
+ background-repeat: no-repeat;
97
+ background-size: 1.5rem 1rem;
98
+ background-position: right center;
99
+ }
100
+
101
+ /*-----------------------------------*\
102
+ $TYPOGRAPHY
103
+ \*-----------------------------------*/
104
+
105
+ h1, .alpha {
106
+ margin-bottom: 1.5rem;
107
+
108
+ font-size: 3rem;
109
+ font-weight: 100;
110
+ line-height: 1;
111
+ letter-spacing: -.05em;
112
+ }
113
+
114
+ h2, .beta {
115
+ margin-bottom: .75rem;
116
+
117
+ font-weight: 400;
118
+ font-size: 1.5rem;
119
+ line-height: 1;
120
+ }
121
+
122
+ @media (min-width: 650px) {
123
+ .mega {
124
+ font-size: 6rem;
125
+ line-height: 1;
126
+ }
127
+ }
128
+
129
+ .subhead, .meta {
130
+ color: #7b8993;
131
+ }
132
+
133
+ .promo {
134
+ text-align: center;
135
+ }
136
+
137
+ p, hr, form {
138
+ margin-bottom: 1.5rem;
139
+ }
140
+
141
+ hr {
142
+ border: none;
143
+ margin-top: -1px;
144
+ height: 1px;
145
+ background-color: #c0c8c9;
146
+ background-image: -webkit-linear-gradient(0deg, #fff, #c0c8c9, #fff);
147
+ }
148
+
149
+ a {
150
+ color: inherit;
151
+ text-decoration: underline;
152
+ -webkit-animation: hue 60s infinite linear;
153
+ }
154
+
155
+ a:hover {
156
+ color: #f35626;
157
+ }
158
+
159
+ /*-----------------------------------*\
160
+ $LAYOUT
161
+ \*-----------------------------------*/
162
+
163
+ .wrap {
164
+ max-width: 38rem;
165
+ margin: 0 auto;
166
+ }
167
+
168
+ .island {
169
+ padding: 1.5rem;
170
+ }
171
+
172
+ .isle {
173
+ padding: .75rem;
174
+ }
175
+
176
+ .spit {
177
+ padding: .375rem;
178
+ }
179
+
180
+ /*-----------------------------------*\
181
+ $BASE
182
+ \*-----------------------------------*/
183
+
184
+ html {
185
+ font: 100%/1.5 "Roboto", Verdana, sans-serif !important;
186
+ color: #3d464d;
187
+ background-color: #fff;
188
+ -webkit-font-smoothing: antialiased;
189
+ width: 100%;
190
+
191
+ overflow: hidden-x;
192
+
193
+ /* Centering in The Unknown */
194
+ text-align: center;
195
+ }
196
+
197
+ @media (min-width: 650px) {
198
+ html {
199
+ height: 100%;
200
+ }
201
+
202
+ html:before {
203
+ content: '';
204
+ display: inline-block;
205
+ height: 100%;
206
+ vertical-align: middle;
207
+ margin-right: -0.25em;
208
+ }
209
+
210
+ body {
211
+ display: inline-block;
212
+ vertical-align: middle;
213
+ max-width: 38rem;
214
+ }
215
+ }
216
+
217
+ /*-----------------------------------*\
218
+ $HEADER
219
+ \*-----------------------------------*/
220
+
221
+ .site__header {
222
+ -webkit-animation: bounceInUp 1s;
223
+ }
224
+
225
+ .site__title {
226
+ color: #f35626;
227
+ background-image: -webkit-linear-gradient(92deg,#f35626,#feab3a);
228
+ -webkit-background-clip: text;
229
+ -webkit-text-fill-color: transparent;
230
+ -webkit-animation: hue 60s infinite linear;
231
+ }
232
+
233
+ .site__content {
234
+ -webkit-animation: bounceInUp 1s;
235
+ -webkit-animation-delay: .1s;
236
+ }
237
+
238
+ .site__content form {
239
+ -webkit-animation: bounceInUp 1s;
240
+ -webkit-animation-delay: .1s;
241
+ }
242
+
243
+ .button-animate-it{
244
+ font-family: 'Glegoo','Helvetica',arial,serif !important;
245
+ padding: 15px 20px;
246
+ background: #ff2e01;
247
+ border:0;
248
+ box-shadow: none;
249
+ color: #ffffff;
250
+ -webkit-transition: all 0.3s ease-out;
251
+ -moz-transition: all 0.3s ease-out;
252
+ -o-transition: all 0.3s ease-out;
253
+ transition: all 0.3s ease-out;
254
+ }
255
+
256
+ .button-animate-it:hover{
257
+ background: #ff6341;
258
+ }
259
+
260
+ .animateit-icon{
261
+ background: url("../images/badge.png") no-repeat scroll center center;
262
+ max-width: 172px;
263
+ height: 172px;
264
+ display: block;
265
+ margin-left: auto;
266
+ margin-right: auto;
267
+ }
268
+
269
+ /*-----------------------------------*\
270
+ $ANIMATIONS
271
+ \*-----------------------------------*/
272
+
273
+ @-webkit-keyframes hue {
274
+ from {
275
+ -webkit-filter: hue-rotate(0deg);
276
+ }
277
+
278
+ to {
279
+ -webkit-filter: hue-rotate(-360deg);
280
+ }
281
+ }
282
+
283
+ .bootstrap-switch {
284
+ display: inline-block;
285
+ cursor: pointer;
286
+ border-radius: 4px;
287
+ border: 1px solid;
288
+ border-color: #cccccc;
289
+ position: relative;
290
+ text-align: left;
291
+ overflow: hidden;
292
+ line-height: 8px;
293
+ -webkit-user-select: none;
294
+ -moz-user-select: none;
295
+ -ms-user-select: none;
296
+ user-select: none;
297
+ vertical-align: middle;
298
+ min-width: 100px;
299
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
300
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
301
+ margin-left: 5px;
302
+ }
303
+ .bootstrap-switch.bootstrap-switch-mini {
304
+ min-width: 71px;
305
+ }
306
+
307
+ .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,
308
+ .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,
309
+ .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
310
+ padding-bottom: 4px;
311
+ padding-top: 4px;
312
+ font-size: 10px;
313
+ line-height: 9px;
314
+ }
315
+ .bootstrap-switch.bootstrap-switch-small {
316
+ min-width: 79px;
317
+ }
318
+ .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,
319
+ .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,
320
+ .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label {
321
+ padding-bottom: 3px;
322
+ padding-top: 3px;
323
+ font-size: 12px;
324
+ line-height: 18px;
325
+ }
326
+ .bootstrap-switch.bootstrap-switch-large {
327
+ min-width: 120px;
328
+ }
329
+ .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,
330
+ .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,
331
+ .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label {
332
+ padding-bottom: 9px;
333
+ padding-top: 9px;
334
+ font-size: 16px;
335
+ line-height: normal;
336
+ }
337
+ .bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
338
+ -webkit-transition: margin-left 0.5s;
339
+ transition: margin-left 0.5s;
340
+ }
341
+ .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container {
342
+ margin-left: 0%;
343
+ }
344
+ .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label {
345
+ border-bottom-right-radius: 3px;
346
+ border-top-right-radius: 3px;
347
+ }
348
+ .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
349
+ margin-left: -50%;
350
+ }
351
+ .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label {
352
+ border-bottom-left-radius: 3px;
353
+ border-top-left-radius: 3px;
354
+ }
355
+ .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-container {
356
+ margin-left: -25%;
357
+ }
358
+ .bootstrap-switch.bootstrap-switch-disabled,
359
+ .bootstrap-switch.bootstrap-switch-readonly,
360
+ .bootstrap-switch.bootstrap-switch-indeterminate {
361
+ opacity: 0.5;
362
+ filter: alpha(opacity=50);
363
+ cursor: default !important;
364
+ }
365
+ .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
366
+ .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
367
+ .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
368
+ .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
369
+ .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
370
+ .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
371
+ .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,
372
+ .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,
373
+ .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label {
374
+ cursor: default !important;
375
+ }
376
+ .bootstrap-switch.bootstrap-switch-focused {
377
+
378
+ }
379
+ .bootstrap-switch .bootstrap-switch-container {
380
+ display: inline-block;
381
+ width: 150%;
382
+ top: 0;
383
+ border-radius: 4px;
384
+ -webkit-transform: translate3d(0, 0, 0);
385
+ transform: translate3d(0, 0, 0);
386
+ }
387
+ .bootstrap-switch .bootstrap-switch-handle-on,
388
+ .bootstrap-switch .bootstrap-switch-handle-off,
389
+ .bootstrap-switch .bootstrap-switch-label {
390
+ -webkit-box-sizing: border-box;
391
+ -moz-box-sizing: border-box;
392
+ box-sizing: border-box;
393
+ cursor: pointer;
394
+ display: inline-block !important;
395
+ height: 100%;
396
+ padding-bottom: 4px;
397
+ padding-top: 4px;
398
+ font-size: 14px;
399
+ line-height: 20px;
400
+ }
401
+ .bootstrap-switch .bootstrap-switch-handle-on,
402
+ .bootstrap-switch .bootstrap-switch-handle-off {
403
+ text-align: center;
404
+ z-index: 1;
405
+ width: 33.333333333%;
406
+ }
407
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
408
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
409
+ color: #fff;
410
+ background: #ff2e01;
411
+ }
412
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,
413
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info {
414
+ color: #fff;
415
+ background: #5bc0de;
416
+ }
417
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
418
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
419
+ color: #fff;
420
+ background: #5cb85c;
421
+ }
422
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,
423
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning {
424
+ background: #f0ad4e;
425
+ color: #fff;
426
+ }
427
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,
428
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger {
429
+ color: #fff;
430
+ background: #d9534f;
431
+ }
432
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
433
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
434
+ color: #000;
435
+ background: #eeeeee;
436
+ }
437
+ .bootstrap-switch .bootstrap-switch-handle-on {
438
+ border-bottom-left-radius: 3px;
439
+ border-top-left-radius: 3px;
440
+ }
441
+ .bootstrap-switch .bootstrap-switch-handle-off {
442
+ border-bottom-right-radius: 3px;
443
+ border-top-right-radius: 3px;
444
+ }
445
+ .bootstrap-switch .bootstrap-switch-label {
446
+ text-align: center;
447
+ margin-top: -1px;
448
+ margin-bottom: -1px;
449
+ z-index: 100;
450
+ width: 33.333333333%;
451
+ color: #333333;
452
+ background: #ffffff;
453
+ }
454
+ .bootstrap-switch input[type='radio'],
455
+ .bootstrap-switch input[type='checkbox'] {
456
+ position: absolute !important;
457
+ top: 0;
458
+ left: 0;
459
+ opacity: 0;
460
+ filter: alpha(opacity=0);
461
+ z-index: -1;
462
+ }
463
+ .bootstrap-switch input[type='radio'].form-control,
464
+ .bootstrap-switch input[type='checkbox'].form-control {
465
+ height: auto;
466
+ }
assets/helper/Mobile_Detect.php ADDED
@@ -0,0 +1,1248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Mobile Detect Library
4
+ * =====================
5
+ *
6
+ * Motto: "Every business should have a mobile detection script to detect mobile readers"
7
+ *
8
+ * Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets).
9
+ * It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
10
+ *
11
+ * @author Current authors: Serban Ghita <serbanghita@gmail.com>, Nick Ilyin <nick.ilyin@gmail.com>
12
+ * Original author: Victor Stanciu <vic.stanciu@gmail.com>
13
+ *
14
+ * @license Code and contributions have 'MIT License'
15
+ * More details: https://github.com/serbanghita/Mobile-Detect/blob/master/LICENSE.txt
16
+ *
17
+ * @link Homepage: http://mobiledetect.net
18
+ * GitHub Repo: https://github.com/serbanghita/Mobile-Detect
19
+ * Google Code: http://code.google.com/p/php-mobile-detect/
20
+ * README: https://github.com/serbanghita/Mobile-Detect/blob/master/README.md
21
+ * HOWTO: https://github.com/serbanghita/Mobile-Detect/wiki/Code-examples
22
+ *
23
+ * @version 2.8.3
24
+ */
25
+
26
+ class Mobile_Detect
27
+ {
28
+ /**
29
+ * Mobile detection type.
30
+ *
31
+ * @deprecated since version 2.6.9
32
+ */
33
+ const DETECTION_TYPE_MOBILE = 'mobile';
34
+
35
+ /**
36
+ * Extended detection type.
37
+ *
38
+ * @deprecated since version 2.6.9
39
+ */
40
+ const DETECTION_TYPE_EXTENDED = 'extended';
41
+
42
+ /**
43
+ * A frequently used regular expression to extract version #s.
44
+ *
45
+ * @deprecated since version 2.6.9
46
+ */
47
+ const VER = '([\w._\+]+)';
48
+
49
+ /**
50
+ * Top-level device.
51
+ */
52
+ const MOBILE_GRADE_A = 'A';
53
+
54
+ /**
55
+ * Mid-level device.
56
+ */
57
+ const MOBILE_GRADE_B = 'B';
58
+
59
+ /**
60
+ * Low-level device.
61
+ */
62
+ const MOBILE_GRADE_C = 'C';
63
+
64
+ /**
65
+ * Stores the version number of the current release.
66
+ */
67
+ const VERSION = '2.8.3';
68
+
69
+ /**
70
+ * A type for the version() method indicating a string return value.
71
+ */
72
+ const VERSION_TYPE_STRING = 'text';
73
+
74
+ /**
75
+ * A type for the version() method indicating a float return value.
76
+ */
77
+ const VERSION_TYPE_FLOAT = 'float';
78
+
79
+ /**
80
+ * The User-Agent HTTP header is stored in here.
81
+ * @var string
82
+ */
83
+ protected $userAgent = null;
84
+
85
+ /**
86
+ * HTTP headers in the PHP-flavor. So HTTP_USER_AGENT and SERVER_SOFTWARE.
87
+ * @var array
88
+ */
89
+ protected $httpHeaders = array();
90
+
91
+ /**
92
+ * The detection type, using self::DETECTION_TYPE_MOBILE or self::DETECTION_TYPE_EXTENDED.
93
+ *
94
+ * @deprecated since version 2.6.9
95
+ *
96
+ * @var string
97
+ */
98
+ protected $detectionType = self::DETECTION_TYPE_MOBILE;
99
+
100
+ /**
101
+ * HTTP headers that trigger the 'isMobile' detection
102
+ * to be true.
103
+ *
104
+ * @var array
105
+ */
106
+ protected static $mobileHeaders = array(
107
+
108
+ 'HTTP_ACCEPT' => array('matches' => array(
109
+ // Opera Mini; @reference: http://dev.opera.com/articles/view/opera-binary-markup-language/
110
+ 'application/x-obml2d',
111
+ // BlackBerry devices.
112
+ 'application/vnd.rim.html',
113
+ 'text/vnd.wap.wml',
114
+ 'application/vnd.wap.xhtml+xml'
115
+ )),
116
+ 'HTTP_X_WAP_PROFILE' => null,
117
+ 'HTTP_X_WAP_CLIENTID' => null,
118
+ 'HTTP_WAP_CONNECTION' => null,
119
+ 'HTTP_PROFILE' => null,
120
+ // Reported by Opera on Nokia devices (eg. C3).
121
+ 'HTTP_X_OPERAMINI_PHONE_UA' => null,
122
+ 'HTTP_X_NOKIA_GATEWAY_ID' => null,
123
+ 'HTTP_X_ORANGE_ID' => null,
124
+ 'HTTP_X_VODAFONE_3GPDPCONTEXT' => null,
125
+ 'HTTP_X_HUAWEI_USERID' => null,
126
+ // Reported by Windows Smartphones.
127
+ 'HTTP_UA_OS' => null,
128
+ // Reported by Verizon, Vodafone proxy system.
129
+ 'HTTP_X_MOBILE_GATEWAY' => null,
130
+ // Seend this on HTC Sensation. @ref: SensationXE_Beats_Z715e.
131
+ 'HTTP_X_ATT_DEVICEID' => null,
132
+ // Seen this on a HTC.
133
+ 'HTTP_UA_CPU' => array('matches' => array('ARM')),
134
+ );
135
+
136
+ /**
137
+ * List of mobile devices (phones).
138
+ *
139
+ * @var array
140
+ */
141
+ protected static $phoneDevices = array(
142
+ 'iPhone' => '\biPhone.*(Mobile|PhoneGap)|\biPod', // |\biTunes
143
+ 'BlackBerry' => 'BlackBerry|\bBB10\b|rim[0-9]+',
144
+ 'HTC' => 'HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m',
145
+ 'Nexus' => 'Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile',
146
+ // @todo: Is 'Dell Streak' a tablet or a phone? ;)
147
+ 'Dell' => 'Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b',
148
+ 'Motorola' => 'Motorola|DROIDX|DROID BIONIC|\bDroid\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925',
149
+ 'Samsung' => 'Samsung|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E',
150
+ 'LG' => '\bLG\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802)',
151
+ 'Sony' => 'SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i',
152
+ 'Asus' => 'Asus.*Galaxy|PadFone.*Mobile',
153
+ // @ref: http://www.micromaxinfo.com/mobiles/smartphones
154
+ // Added because the codes might conflict with Acer Tablets.
155
+ 'Micromax' => 'Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b',
156
+ 'Palm' => 'PalmSource|Palm', // avantgo|blazer|elaine|hiptop|plucker|xiino ; @todo - complete the regex.
157
+ 'Vertu' => 'Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature', // Just for fun ;)
158
+ // @ref: http://www.pantech.co.kr/en/prod/prodList.do?gbrand=VEGA (PANTECH)
159
+ // Most of the VEGA devices are legacy. PANTECH seem to be newer devices based on Android.
160
+ 'Pantech' => 'PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790',
161
+ // @ref: http://www.fly-phone.com/devices/smartphones/ ; Included only smartphones.
162
+ 'Fly' => 'IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250',
163
+ 'iMobile' => 'i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)',
164
+ // Added simvalley mobile just for fun. They have some interesting devices.
165
+ // @ref: http://www.simvalley.fr/telephonie---gps-_22_telephonie-mobile_telephones_.html
166
+ 'SimValley' => '\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b',
167
+ // @Tapatalk is a mobile app; @ref: http://support.tapatalk.com/threads/smf-2-0-2-os-and-browser-detection-plugin-and-tapatalk.15565/#post-79039
168
+ 'GenericPhone' => 'Tapatalk|PDA;|SAGEM|\bmmp\b|pocket|\bpsp\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\bwap\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser'
169
+ );
170
+
171
+ /**
172
+ * List of tablet devices.
173
+ *
174
+ * @var array
175
+ */
176
+ protected static $tabletDevices = array(
177
+ 'iPad' => 'iPad|iPad.*Mobile', // @todo: check for mobile friendly emails topic.
178
+ 'NexusTablet' => 'Android.*Nexus[\s]+(7|10)|^.*Android.*Nexus(?:(?!Mobile).)*$',
179
+ 'SamsungTablet' => 'SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-I9205|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705C|SM-T535|SM-T331', // SCH-P709|SCH-P729|SM-T2558 - Samsung Mega - treat them like a regular phone.
180
+ // @reference: http://www.labnol.org/software/kindle-user-agent-string/20378/
181
+ 'Kindle' => 'Kindle|Silk.*Accelerated|Android.*\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE)\b',
182
+ // Only the Surface tablets with Windows RT are considered mobile.
183
+ // @ref: http://msdn.microsoft.com/en-us/library/ie/hh920767(v=vs.85).aspx
184
+ 'SurfaceTablet' => 'Windows NT [0-9.]+; ARM;',
185
+ // @ref: http://shopping1.hp.com/is-bin/INTERSHOP.enfinity/WFS/WW-USSMBPublicStore-Site/en_US/-/USD/ViewStandardCatalog-Browse?CatalogCategoryID=JfIQ7EN5lqMAAAEyDcJUDwMT
186
+ 'HPTablet' => 'HP Slate 7|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8',
187
+ // @note: watch out for PadFone, see #132
188
+ 'AsusTablet' => '^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\bK00F\b|TX201LA',
189
+ 'BlackBerryTablet' => 'PlayBook|RIM Tablet',
190
+ 'HTCtablet' => 'HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200',
191
+ 'MotorolaTablet' => 'xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617',
192
+ 'NookTablet' => 'Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2',
193
+ // @ref: http://www.acer.ro/ac/ro/RO/content/drivers
194
+ // @ref: http://www.packardbell.co.uk/pb/en/GB/content/download (Packard Bell is part of Acer)
195
+ // @ref: http://us.acer.com/ac/en/US/content/group/tablets
196
+ // @note: Can conflict with Micromax and Motorola phones codes.
197
+ 'AcerTablet' => 'Android.*; \b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-830)\b|W3-810|\bA3-A10\b',
198
+ // @ref: http://eu.computers.toshiba-europe.com/innovation/family/Tablets/1098744/banner_id/tablet_footerlink/
199
+ // @ref: http://us.toshiba.com/tablets/tablet-finder
200
+ // @ref: http://www.toshiba.co.jp/regza/tablet/
201
+ 'ToshibaTablet' => 'Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO',
202
+ // @ref: http://www.nttdocomo.co.jp/english/service/developer/smart_phone/technical_info/spec/index.html
203
+ // @ref: http://www.lg.com/us/tablets
204
+ 'LGTablet' => '\bL-06C|LG-V900|LG-V500|LG-V909|LG-V500|LG-V510|LG-VK810\b',
205
+ 'FujitsuTablet' => 'Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b',
206
+ // Prestigio Tablets http://www.prestigio.com/support
207
+ 'PrestigioTablet' => 'PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD',
208
+ // @ref: http://support.lenovo.com/en_GB/downloads/default.page?#
209
+ 'LenovoTablet' => 'IdeaTab|ThinkPad([ ]+)?Tablet|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A1000|A2107|A2109|A1107|B6000|B8000|B8080-F)',
210
+ // @ref: http://www.yarvik.com/en/matrix/tablets/
211
+ 'YarvikTablet' => 'Android.*\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\b',
212
+ 'MedionTablet' => 'Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB',
213
+ 'ArnovaTablet' => 'AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT',
214
+ // http://www.intenso.de/kategorie_en.php?kategorie=33
215
+ // @todo: http://www.nbhkdz.com/read/b8e64202f92a2df129126bff.html - investigate
216
+ 'IntensoTablet' => 'INM8002KP|INM1010FP|INM805ND|Intenso Tab',
217
+ // IRU.ru Tablets http://www.iru.ru/catalog/soho/planetable/
218
+ 'IRUTablet' => 'M702pro',
219
+ 'MegafonTablet' => 'MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b',
220
+ // @ref: http://www.e-boda.ro/tablete-pc.html
221
+ 'EbodaTablet' => 'E-Boda (Supreme|Impresspeed|Izzycomm|Essential)',
222
+ // @ref: http://www.allview.ro/produse/droseries/lista-tablete-pc/
223
+ 'AllViewTablet' => 'Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)',
224
+ // @reference: http://wiki.archosfans.com/index.php?title=Main_Page
225
+ 'ArchosTablet' => '\b(101G9|80G9|A101IT)\b|Qilive 97R|ARCHOS 101G10|Archos 101 Neon',
226
+ // @ref: http://www.ainol.com/plugin.php?identifier=ainol&module=product
227
+ 'AinolTablet' => 'NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark',
228
+ // @todo: inspect http://esupport.sony.com/US/p/select-system.pl?DIRECTOR=DRIVER
229
+ // @ref: Readers http://www.atsuhiro-me.net/ebook/sony-reader/sony-reader-web-browser
230
+ // @ref: http://www.sony.jp/support/tablet/
231
+ 'SonyTablet' => 'Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551',
232
+ // @ref: db + http://www.cube-tablet.com/buy-products.html
233
+ 'CubeTablet' => 'Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT',
234
+ // @ref: http://www.cobyusa.com/?p=pcat&pcat_id=3001
235
+ 'CobyTablet' => 'MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010',
236
+ // @ref: http://www.match.net.cn/products.asp
237
+ 'MIDTablet' => 'M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733',
238
+ // @ref: http://pdadb.net/index.php?m=pdalist&list=SMiT (NoName Chinese Tablets)
239
+ // @ref: http://www.imp3.net/14/show.php?itemid=20454
240
+ 'SMiTTablet' => 'Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)',
241
+ // @ref: http://www.rock-chips.com/index.php?do=prod&pid=2
242
+ 'RockChipTablet' => 'Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A',
243
+ // @ref: http://www.fly-phone.com/devices/tablets/ ; http://www.fly-phone.com/service/
244
+ 'FlyTablet' => 'IQ310|Fly Vision',
245
+ // @ref: http://www.bqreaders.com/gb/tablets-prices-sale.html
246
+ 'bqTablet' => 'bq.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant)|Maxwell.*Lite|Maxwell.*Plus',
247
+ // @ref: http://www.huaweidevice.com/worldwide/productFamily.do?method=index&directoryId=5011&treeId=3290
248
+ // @ref: http://www.huaweidevice.com/worldwide/downloadCenter.do?method=index&directoryId=3372&treeId=0&tb=1&type=software (including legacy tablets)
249
+ 'HuaweiTablet' => 'MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim',
250
+ // Nec or Medias Tab
251
+ 'NecTablet' => '\bN-06D|\bN-08D',
252
+ // Pantech Tablets: http://www.pantechusa.com/phones/
253
+ 'PantechTablet' => 'Pantech.*P4100',
254
+ // Broncho Tablets: http://www.broncho.cn/ (hard to find)
255
+ 'BronchoTablet' => 'Broncho.*(N701|N708|N802|a710)',
256
+ // @ref: http://versusuk.com/support.html
257
+ 'VersusTablet' => 'TOUCHPAD.*[78910]|\bTOUCHTAB\b',
258
+ // @ref: http://www.zync.in/index.php/our-products/tablet-phablets
259
+ 'ZyncTablet' => 'z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900',
260
+ // @ref: http://www.positivoinformatica.com.br/www/pessoal/tablet-ypy/
261
+ 'PositivoTablet' => 'TB07STA|TB10STA|TB07FTA|TB10FTA',
262
+ // @ref: https://www.nabitablet.com/
263
+ 'NabiTablet' => 'Android.*\bNabi',
264
+ 'KoboTablet' => 'Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build',
265
+ // French Danew Tablets http://www.danew.com/produits-tablette.php
266
+ 'DanewTablet' => 'DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b',
267
+ // Texet Tablets and Readers http://www.texet.ru/tablet/
268
+ 'TexetTablet' => 'NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE',
269
+ // @note: Avoid detecting 'PLAYSTATION 3' as mobile.
270
+ 'PlaystationTablet' => 'Playstation.*(Portable|Vita)',
271
+ // @ref: http://www.trekstor.de/surftabs.html
272
+ 'TrekstorTablet' => 'ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A',
273
+ // @ref: http://www.pyleaudio.com/Products.aspx?%2fproducts%2fPersonal-Electronics%2fTablets
274
+ 'PyleAudioTablet' => '\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b',
275
+ // @ref: http://www.advandigital.com/index.php?link=content-product&jns=JP001
276
+ // @Note: because of the short codenames we have to include whitespaces to reduce the possible conflicts.
277
+ 'AdvanTablet' => 'Android.* \b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\b ',
278
+ // @ref: http://www.danytech.com/category/tablet-pc
279
+ 'DanyTechTablet' => 'Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1',
280
+ // @ref: http://www.galapad.net/product.html
281
+ 'GalapadTablet' => 'Android.*\bG1\b',
282
+ // @ref: http://www.micromaxinfo.com/tablet/funbook
283
+ 'MicromaxTablet' => 'Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b',
284
+ // http://www.karbonnmobiles.com/products_tablet.php
285
+ 'KarbonnTablet' => 'Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b',
286
+ // @ref: http://www.myallfine.com/Products.asp
287
+ 'AllFineTablet' => 'Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide',
288
+ // @ref: http://www.proscanvideo.com/products-search.asp?itemClass=TABLET&itemnmbr=
289
+ 'PROSCANTablet' => '\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\b',
290
+ // @ref: http://www.yonesnav.com/products/products.php
291
+ 'YONESTablet' => 'BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026',
292
+ // @ref: http://www.cjshowroom.com/eproducts.aspx?classcode=004001001
293
+ // China manufacturer makes tablets for different small brands (eg. http://www.zeepad.net/index.html)
294
+ 'ChangJiaTablet' => 'TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503',
295
+ // @ref: http://www.gloryunion.cn/products.asp
296
+ // @ref: http://www.allwinnertech.com/en/apply/mobile.html
297
+ // @ref: http://www.ptcl.com.pk/pd_content.php?pd_id=284 (EVOTAB)
298
+ // @todo: Softwiner tablets?
299
+ // aka. Cute or Cool tablets. Not sure yet, must research to avoid collisions.
300
+ 'GUTablet' => 'TX-A1301|TX-M9002|Q702|kf026', // A12R|D75A|D77|D79|R83|A95|A106C|R15|A75|A76|D71|D72|R71|R73|R77|D82|R85|D92|A97|D92|R91|A10F|A77F|W71F|A78F|W78F|W81F|A97F|W91F|W97F|R16G|C72|C73E|K72|K73|R96G
301
+ // @ref: http://www.pointofview-online.com/showroom.php?shop_mode=product_listing&category_id=118
302
+ 'PointOfViewTablet' => 'TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10',
303
+ // @ref: http://www.overmax.pl/pl/katalog-produktow,p8/tablety,c14/
304
+ // @todo: add more tests.
305
+ 'OvermaxTablet' => 'OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)',
306
+ // @ref: http://hclmetablet.com/India/index.php
307
+ 'HCLTablet' => 'HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync',
308
+ // @ref: http://www.edigital.hu/Tablet_es_e-book_olvaso/Tablet-c18385.html
309
+ 'DPSTablet' => 'DPS Dream 9|DPS Dual 7',
310
+ // @ref: http://www.visture.com/index.asp
311
+ 'VistureTablet' => 'V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10',
312
+ // @ref: http://www.mijncresta.nl/tablet
313
+ 'CrestaTablet' => 'CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989',
314
+ // MediaTek - http://www.mediatek.com/_en/01_products/02_proSys.php?cata_sn=1&cata1_sn=1&cata2_sn=309
315
+ 'MediatekTablet' => '\bMT8125|MT8389|MT8135|MT8377\b',
316
+ // Concorde tab
317
+ 'ConcordeTablet' => 'Concorde([ ]+)?Tab|ConCorde ReadMan',
318
+ // GoClever Tablets - http://www.goclever.com/uk/products,c1/tablet,c5/
319
+ 'GoCleverTablet' => 'GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042',
320
+ // Modecom Tablets - http://www.modecom.eu/tablets/portal/
321
+ 'ModecomTablet' => 'FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003',
322
+ // Vonino Tablets - http://www.vonino.eu/tablets
323
+ 'VoninoTablet' => '\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\bQ8\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\b',
324
+ // ECS Tablets - http://www.ecs.com.tw/ECSWebSite/Product/Product_Tablet_List.aspx?CategoryID=14&MenuID=107&childid=M_107&LanID=0
325
+ 'ECSTablet' => 'V07OT2|TM105A|S10OT1|TR10CS1',
326
+ // Storex Tablets - http://storex.fr/espace_client/support.html
327
+ // @note: no need to add all the tablet codes since they are guided by the first regex.
328
+ 'StorexTablet' => 'eZee[_\']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab',
329
+ // Generic Vodafone tablets.
330
+ 'VodafoneTablet' => 'SmartTab([ ]+)?[0-9]+|SmartTabII10',
331
+ // French tablets - Essentiel B http://www.boulanger.fr/tablette_tactile_e-book/tablette_tactile_essentiel_b/cl_68908.htm?multiChoiceToDelete=brand&mc_brand=essentielb
332
+ // Aka: http://www.essentielb.fr/
333
+ 'EssentielBTablet' => 'Smart[ \']?TAB[ ]+?[0-9]+|Family[ \']?TAB2',
334
+ // Ross & Moor - http://ross-moor.ru/
335
+ 'RossMoorTablet' => 'RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711',
336
+ // i-mobile http://product.i-mobilephone.com/Mobile_Device
337
+ 'iMobileTablet' => 'i-mobile i-note',
338
+ // @ref: http://www.tolino.de/de/vergleichen/
339
+ 'TolinoTablet' => 'tolino tab [0-9.]+|tolino shine',
340
+ // AudioSonic - a Kmart brand
341
+ // http://www.kmart.com.au/webapp/wcs/stores/servlet/Search?langId=-1&storeId=10701&catalogId=10001&categoryId=193001&pageSize=72&currentPage=1&searchCategory=193001%2b4294965664&sortBy=p_MaxPrice%7c1
342
+ 'AudioSonicTablet' => '\bC-22Q|T7-QC|T-17B|T-17P\b',
343
+ // AMPE Tablets - http://www.ampe.com.my/product-category/tablets/
344
+ // @todo: add them gradually to avoid conflicts.
345
+ 'AMPETablet' => 'Android.* A78 ',
346
+ // Skk Mobile - http://skkmobile.com.ph/product_tablets.php
347
+ 'SkkTablet' => 'Android.* (SKYPAD|PHOENIX|CYCLOPS)',
348
+ // Tecno Mobile (only tablet) - http://www.tecno-mobile.com/index.php/product?filterby=smart&list_order=all&page=1
349
+ 'TecnoTablet' => 'TECNO P9',
350
+ // JXD (consoles & tablets) - http://jxd.hk/products.asp?selectclassid=009008&clsid=3
351
+ 'JXDTablet' => 'Android.*\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\b',
352
+ // i-Joy tablets - http://www.i-joy.es/en/cat/products/tablets/
353
+ 'iJoyTablet' => 'Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)',
354
+ // http://www.intracon.eu/tablet
355
+ 'FX2Tablet' => 'FX2 PAD7|FX2 PAD10',
356
+ // http://www.xoro.de/produkte/
357
+ // @note: Might be the same brand with 'Simply tablets'
358
+ 'XoroTablet' => 'KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151',
359
+ // http://www1.viewsonic.com/products/computing/tablets/
360
+ 'ViewsonicTablet' => 'ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a',
361
+ // http://www.odys.de/web/internet-tablet_en.html
362
+ 'OdysTablet' => 'LOOX|XENO10|ODYS Space',
363
+ // http://www.captiva-power.de/products.html#tablets-en
364
+ 'CaptivaTablet' => 'CAPTIVA PAD',
365
+ // IconBIT - http://www.iconbit.com/products/tablets/
366
+ 'IconbitTablet' => 'NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S',
367
+ // @ref: http://www.tesco.com/direct/hudl/
368
+ 'Hudl' => 'Hudl HT7S3',
369
+ // @ref: http://www.telstra.com.au/home-phone/thub-2/
370
+ 'TelstraTablet' => 'T-Hub2',
371
+ 'GenericTablet' => 'Android.*\b97D\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\bA7EB\b|CatNova8|A1_07|CT704|CT1002|\bM721\b|rk30sdk|\bEVOTAB\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4',
372
+ );
373
+
374
+ /**
375
+ * List of mobile Operating Systems.
376
+ *
377
+ * @var array
378
+ */
379
+ protected static $operatingSystems = array(
380
+ 'AndroidOS' => 'Android',
381
+ 'BlackBerryOS' => 'blackberry|\bBB10\b|rim tablet os',
382
+ 'PalmOS' => 'PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino',
383
+ 'SymbianOS' => 'Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\bS60\b',
384
+ // @reference: http://en.wikipedia.org/wiki/Windows_Mobile
385
+ 'WindowsMobileOS' => 'Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;',
386
+ // @reference: http://en.wikipedia.org/wiki/Windows_Phone
387
+ // http://wifeng.cn/?r=blog&a=view&id=106
388
+ // http://nicksnettravels.builttoroam.com/post/2011/01/10/Bogus-Windows-Phone-7-User-Agent-String.aspx
389
+ 'WindowsPhoneOS' => 'Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7',
390
+ 'iOS' => '\biPhone.*Mobile|\biPod|\biPad',
391
+ // http://en.wikipedia.org/wiki/MeeGo
392
+ // @todo: research MeeGo in UAs
393
+ 'MeeGoOS' => 'MeeGo',
394
+ // http://en.wikipedia.org/wiki/Maemo
395
+ // @todo: research Maemo in UAs
396
+ 'MaemoOS' => 'Maemo',
397
+ 'JavaOS' => 'J2ME/|\bMIDP\b|\bCLDC\b', // '|Java/' produces bug #135
398
+ 'webOS' => 'webOS|hpwOS',
399
+ 'badaOS' => '\bBada\b',
400
+ 'BREWOS' => 'BREW',
401
+ );
402
+
403
+ /**
404
+ * List of mobile User Agents.
405
+ *
406
+ * @var array
407
+ */
408
+ protected static $browsers = array(
409
+ // @reference: https://developers.google.com/chrome/mobile/docs/user-agent
410
+ 'Chrome' => '\bCrMo\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?',
411
+ 'Dolfin' => '\bDolfin\b',
412
+ 'Opera' => 'Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+',
413
+ 'Skyfire' => 'Skyfire',
414
+ 'IE' => 'IEMobile|MSIEMobile', // |Trident/[.0-9]+
415
+ 'Firefox' => 'fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile',
416
+ 'Bolt' => 'bolt',
417
+ 'TeaShark' => 'teashark',
418
+ 'Blazer' => 'Blazer',
419
+ // @reference: http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/OptimizingforSafarioniPhone/OptimizingforSafarioniPhone.html#//apple_ref/doc/uid/TP40006517-SW3
420
+ 'Safari' => 'Version.*Mobile.*Safari|Safari.*Mobile',
421
+ // @ref: http://en.wikipedia.org/wiki/Midori_(web_browser)
422
+ //'Midori' => 'midori',
423
+ 'Tizen' => 'Tizen',
424
+ 'UCBrowser' => 'UC.*Browser|UCWEB',
425
+ // @ref: https://github.com/serbanghita/Mobile-Detect/issues/7
426
+ 'DiigoBrowser' => 'DiigoBrowser',
427
+ // http://www.puffinbrowser.com/index.php
428
+ 'Puffin' => 'Puffin',
429
+ // @ref: http://mercury-browser.com/index.html
430
+ 'Mercury' => '\bMercury\b',
431
+ // @reference: http://en.wikipedia.org/wiki/Minimo
432
+ // http://en.wikipedia.org/wiki/Vision_Mobile_Browser
433
+ 'GenericBrowser' => 'NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger'
434
+ );
435
+
436
+ /**
437
+ * Utilities.
438
+ *
439
+ * @var array
440
+ */
441
+ protected static $utilities = array(
442
+ // Experimental. When a mobile device wants to switch to 'Desktop Mode'.
443
+ // @ref: http://scottcate.com/technology/windows-phone-8-ie10-desktop-or-mobile/
444
+ // @ref: https://github.com/serbanghita/Mobile-Detect/issues/57#issuecomment-15024011
445
+ 'DesktopMode' => 'WPDesktop',
446
+ 'TV' => 'SonyDTV|HbbTV', // experimental
447
+ 'WebKit' => '(webkit)[ /]([\w.]+)',
448
+ 'Bot' => 'Googlebot|DoCoMo|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|facebookexternalhit',
449
+ 'MobileBot' => 'Googlebot-Mobile|DoCoMo|YahooSeeker/M1A1-R2D2',
450
+ // @todo: Include JXD consoles.
451
+ 'Console' => '\b(Nintendo|Nintendo WiiU|PLAYSTATION|Xbox)\b',
452
+ 'Watch' => 'SM-V700',
453
+ );
454
+
455
+ /**
456
+ * All possible HTTP headers that represent the
457
+ * User-Agent string.
458
+ *
459
+ * @var array
460
+ */
461
+ protected static $uaHttpHeaders = array(
462
+ // The default User-Agent string.
463
+ 'HTTP_USER_AGENT',
464
+ // Header can occur on devices using Opera Mini.
465
+ 'HTTP_X_OPERAMINI_PHONE_UA',
466
+ // Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/
467
+ 'HTTP_X_DEVICE_USER_AGENT',
468
+ 'HTTP_X_ORIGINAL_USER_AGENT',
469
+ 'HTTP_X_SKYFIRE_PHONE',
470
+ 'HTTP_X_BOLT_PHONE_UA',
471
+ 'HTTP_DEVICE_STOCK_UA',
472
+ 'HTTP_X_UCBROWSER_DEVICE_UA'
473
+ );
474
+
475
+ /**
476
+ * The individual segments that could exist in a User-Agent string. VER refers to the regular
477
+ * expression defined in the constant self::VER.
478
+ *
479
+ * @var array
480
+ */
481
+ protected static $properties = array(
482
+
483
+ // Build
484
+ 'Mobile' => 'Mobile/[VER]',
485
+ 'Build' => 'Build/[VER]',
486
+ 'Version' => 'Version/[VER]',
487
+ 'VendorID' => 'VendorID/[VER]',
488
+
489
+ // Devices
490
+ 'iPad' => 'iPad.*CPU[a-z ]+[VER]',
491
+ 'iPhone' => 'iPhone.*CPU[a-z ]+[VER]',
492
+ 'iPod' => 'iPod.*CPU[a-z ]+[VER]',
493
+ //'BlackBerry' => array('BlackBerry[VER]', 'BlackBerry [VER];'),
494
+ 'Kindle' => 'Kindle/[VER]',
495
+
496
+ // Browser
497
+ 'Chrome' => array('Chrome/[VER]', 'CriOS/[VER]', 'CrMo/[VER]'),
498
+ 'Coast' => array('Coast/[VER]'),
499
+ 'Dolfin' => 'Dolfin/[VER]',
500
+ // @reference: https://developer.mozilla.org/en-US/docs/User_Agent_Strings_Reference
501
+ 'Firefox' => 'Firefox/[VER]',
502
+ 'Fennec' => 'Fennec/[VER]',
503
+ // @reference: http://msdn.microsoft.com/en-us/library/ms537503(v=vs.85).aspx
504
+ 'IE' => array('IEMobile/[VER];', 'IEMobile [VER]', 'MSIE [VER];'),
505
+ // http://en.wikipedia.org/wiki/NetFront
506
+ 'NetFront' => 'NetFront/[VER]',
507
+ 'NokiaBrowser' => 'NokiaBrowser/[VER]',
508
+ 'Opera' => array( ' OPR/[VER]', 'Opera Mini/[VER]', 'Version/[VER]' ),
509
+ 'Opera Mini' => 'Opera Mini/[VER]',
510
+ 'Opera Mobi' => 'Version/[VER]',
511
+ 'UC Browser' => 'UC Browser[VER]',
512
+ 'MQQBrowser' => 'MQQBrowser/[VER]',
513
+ 'MicroMessenger' => 'MicroMessenger/[VER]',
514
+ // @note: Safari 7534.48.3 is actually Version 5.1.
515
+ // @note: On BlackBerry the Version is overwriten by the OS.
516
+ 'Safari' => array( 'Version/[VER]', 'Safari/[VER]' ),
517
+ 'Skyfire' => 'Skyfire/[VER]',
518
+ 'Tizen' => 'Tizen/[VER]',
519
+ 'Webkit' => 'webkit[ /][VER]',
520
+
521
+ // Engine
522
+ 'Gecko' => 'Gecko/[VER]',
523
+ 'Trident' => 'Trident/[VER]',
524
+ 'Presto' => 'Presto/[VER]',
525
+
526
+ // OS
527
+ 'iOS' => ' \bOS\b [VER] ',
528
+ 'Android' => 'Android [VER]',
529
+ 'BlackBerry' => array('BlackBerry[\w]+/[VER]', 'BlackBerry.*Version/[VER]', 'Version/[VER]'),
530
+ 'BREW' => 'BREW [VER]',
531
+ 'Java' => 'Java/[VER]',
532
+ // @reference: http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/08/29/introducing-the-ie9-on-windows-phone-mango-user-agent-string.aspx
533
+ // @reference: http://en.wikipedia.org/wiki/Windows_NT#Releases
534
+ 'Windows Phone OS' => array( 'Windows Phone OS [VER]', 'Windows Phone [VER]'),
535
+ 'Windows Phone' => 'Windows Phone [VER]',
536
+ 'Windows CE' => 'Windows CE/[VER]',
537
+ // http://social.msdn.microsoft.com/Forums/en-US/windowsdeveloperpreviewgeneral/thread/6be392da-4d2f-41b4-8354-8dcee20c85cd
538
+ 'Windows NT' => 'Windows NT [VER]',
539
+ 'Symbian' => array('SymbianOS/[VER]', 'Symbian/[VER]'),
540
+ 'webOS' => array('webOS/[VER]', 'hpwOS/[VER];'),
541
+ );
542
+
543
+ /**
544
+ * Construct an instance of this class.
545
+ *
546
+ * @param array $headers Specify the headers as injection. Should be PHP _SERVER flavored.
547
+ * If left empty, will use the global _SERVER['HTTP_*'] vars instead.
548
+ * @param string $userAgent Inject the User-Agent header. If null, will use HTTP_USER_AGENT
549
+ * from the $headers array instead.
550
+ */
551
+ public function __construct(
552
+ array $headers = null,
553
+ $userAgent = null
554
+ ){
555
+ $this->setHttpHeaders($headers);
556
+ $this->setUserAgent($userAgent);
557
+ }
558
+
559
+ /**
560
+ * Get the current script version.
561
+ * This is useful for the demo.php file,
562
+ * so people can check on what version they are testing
563
+ * for mobile devices.
564
+ *
565
+ * @return string The version number in semantic version format.
566
+ */
567
+ public static function getScriptVersion()
568
+ {
569
+ return self::VERSION;
570
+ }
571
+
572
+ /**
573
+ * Set the HTTP Headers. Must be PHP-flavored. This method will reset existing headers.
574
+ *
575
+ * @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract
576
+ * the headers. The default null is left for backwards compatibilty.
577
+ */
578
+ public function setHttpHeaders($httpHeaders = null)
579
+ {
580
+ //use global _SERVER if $httpHeaders aren't defined
581
+ if (!is_array($httpHeaders) || !count($httpHeaders)) {
582
+ $httpHeaders = $_SERVER;
583
+ }
584
+
585
+ //clear existing headers
586
+ $this->httpHeaders = array();
587
+
588
+ //Only save HTTP headers. In PHP land, that means only _SERVER vars that
589
+ //start with HTTP_.
590
+ foreach ($httpHeaders as $key => $value) {
591
+ if (substr($key,0,5) == 'HTTP_') {
592
+ $this->httpHeaders[$key] = $value;
593
+ }
594
+ }
595
+ }
596
+
597
+ /**
598
+ * Retrieves the HTTP headers.
599
+ *
600
+ * @return array
601
+ */
602
+ public function getHttpHeaders()
603
+ {
604
+ return $this->httpHeaders;
605
+ }
606
+
607
+ /**
608
+ * Retrieves a particular header. If it doesn't exist, no exception/error is caused.
609
+ * Simply null is returned.
610
+ *
611
+ * @param string $header The name of the header to retrieve. Can be HTTP compliant such as
612
+ * "User-Agent" or "X-Device-User-Agent" or can be php-esque with the
613
+ * all-caps, HTTP_ prefixed, underscore seperated awesomeness.
614
+ *
615
+ * @return string|null The value of the header.
616
+ */
617
+ public function getHttpHeader($header)
618
+ {
619
+ //are we using PHP-flavored headers?
620
+ if (strpos($header, '_') === false) {
621
+ $header = str_replace('-', '_', $header);
622
+ $header = strtoupper($header);
623
+ }
624
+
625
+ //test the alternate, too
626
+ $altHeader = 'HTTP_' . $header;
627
+
628
+ //Test both the regular and the HTTP_ prefix
629
+ if (isset($this->httpHeaders[$header])) {
630
+ return $this->httpHeaders[$header];
631
+ } elseif (isset($this->httpHeaders[$altHeader])) {
632
+ return $this->httpHeaders[$altHeader];
633
+ }
634
+
635
+ return null;
636
+ }
637
+
638
+ public function getMobileHeaders()
639
+ {
640
+ return self::$mobileHeaders;
641
+ }
642
+
643
+ /**
644
+ * Get all possible HTTP headers that
645
+ * can contain the User-Agent string.
646
+ *
647
+ * @return array List of HTTP headers.
648
+ */
649
+ public function getUaHttpHeaders()
650
+ {
651
+ return self::$uaHttpHeaders;
652
+ }
653
+
654
+ /**
655
+ * Set the User-Agent to be used.
656
+ *
657
+ * @param string $userAgent The user agent string to set.
658
+ *
659
+ * @return string|null
660
+ */
661
+ public function setUserAgent($userAgent = null)
662
+ {
663
+ if (!empty($userAgent)) {
664
+ return $this->userAgent = $userAgent;
665
+ } else {
666
+
667
+ $this->userAgent = null;
668
+
669
+ foreach($this->getUaHttpHeaders() as $altHeader){
670
+ if(!empty($this->httpHeaders[$altHeader])){ // @todo: should use getHttpHeader(), but it would be slow. (Serban)
671
+ $this->userAgent .= $this->httpHeaders[$altHeader] . " ";
672
+ }
673
+ }
674
+
675
+ return $this->userAgent = (!empty($this->userAgent) ? trim($this->userAgent) : null);
676
+
677
+ }
678
+ }
679
+
680
+ /**
681
+ * Retrieve the User-Agent.
682
+ *
683
+ * @return string|null The user agent if it's set.
684
+ */
685
+ public function getUserAgent()
686
+ {
687
+ return $this->userAgent;
688
+ }
689
+
690
+ /**
691
+ * Set the detection type. Must be one of self::DETECTION_TYPE_MOBILE or
692
+ * self::DETECTION_TYPE_EXTENDED. Otherwise, nothing is set.
693
+ *
694
+ * @deprecated since version 2.6.9
695
+ *
696
+ * @param string $type The type. Must be a self::DETECTION_TYPE_* constant. The default
697
+ * parameter is null which will default to self::DETECTION_TYPE_MOBILE.
698
+ */
699
+ public function setDetectionType($type = null)
700
+ {
701
+ if ($type === null) {
702
+ $type = self::DETECTION_TYPE_MOBILE;
703
+ }
704
+
705
+ if ($type != self::DETECTION_TYPE_MOBILE && $type != self::DETECTION_TYPE_EXTENDED) {
706
+ return;
707
+ }
708
+
709
+ $this->detectionType = $type;
710
+ }
711
+
712
+ /**
713
+ * Retrieve the list of known phone devices.
714
+ *
715
+ * @return array List of phone devices.
716
+ */
717
+ public static function getPhoneDevices()
718
+ {
719
+ return self::$phoneDevices;
720
+ }
721
+
722
+ /**
723
+ * Retrieve the list of known tablet devices.
724
+ *
725
+ * @return array List of tablet devices.
726
+ */
727
+ public static function getTabletDevices()
728
+ {
729
+ return self::$tabletDevices;
730
+ }
731
+
732
+ /**
733
+ * Alias for getBrowsers() method.
734
+ *
735
+ * @return array List of user agents.
736
+ */
737
+ public static function getUserAgents()
738
+ {
739
+ return self::getBrowsers();
740
+ }
741
+
742
+ /**
743
+ * Retrieve the list of known browsers. Specifically, the user agents.
744
+ *
745
+ * @return array List of browsers / user agents.
746
+ */
747
+ public static function getBrowsers()
748
+ {
749
+ return self::$browsers;
750
+ }
751
+
752
+ /**
753
+ * Retrieve the list of known utilities.
754
+ *
755
+ * @return array List of utilities.
756
+ */
757
+ public static function getUtilities()
758
+ {
759
+ return self::$utilities;
760
+ }
761
+
762
+ /**
763
+ * Method gets the mobile detection rules. This method is used for the magic methods $detect->is*().
764
+ *
765
+ * @deprecated since version 2.6.9
766
+ *
767
+ * @return array All the rules (but not extended).
768
+ */
769
+ public static function getMobileDetectionRules()
770
+ {
771
+ static $rules;
772
+
773
+ if (!$rules) {
774
+ $rules = array_merge(
775
+ self::$phoneDevices,
776
+ self::$tabletDevices,
777
+ self::$operatingSystems,
778
+ self::$browsers
779
+ );
780
+ }
781
+
782
+ return $rules;
783
+
784
+ }
785
+
786
+ /**
787
+ * Method gets the mobile detection rules + utilities.
788
+ * The reason this is separate is because utilities rules
789
+ * don't necessary imply mobile. This method is used inside
790
+ * the new $detect->is('stuff') method.
791
+ *
792
+ * @deprecated since version 2.6.9
793
+ *
794
+ * @return array All the rules + extended.
795
+ */
796
+ public function getMobileDetectionRulesExtended()
797
+ {
798
+ static $rules;
799
+
800
+ if (!$rules) {
801
+ // Merge all rules together.
802
+ $rules = array_merge(
803
+ self::$phoneDevices,
804
+ self::$tabletDevices,
805
+ self::$operatingSystems,
806
+ self::$browsers,
807
+ self::$utilities
808
+ );
809
+ }
810
+
811
+ return $rules;
812
+ }
813
+
814
+ /**
815
+ * Retrieve the current set of rules.
816
+ *
817
+ * @deprecated since version 2.6.9
818
+ *
819
+ * @return array
820
+ */
821
+ public function getRules()
822
+ {
823
+ if ($this->detectionType == self::DETECTION_TYPE_EXTENDED) {
824
+ return self::getMobileDetectionRulesExtended();
825
+ } else {
826
+ return self::getMobileDetectionRules();
827
+ }
828
+ }
829
+
830
+ /**
831
+ * Retrieve the list of mobile operating systems.
832
+ *
833
+ * @return array The list of mobile operating systems.
834
+ */
835
+ public static function getOperatingSystems()
836
+ {
837
+ return self::$operatingSystems;
838
+ }
839
+
840
+ /**
841
+ * Check the HTTP headers for signs of mobile.
842
+ * This is the fastest mobile check possible; it's used
843
+ * inside isMobile() method.
844
+ *
845
+ * @return bool
846
+ */
847
+ public function checkHttpHeadersForMobile()
848
+ {
849
+
850
+ foreach($this->getMobileHeaders() as $mobileHeader => $matchType){
851
+ if( isset($this->httpHeaders[$mobileHeader]) ){
852
+ if( is_array($matchType['matches']) ){
853
+ foreach($matchType['matches'] as $_match){
854
+ if( strpos($this->httpHeaders[$mobileHeader], $_match) !== false ){
855
+ return true;
856
+ }
857
+ }
858
+ return false;
859
+ } else {
860
+ return true;
861
+ }
862
+ }
863
+ }
864
+
865
+ return false;
866
+
867
+ }
868
+
869
+ /**
870
+ * Magic overloading method.
871
+ *
872
+ * @method boolean is[...]()
873
+ * @param string $name
874
+ * @param array $arguments
875
+ * @return mixed
876
+ * @throws BadMethodCallException when the method doesn't exist and doesn't start with 'is'
877
+ */
878
+ public function __call($name, $arguments)
879
+ {
880
+ //make sure the name starts with 'is', otherwise
881
+ if (substr($name, 0, 2) != 'is') {
882
+ throw new BadMethodCallException("No such method exists: $name");
883
+ }
884
+
885
+ $this->setDetectionType(self::DETECTION_TYPE_MOBILE);
886
+
887
+ $key = substr($name, 2);
888
+
889
+ return $this->matchUAAgainstKey($key);
890
+ }
891
+
892
+ /**
893
+ * Find a detection rule that matches the current User-agent.
894
+ *
895
+ * @param null $userAgent deprecated
896
+ * @return boolean
897
+ */
898
+ protected function matchDetectionRulesAgainstUA($userAgent = null)
899
+ {
900
+ // Begin general search.
901
+ foreach ($this->getRules() as $_regex) {
902
+ if (empty($_regex)) {
903
+ continue;
904
+ }
905
+ if ($this->match($_regex, $userAgent)) {
906
+ return true;
907
+ }
908
+ }
909
+
910
+ return false;
911
+ }
912
+
913
+ /**
914
+ * Search for a certain key in the rules array.
915
+ * If the key is found the try to match the corresponding
916
+ * regex agains the User-Agent.
917
+ *
918
+ * @param string $key
919
+ * @param null $userAgent deprecated
920
+ * @return mixed
921
+ */
922
+ protected function matchUAAgainstKey($key, $userAgent = null)
923
+ {
924
+ // Make the keys lowercase so we can match: isIphone(), isiPhone(), isiphone(), etc.
925
+ $key = strtolower($key);
926
+
927
+ //change the keys to lower case
928
+ $_rules = array_change_key_case($this->getRules());
929
+
930
+ if (array_key_exists($key, $_rules)) {
931
+ if (empty($_rules[$key])) {
932
+ return null;
933
+ }
934
+
935
+ return $this->match($_rules[$key], $userAgent);
936
+ }
937
+
938
+ return false;
939
+ }
940
+
941
+ /**
942
+ * Check if the device is mobile.
943
+ * Returns true if any type of mobile device detected, including special ones
944
+ * @param null $userAgent deprecated
945
+ * @param null $httpHeaders deprecated
946
+ * @return bool
947
+ */
948
+ public function isMobile($userAgent = null, $httpHeaders = null)
949
+ {
950
+
951
+ if ($httpHeaders) {
952
+ $this->setHttpHeaders($httpHeaders);
953
+ }
954
+
955
+ if ($userAgent) {
956
+ $this->setUserAgent($userAgent);
957
+ }
958
+
959
+ $this->setDetectionType(self::DETECTION_TYPE_MOBILE);
960
+
961
+ if ($this->checkHttpHeadersForMobile()) {
962
+ return true;
963
+ } else {
964
+ return $this->matchDetectionRulesAgainstUA();
965
+ }
966
+
967
+ }
968
+
969
+ /**
970
+ * Check if the device is a tablet.
971
+ * Return true if any type of tablet device is detected.
972
+ *
973
+ * @param string $userAgent deprecated
974
+ * @param array $httpHeaders deprecated
975
+ * @return bool
976
+ */
977
+ public function isTablet($userAgent = null, $httpHeaders = null)
978
+ {
979
+ $this->setDetectionType(self::DETECTION_TYPE_MOBILE);
980
+
981
+ foreach (self::$tabletDevices as $_regex) {
982
+ if ($this->match($_regex, $userAgent)) {
983
+ return true;
984
+ }
985
+ }
986
+
987
+ return false;
988
+ }
989
+
990
+ /**
991
+ * This method checks for a certain property in the
992
+ * userAgent.
993
+ * @todo: The httpHeaders part is not yet used.
994
+ *
995
+ * @param string $key
996
+ * @param string $userAgent deprecated
997
+ * @param string $httpHeaders deprecated
998
+ * @return bool|int|null
999
+ */
1000
+ public function is($key, $userAgent = null, $httpHeaders = null)
1001
+ {
1002
+ // Set the UA and HTTP headers only if needed (eg. batch mode).
1003
+ if ($httpHeaders) {
1004
+ $this->setHttpHeaders($httpHeaders);
1005
+ }
1006
+
1007
+ if ($userAgent) {
1008
+ $this->setUserAgent($userAgent);
1009
+ }
1010
+
1011
+ $this->setDetectionType(self::DETECTION_TYPE_EXTENDED);
1012
+
1013
+ return $this->matchUAAgainstKey($key);
1014
+ }
1015
+
1016
+ /**
1017
+ * Some detection rules are relative (not standard),
1018
+ * because of the diversity of devices, vendors and
1019
+ * their conventions in representing the User-Agent or
1020
+ * the HTTP headers.
1021
+ *
1022
+ * This method will be used to check custom regexes against
1023
+ * the User-Agent string.
1024
+ *
1025
+ * @param $regex
1026
+ * @param string $userAgent
1027
+ * @return bool
1028
+ *
1029
+ * @todo: search in the HTTP headers too.
1030
+ */
1031
+ public function match($regex, $userAgent = null)
1032
+ {
1033
+ // Escape the special character which is the delimiter.
1034
+ $regex = str_replace('/', '\/', $regex);
1035
+
1036
+ return (bool) preg_match('/'.$regex.'/is', (!empty($userAgent) ? $userAgent : $this->userAgent));
1037
+ }
1038
+
1039
+ /**
1040
+ * Get the properties array.
1041
+ *
1042
+ * @return array
1043
+ */
1044
+ public static function getProperties()
1045
+ {
1046
+ return self::$properties;
1047
+ }
1048
+
1049
+ /**
1050
+ * Prepare the version number.
1051
+ *
1052
+ * @todo Remove the error supression from str_replace() call.
1053
+ *
1054
+ * @param string $ver The string version, like "2.6.21.2152";
1055
+ *
1056
+ * @return float
1057
+ */
1058
+ public function prepareVersionNo($ver)
1059
+ {
1060
+ $ver = str_replace(array('_', ' ', '/'), '.', $ver);
1061
+ $arrVer = explode('.', $ver, 2);
1062
+
1063
+ if (isset($arrVer[1])) {
1064
+ $arrVer[1] = @str_replace('.', '', $arrVer[1]); // @todo: treat strings versions.
1065
+ }
1066
+
1067
+ return (float) implode('.', $arrVer);
1068
+ }
1069
+
1070
+ /**
1071
+ * Check the version of the given property in the User-Agent.
1072
+ * Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31)
1073
+ *
1074
+ * @param string $propertyName The name of the property. See self::getProperties() array
1075
+ * keys for all possible properties.
1076
+ * @param string $type Either self::VERSION_TYPE_STRING to get a string value or
1077
+ * self::VERSION_TYPE_FLOAT indicating a float value. This parameter
1078
+ * is optional and defaults to self::VERSION_TYPE_STRING. Passing an
1079
+ * invalid parameter will default to the this type as well.
1080
+ *
1081
+ * @return string|float The version of the property we are trying to extract.
1082
+ */
1083
+ public function version($propertyName, $type = self::VERSION_TYPE_STRING)
1084
+ {
1085
+ if (empty($propertyName)) {
1086
+ return false;
1087
+ }
1088
+
1089
+ //set the $type to the default if we don't recognize the type
1090
+ if ($type != self::VERSION_TYPE_STRING && $type != self::VERSION_TYPE_FLOAT) {
1091
+ $type = self::VERSION_TYPE_STRING;
1092
+ }
1093
+
1094
+ $properties = self::getProperties();
1095
+
1096
+ // Check if the property exists in the properties array.
1097
+ if (array_key_exists($propertyName, $properties)) {
1098
+
1099
+ // Prepare the pattern to be matched.
1100
+ // Make sure we always deal with an array (string is converted).
1101
+ $properties[$propertyName] = (array) $properties[$propertyName];
1102
+
1103
+ foreach ($properties[$propertyName] as $propertyMatchString) {
1104
+
1105
+ $propertyPattern = str_replace('[VER]', self::VER, $propertyMatchString);
1106
+
1107
+ // Escape the special character which is the delimiter.
1108
+ $propertyPattern = str_replace('/', '\/', $propertyPattern);
1109
+
1110
+ // Identify and extract the version.
1111
+ preg_match('/'.$propertyPattern.'/is', $this->userAgent, $match);
1112
+
1113
+ if (!empty($match[1])) {
1114
+ $version = ( $type == self::VERSION_TYPE_FLOAT ? $this->prepareVersionNo($match[1]) : $match[1] );
1115
+
1116
+ return $version;
1117
+ }
1118
+
1119
+ }
1120
+
1121
+ }
1122
+
1123
+ return false;
1124
+ }
1125
+
1126
+ /**
1127
+ * Retrieve the mobile grading, using self::MOBILE_GRADE_* constants.
1128
+ *
1129
+ * @return string One of the self::MOBILE_GRADE_* constants.
1130
+ */
1131
+ public function mobileGrade()
1132
+ {
1133
+ $isMobile = $this->isMobile();
1134
+
1135
+ if (
1136
+ // Apple iOS 3.2-5.1 - Tested on the original iPad (4.3 / 5.0), iPad 2 (4.3), iPad 3 (5.1), original iPhone (3.1), iPhone 3 (3.2), 3GS (4.3), 4 (4.3 / 5.0), and 4S (5.1)
1137
+ $this->isIOS() && $this->version('iPad', self::VERSION_TYPE_FLOAT)>=4.3 ||
1138
+ $this->isIOS() && $this->version('iPhone', self::VERSION_TYPE_FLOAT)>=3.1 ||
1139
+ $this->isIOS() && $this->version('iPod', self::VERSION_TYPE_FLOAT)>=3.1 ||
1140
+
1141
+ // Android 2.1-2.3 - Tested on the HTC Incredible (2.2), original Droid (2.2), HTC Aria (2.1), Google Nexus S (2.3). Functional on 1.5 & 1.6 but performance may be sluggish, tested on Google G1 (1.5)
1142
+ // Android 3.1 (Honeycomb) - Tested on the Samsung Galaxy Tab 10.1 and Motorola XOOM
1143
+ // Android 4.0 (ICS) - Tested on a Galaxy Nexus. Note: transition performance can be poor on upgraded devices
1144
+ // Android 4.1 (Jelly Bean) - Tested on a Galaxy Nexus and Galaxy 7
1145
+ ( $this->version('Android', self::VERSION_TYPE_FLOAT)>2.1 && $this->is('Webkit') ) ||
1146
+
1147
+ // Windows Phone 7-7.5 - Tested on the HTC Surround (7.0) HTC Trophy (7.5), LG-E900 (7.5), Nokia Lumia 800
1148
+ $this->version('Windows Phone OS', self::VERSION_TYPE_FLOAT)>=7.0 ||
1149
+
1150
+ // Blackberry 7 - Tested on BlackBerry Torch 9810
1151
+ // Blackberry 6.0 - Tested on the Torch 9800 and Style 9670
1152
+ $this->is('BlackBerry') && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT)>=6.0 ||
1153
+ // Blackberry Playbook (1.0-2.0) - Tested on PlayBook
1154
+ $this->match('Playbook.*Tablet') ||
1155
+
1156
+ // Palm WebOS (1.4-2.0) - Tested on the Palm Pixi (1.4), Pre (1.4), Pre 2 (2.0)
1157
+ ( $this->version('webOS', self::VERSION_TYPE_FLOAT)>=1.4 && $this->match('Palm|Pre|Pixi') ) ||
1158
+ // Palm WebOS 3.0 - Tested on HP TouchPad
1159
+ $this->match('hp.*TouchPad') ||
1160
+
1161
+ // Firefox Mobile (12 Beta) - Tested on Android 2.3 device
1162
+ ( $this->is('Firefox') && $this->version('Firefox', self::VERSION_TYPE_FLOAT)>=12 ) ||
1163
+
1164
+ // Chrome for Android - Tested on Android 4.0, 4.1 device
1165
+ ( $this->is('Chrome') && $this->is('AndroidOS') && $this->version('Android', self::VERSION_TYPE_FLOAT)>=4.0 ) ||
1166
+
1167
+ // Skyfire 4.1 - Tested on Android 2.3 device
1168
+ ( $this->is('Skyfire') && $this->version('Skyfire', self::VERSION_TYPE_FLOAT)>=4.1 && $this->is('AndroidOS') && $this->version('Android', self::VERSION_TYPE_FLOAT)>=2.3 ) ||
1169
+
1170
+ // Opera Mobile 11.5-12: Tested on Android 2.3
1171
+ ( $this->is('Opera') && $this->version('Opera Mobi', self::VERSION_TYPE_FLOAT)>11 && $this->is('AndroidOS') ) ||
1172
+
1173
+ // Meego 1.2 - Tested on Nokia 950 and N9
1174
+ $this->is('MeeGoOS') ||
1175
+
1176
+ // Tizen (pre-release) - Tested on early hardware
1177
+ $this->is('Tizen') ||
1178
+
1179
+ // Samsung Bada 2.0 - Tested on a Samsung Wave 3, Dolphin browser
1180
+ // @todo: more tests here!
1181
+ $this->is('Dolfin') && $this->version('Bada', self::VERSION_TYPE_FLOAT)>=2.0 ||
1182
+
1183
+ // UC Browser - Tested on Android 2.3 device
1184
+ ( ($this->is('UC Browser') || $this->is('Dolfin')) && $this->version('Android', self::VERSION_TYPE_FLOAT)>=2.3 ) ||
1185
+
1186
+ // Kindle 3 and Fire - Tested on the built-in WebKit browser for each
1187
+ ( $this->match('Kindle Fire') ||
1188
+ $this->is('Kindle') && $this->version('Kindle', self::VERSION_TYPE_FLOAT)>=3.0 ) ||
1189
+
1190
+ // Nook Color 1.4.1 - Tested on original Nook Color, not Nook Tablet
1191
+ $this->is('AndroidOS') && $this->is('NookTablet') ||
1192
+
1193
+ // Chrome Desktop 11-21 - Tested on OS X 10.7 and Windows 7
1194
+ $this->version('Chrome', self::VERSION_TYPE_FLOAT)>=11 && !$isMobile ||
1195
+
1196
+ // Safari Desktop 4-5 - Tested on OS X 10.7 and Windows 7
1197
+ $this->version('Safari', self::VERSION_TYPE_FLOAT)>=5.0 && !$isMobile ||
1198
+
1199
+ // Firefox Desktop 4-13 - Tested on OS X 10.7 and Windows 7
1200
+ $this->version('Firefox', self::VERSION_TYPE_FLOAT)>=4.0 && !$isMobile ||
1201
+
1202
+ // Internet Explorer 7-9 - Tested on Windows XP, Vista and 7
1203
+ $this->version('MSIE', self::VERSION_TYPE_FLOAT)>=7.0 && !$isMobile ||
1204
+
1205
+ // Opera Desktop 10-12 - Tested on OS X 10.7 and Windows 7
1206
+ // @reference: http://my.opera.com/community/openweb/idopera/
1207
+ $this->version('Opera', self::VERSION_TYPE_FLOAT)>=10 && !$isMobile
1208
+
1209
+ ){
1210
+ return self::MOBILE_GRADE_A;
1211
+ }
1212
+
1213
+ if (
1214
+ $this->isIOS() && $this->version('iPad', self::VERSION_TYPE_FLOAT)<4.3 ||
1215
+ $this->isIOS() && $this->version('iPhone', self::VERSION_TYPE_FLOAT)<3.1 ||
1216
+ $this->isIOS() && $this->version('iPod', self::VERSION_TYPE_FLOAT)<3.1 ||
1217
+
1218
+ // Blackberry 5.0: Tested on the Storm 2 9550, Bold 9770
1219
+ $this->is('Blackberry') && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT)>=5 && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT)<6 ||
1220
+
1221
+ //Opera Mini (5.0-6.5) - Tested on iOS 3.2/4.3 and Android 2.3
1222
+ ( $this->version('Opera Mini', self::VERSION_TYPE_FLOAT)>=5.0 && $this->version('Opera Mini', self::VERSION_TYPE_FLOAT)<=6.5 &&
1223
+ ($this->version('Android', self::VERSION_TYPE_FLOAT)>=2.3 || $this->is('iOS')) ) ||
1224
+
1225
+ // Nokia Symbian^3 - Tested on Nokia N8 (Symbian^3), C7 (Symbian^3), also works on N97 (Symbian^1)
1226
+ $this->match('NokiaN8|NokiaC7|N97.*Series60|Symbian/3') ||
1227
+
1228
+ // @todo: report this (tested on Nokia N71)
1229
+ $this->version('Opera Mobi', self::VERSION_TYPE_FLOAT)>=11 && $this->is('SymbianOS')
1230
+ ){
1231
+ return self::MOBILE_GRADE_B;
1232
+ }
1233
+
1234
+ if (
1235
+ // Blackberry 4.x - Tested on the Curve 8330
1236
+ $this->version('BlackBerry', self::VERSION_TYPE_FLOAT)<5.0 ||
1237
+ // Windows Mobile - Tested on the HTC Leo (WinMo 5.2)
1238
+ $this->match('MSIEMobile|Windows CE.*Mobile') || $this->version('Windows Mobile', self::VERSION_TYPE_FLOAT)<=5.2
1239
+
1240
+ ){
1241
+ return self::MOBILE_GRADE_C;
1242
+ }
1243
+
1244
+ //All older smartphone platforms and featurephones - Any device that doesn't support media queries
1245
+ //will receive the basic, C grade experience.
1246
+ return self::MOBILE_GRADE_C;
1247
+ }
1248
+ }
assets/helper/eds_tinymce_popup.php ADDED
@@ -0,0 +1,219 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html>
2
+ <head>
3
+ <link href='//fonts.googleapis.com/css?family=Roboto:400,100,400italic,700italic,700' rel='stylesheet' type='text/css'>
4
+ <link rel="stylesheet" href="../css/animate.css" />
5
+ <link rel="stylesheet" href="../css/style.css" />
6
+ <script src="../js/jquery-1.11.1.min.js"></script>
7
+ <script src="../js/bootstrap-switch.js"></script>
8
+ <script language="javascript" type="text/javascript" src="../../../../../wp-includes/js/tinymce/tiny_mce_popup.js"></script>
9
+ </head>
10
+ <body onload= "tinyMCEPopup.executeOnLoad('init();');" >
11
+ <header class="site__header island">
12
+ <div class="wrap">
13
+ <span id="animationSandbox" style="display: block;"><h1 class="site__title mega animateit-icon"> </h1></span>
14
+ <span class="beta subhead">Select your animation style:</span>
15
+ </div>
16
+ </header>
17
+ <main class="site__content island" role="content">
18
+ <div class="wrap">
19
+ <form name = "edsanimate_form" id = "edsanimate_form">
20
+ <table width="570" cellspacing="15" cellpadding="15">
21
+ <tr>
22
+ <td>Animation Style: </td>
23
+ <td>
24
+ <select id="eds_style" name= "eds_style" class="input input--dropdown js--animations">
25
+ <optgroup label="Attention Seekers">
26
+ <option value="bounce">bounce</option>
27
+ <option value="flash">flash</option>
28
+ <option value="pulse">pulse</option>
29
+ <option value="rubberBand">rubberBand</option>
30
+ <option value="shake">shake</option>
31
+ <option value="swing">swing</option>
32
+ <option value="tada">tada</option>
33
+ <option value="wobble">wobble</option>
34
+ </optgroup>
35
+
36
+ <optgroup label="Bouncing Entrances">
37
+ <option value="bounceIn">bounceIn</option>
38
+ <option value="bounceInDown">bounceInDown</option>
39
+ <option value="bounceInLeft">bounceInLeft</option>
40
+ <option value="bounceInRight">bounceInRight</option>
41
+ <option value="bounceInUp">bounceInUp</option>
42
+ </optgroup>
43
+
44
+ <optgroup label="Bouncing Exits">
45
+ <option value="bounceOut">bounceOut</option>
46
+ <option value="bounceOutDown">bounceOutDown</option>
47
+ <option value="bounceOutLeft">bounceOutLeft</option>
48
+ <option value="bounceOutRight">bounceOutRight</option>
49
+ <option value="bounceOutUp">bounceOutUp</option>
50
+ </optgroup>
51
+
52
+ <optgroup label="Fading Entrances">
53
+ <option value="fadeIn">fadeIn</option>
54
+ <option value="fadeInDown">fadeInDown</option>
55
+ <option value="fadeInDownBig">fadeInDownBig</option>
56
+ <option value="fadeInLeft">fadeInLeft</option>
57
+ <option value="fadeInLeftBig">fadeInLeftBig</option>
58
+ <option value="fadeInRight">fadeInRight</option>
59
+ <option value="fadeInRightBig">fadeInRightBig</option>
60
+ <option value="fadeInUp">fadeInUp</option>
61
+ <option value="fadeInUpBig">fadeInUpBig</option>
62
+ </optgroup>
63
+
64
+ <optgroup label="Fading Exits">
65
+ <option value="fadeOut">fadeOut</option>
66
+ <option value="fadeOutDown">fadeOutDown</option>
67
+ <option value="fadeOutDownBig">fadeOutDownBig</option>
68
+ <option value="fadeOutLeft">fadeOutLeft</option>
69
+ <option value="fadeOutLeftBig">fadeOutLeftBig</option>
70
+ <option value="fadeOutRight">fadeOutRight</option>
71
+ <option value="fadeOutRightBig">fadeOutRightBig</option>
72
+ <option value="fadeOutUp">fadeOutUp</option>
73
+ <option value="fadeOutUpBig">fadeOutUpBig</option>
74
+ </optgroup>
75
+
76
+ <optgroup label="Flippers">
77
+ <option value="flip">flip</option>
78
+ <option value="flipInX">flipInX</option>
79
+ <option value="flipInY">flipInY</option>
80
+ <option value="flipOutX">flipOutX</option>
81
+ <option value="flipOutY">flipOutY</option>
82
+ </optgroup>
83
+
84
+ <optgroup label="Lightspeed">
85
+ <option value="lightSpeedIn">lightSpeedIn</option>
86
+ <option value="lightSpeedOut">lightSpeedOut</option>
87
+ </optgroup>
88
+
89
+ <optgroup label="Rotating Entrances">
90
+ <option value="rotateIn">rotateIn</option>
91
+ <option value="rotateInDownLeft">rotateInDownLeft</option>
92
+ <option value="rotateInDownRight">rotateInDownRight</option>
93
+ <option value="rotateInUpLeft">rotateInUpLeft</option>
94
+ <option value="rotateInUpRight">rotateInUpRight</option>
95
+ </optgroup>
96
+
97
+ <optgroup label="Rotating Exits">
98
+ <option value="rotateOut">rotateOut</option>
99
+ <option value="rotateOutDownLeft">rotateOutDownLeft</option>
100
+ <option value="rotateOutDownRight">rotateOutDownRight</option>
101
+ <option value="rotateOutUpLeft">rotateOutUpLeft</option>
102
+ <option value="rotateOutUpRight">rotateOutUpRight</option>
103
+ </optgroup>
104
+
105
+ <optgroup label="Specials">
106
+ <option value="hinge">hinge</option>
107
+ <option value="rollIn">rollIn</option>
108
+ <option value="rollOut">rollOut</option>
109
+ </optgroup>
110
+
111
+ <optgroup label="Zoom Entrances">
112
+ <option value="zoomIn">zoomIn</option>
113
+ <option value="zoomInDown">zoomInDown</option>
114
+ <option value="zoomInLeft">zoomInLeft</option>
115
+ <option value="zoomInRight">zoomInRight</option>
116
+ <option value="zoomInUp">zoomInUp</option>
117
+ </optgroup>
118
+
119
+ <optgroup label="Zoom Exits">
120
+ <option value="zoomOut">zoomOut</option>
121
+ <option value="zoomOutDown">zoomOutDown</option>
122
+ <option value="zoomOutLeft">zoomOutLeft</option>
123
+ <option value="zoomOutRight">zoomOutRight</option>
124
+ <option value="zoomOutUp">zoomOutUp</option>
125
+ </optgroup>
126
+ </select>
127
+
128
+ </td>
129
+ <td width="150">
130
+ <button class="butt js--triggerAnimation button-animate-it">Animate it</button>
131
+ </td>
132
+ </tr>
133
+ <tr>
134
+ <td>Delay (in seconds): </td>
135
+ <td colspan="2">
136
+ <select id="eds_delay" name="eds_delay" class = "input input--dropdown">
137
+ <option value="">None</option>
138
+ <option value="1">0.5 </option>
139
+ <option value="2">1.0 </option>
140
+ <option value="3">1.5 </option>
141
+ <option value="4">2.0 </option>
142
+ <option value="5">2.5 </option>
143
+ <option value="6">3.0 </option>
144
+ <option value="7">3.5 </option>
145
+ <option value="8">4.0 </option>
146
+ <option value="9">4.5 </option>
147
+ <option value="10">5.0 </option>
148
+ <option value="11">5.5 </option>
149
+ <option value="12">6.0 </option>
150
+ </select>
151
+ </td>
152
+ </tr>
153
+ <tr>
154
+ <td>Animate On Scroll: </td>
155
+ <td colspan="2">
156
+ <input type="checkbox" data-size="large" name="eds_onscroll" data-on-text="Yes" data-off-text="No">
157
+ </td>
158
+ </tr>
159
+ <tr>
160
+ <td colspan="3" style="text-align: center;">
161
+ <button class="butt button-animate-it-green" onClick="insertEDSAnimate()">Insert</button>
162
+ <button class="butt button-animate-it-cancel" onclick="tinyMCEPopup.close();">Cancel</button>
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <td colspan="3" style="text-align: center;">
167
+ Powered by <a href="http://www.eleopard.in/" target="_blank">eLEOPARD</a> and <a href="http://daneden.github.io/animate.css/" target="_blank">Animate.css</a>
168
+ </td>
169
+ </tr>
170
+ </table>
171
+ </form>
172
+ </div>
173
+ </main>
174
+
175
+
176
+ <script>
177
+ function testAnim(x) {
178
+ $('#animationSandbox').removeClass().addClass(x + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
179
+ $(this).removeClass();
180
+ });
181
+ };
182
+
183
+ $(document).ready(function(){
184
+ $("input[name=eds_onscroll]").bootstrapSwitch();
185
+ $('.js--triggerAnimation').click(function(e){
186
+ e.preventDefault();
187
+ var anim = $('.js--animations').val();
188
+ testAnim(anim);
189
+ });
190
+
191
+ $('.js--animations').change(function(){
192
+ var anim = $(this).val();
193
+ testAnim(anim);
194
+ });
195
+ });
196
+
197
+ </script>
198
+ <script type= "text/javascript">
199
+ function insertEDSAnimate()
200
+ {
201
+ var shortCode = "[edsanimate animation=\"";
202
+ var hForm = document.edsanimate_form;
203
+ shortCode += hForm.eds_style.value + "\" " ;
204
+ if( hForm.eds_delay.value!="")
205
+ shortCode += " delay=\"" + hForm.eds_delay.value + "\" ";
206
+
207
+ shortCode += ((hForm.eds_onscroll.checked)?' on_scroll="yes"] ':' on_scroll="no"]');
208
+
209
+ shortCode += "<h3>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</h3><p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type</p>";
210
+
211
+ shortCode += "[/edsanimate]";
212
+
213
+ tinyMCEPopup.editor.execCommand('mceInsertContent', false, shortCode);
214
+ tinyMCEPopup.close();
215
+
216
+ }
217
+ </script>
218
+ </body>
219
+ </html>
assets/images/badge.png ADDED
Binary file
assets/images/edsanimate.png ADDED
Binary file
assets/js/bootstrap-switch.js ADDED
@@ -0,0 +1,532 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ========================================================================
2
+ * bootstrap-switch - v3.0.2
3
+ * http://www.bootstrap-switch.org
4
+ * ========================================================================
5
+ * Copyright 2012-2013 Mattia Larentis
6
+ *
7
+ * ========================================================================
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ * ========================================================================
20
+ */
21
+
22
+ (function() {
23
+ var __slice = [].slice;
24
+
25
+ (function($, window) {
26
+ "use strict";
27
+ var BootstrapSwitch;
28
+ BootstrapSwitch = (function() {
29
+ function BootstrapSwitch(element, options) {
30
+ if (options == null) {
31
+ options = {};
32
+ }
33
+ this.$element = $(element);
34
+ this.options = $.extend({}, $.fn.bootstrapSwitch.defaults, {
35
+ state: this.$element.is(":checked"),
36
+ size: this.$element.data("size"),
37
+ animate: this.$element.data("animate"),
38
+ disabled: this.$element.is(":disabled"),
39
+ readonly: this.$element.is("[readonly]"),
40
+ indeterminate: this.$element.data("indeterminate"),
41
+ onColor: this.$element.data("on-color"),
42
+ offColor: this.$element.data("off-color"),
43
+ onText: this.$element.data("on-text"),
44
+ offText: this.$element.data("off-text"),
45
+ labelText: this.$element.data("label-text"),
46
+ baseClass: this.$element.data("base-class"),
47
+ wrapperClass: this.$element.data("wrapper-class"),
48
+ radioAllOff: this.$element.data("radio-all-off")
49
+ }, options);
50
+ this.$wrapper = $("<div>", {
51
+ "class": (function(_this) {
52
+ return function() {
53
+ var classes;
54
+ classes = ["" + _this.options.baseClass].concat(_this._getClasses(_this.options.wrapperClass));
55
+ classes.push(_this.options.state ? "" + _this.options.baseClass + "-on" : "" + _this.options.baseClass + "-off");
56
+ if (_this.options.size != null) {
57
+ classes.push("" + _this.options.baseClass + "-" + _this.options.size);
58
+ }
59
+ if (_this.options.animate) {
60
+ classes.push("" + _this.options.baseClass + "-animate");
61
+ }
62
+ if (_this.options.disabled) {
63
+ classes.push("" + _this.options.baseClass + "-disabled");
64
+ }
65
+ if (_this.options.readonly) {
66
+ classes.push("" + _this.options.baseClass + "-readonly");
67
+ }
68
+ if (_this.options.indeterminate) {
69
+ classes.push("" + _this.options.baseClass + "-indeterminate");
70
+ }
71
+ if (_this.$element.attr("id")) {
72
+ classes.push("" + _this.options.baseClass + "-id-" + (_this.$element.attr("id")));
73
+ }
74
+ return classes.join(" ");
75
+ };
76
+ })(this)()
77
+ });
78
+ this.$container = $("<div>", {
79
+ "class": "" + this.options.baseClass + "-container"
80
+ });
81
+ this.$on = $("<span>", {
82
+ html: this.options.onText,
83
+ "class": "" + this.options.baseClass + "-handle-on " + this.options.baseClass + "-" + this.options.onColor
84
+ });
85
+ this.$off = $("<span>", {
86
+ html: this.options.offText,
87
+ "class": "" + this.options.baseClass + "-handle-off " + this.options.baseClass + "-" + this.options.offColor
88
+ });
89
+ this.$label = $("<label>", {
90
+ html: this.options.labelText,
91
+ "class": "" + this.options.baseClass + "-label"
92
+ });
93
+ if (this.options.indeterminate) {
94
+ this.$element.prop("indeterminate", true);
95
+ }
96
+ this.$element.on("init.bootstrapSwitch", (function(_this) {
97
+ return function() {
98
+ return _this.options.onInit.apply(element, arguments);
99
+ };
100
+ })(this));
101
+ this.$element.on("switchChange.bootstrapSwitch", (function(_this) {
102
+ return function() {
103
+ return _this.options.onSwitchChange.apply(element, arguments);
104
+ };
105
+ })(this));
106
+ this.$container = this.$element.wrap(this.$container).parent();
107
+ this.$wrapper = this.$container.wrap(this.$wrapper).parent();
108
+ this.$element.before(this.$on).before(this.$label).before(this.$off).trigger("init.bootstrapSwitch");
109
+ this._elementHandlers();
110
+ this._handleHandlers();
111
+ this._labelHandlers();
112
+ this._formHandler();
113
+ }
114
+
115
+ BootstrapSwitch.prototype._constructor = BootstrapSwitch;
116
+
117
+ BootstrapSwitch.prototype.state = function(value, skip) {
118
+ if (typeof value === "undefined") {
119
+ return this.options.state;
120
+ }
121
+ if (this.options.disabled || this.options.readonly || this.options.indeterminate) {
122
+ return this.$element;
123
+ }
124
+ if (this.options.state && !this.options.radioAllOff && this.$element.is(':radio')) {
125
+ return this.$element;
126
+ }
127
+ value = !!value;
128
+ this.$element.prop("checked", value).trigger("change.bootstrapSwitch", skip);
129
+ return this.$element;
130
+ };
131
+
132
+ BootstrapSwitch.prototype.toggleState = function(skip) {
133
+ if (this.options.disabled || this.options.readonly || this.options.indeterminate) {
134
+ return this.$element;
135
+ }
136
+ return this.$element.prop("checked", !this.options.state).trigger("change.bootstrapSwitch", skip);
137
+ };
138
+
139
+ BootstrapSwitch.prototype.size = function(value) {
140
+ if (typeof value === "undefined") {
141
+ return this.options.size;
142
+ }
143
+ if (this.options.size != null) {
144
+ this.$wrapper.removeClass("" + this.options.baseClass + "-" + this.options.size);
145
+ }
146
+ if (value) {
147
+ this.$wrapper.addClass("" + this.options.baseClass + "-" + value);
148
+ }
149
+ this.options.size = value;
150
+ return this.$element;
151
+ };
152
+
153
+ BootstrapSwitch.prototype.animate = function(value) {
154
+ if (typeof value === "undefined") {
155
+ return this.options.animate;
156
+ }
157
+ value = !!value;
158
+ this.$wrapper[value ? "addClass" : "removeClass"]("" + this.options.baseClass + "-animate");
159
+ this.options.animate = value;
160
+ return this.$element;
161
+ };
162
+
163
+ BootstrapSwitch.prototype.disabled = function(value) {
164
+ if (typeof value === "undefined") {
165
+ return this.options.disabled;
166
+ }
167
+ value = !!value;
168
+ this.$wrapper[value ? "addClass" : "removeClass"]("" + this.options.baseClass + "-disabled");
169
+ this.$element.prop("disabled", value);
170
+ this.options.disabled = value;
171
+ return this.$element;
172
+ };
173
+
174
+ BootstrapSwitch.prototype.toggleDisabled = function() {
175
+ this.$element.prop("disabled", !this.options.disabled);
176
+ this.$wrapper.toggleClass("" + this.options.baseClass + "-disabled");
177
+ this.options.disabled = !this.options.disabled;
178
+ return this.$element;
179
+ };
180
+
181
+ BootstrapSwitch.prototype.readonly = function(value) {
182
+ if (typeof value === "undefined") {
183
+ return this.options.readonly;
184
+ }
185
+ value = !!value;
186
+ this.$wrapper[value ? "addClass" : "removeClass"]("" + this.options.baseClass + "-readonly");
187
+ this.$element.prop("readonly", value);
188
+ this.options.readonly = value;
189
+ return this.$element;
190
+ };
191
+
192
+ BootstrapSwitch.prototype.toggleReadonly = function() {
193
+ this.$element.prop("readonly", !this.options.readonly);
194
+ this.$wrapper.toggleClass("" + this.options.baseClass + "-readonly");
195
+ this.options.readonly = !this.options.readonly;
196
+ return this.$element;
197
+ };
198
+
199
+ BootstrapSwitch.prototype.indeterminate = function(value) {
200
+ if (typeof value === "undefined") {
201
+ return this.options.indeterminate;
202
+ }
203
+ value = !!value;
204
+ this.$wrapper[value ? "addClass" : "removeClass"]("" + this.options.baseClass + "-indeterminate");
205
+ this.$element.prop("indeterminate", value);
206
+ this.options.indeterminate = value;
207
+ return this.$element;
208
+ };
209
+
210
+ BootstrapSwitch.prototype.toggleIndeterminate = function() {
211
+ this.$element.prop("indeterminate", !this.options.indeterminate);
212
+ this.$wrapper.toggleClass("" + this.options.baseClass + "-indeterminate");
213
+ this.options.indeterminate = !this.options.indeterminate;
214
+ return this.$element;
215
+ };
216
+
217
+ BootstrapSwitch.prototype.onColor = function(value) {
218
+ var color;
219
+ color = this.options.onColor;
220
+ if (typeof value === "undefined") {
221
+ return color;
222
+ }
223
+ if (color != null) {
224
+ this.$on.removeClass("" + this.options.baseClass + "-" + color);
225
+ }
226
+ this.$on.addClass("" + this.options.baseClass + "-" + value);
227
+ this.options.onColor = value;
228
+ return this.$element;
229
+ };
230
+
231
+ BootstrapSwitch.prototype.offColor = function(value) {
232
+ var color;
233
+ color = this.options.offColor;
234
+ if (typeof value === "undefined") {
235
+ return color;
236
+ }
237
+ if (color != null) {
238
+ this.$off.removeClass("" + this.options.baseClass + "-" + color);
239
+ }
240
+ this.$off.addClass("" + this.options.baseClass + "-" + value);
241
+ this.options.offColor = value;
242
+ return this.$element;
243
+ };
244
+
245
+ BootstrapSwitch.prototype.onText = function(value) {
246
+ if (typeof value === "undefined") {
247
+ return this.options.onText;
248
+ }
249
+ this.$on.html(value);
250
+ this.options.onText = value;
251
+ return this.$element;
252
+ };
253
+
254
+ BootstrapSwitch.prototype.offText = function(value) {
255
+ if (typeof value === "undefined") {
256
+ return this.options.offText;
257
+ }
258
+ this.$off.html(value);
259
+ this.options.offText = value;
260
+ return this.$element;
261
+ };
262
+
263
+ BootstrapSwitch.prototype.labelText = function(value) {
264
+ if (typeof value === "undefined") {
265
+ return this.options.labelText;
266
+ }
267
+ this.$label.html(value);
268
+ this.options.labelText = value;
269
+ return this.$element;
270
+ };
271
+
272
+ BootstrapSwitch.prototype.baseClass = function(value) {
273
+ return this.options.baseClass;
274
+ };
275
+
276
+ BootstrapSwitch.prototype.wrapperClass = function(value) {
277
+ if (typeof value === "undefined") {
278
+ return this.options.wrapperClass;
279
+ }
280
+ if (!value) {
281
+ value = $.fn.bootstrapSwitch.defaults.wrapperClass;
282
+ }
283
+ this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" "));
284
+ this.$wrapper.addClass(this._getClasses(value).join(" "));
285
+ this.options.wrapperClass = value;
286
+ return this.$element;
287
+ };
288
+
289
+ BootstrapSwitch.prototype.radioAllOff = function(value) {
290
+ if (typeof value === "undefined") {
291
+ return this.options.radioAllOff;
292
+ }
293
+ this.options.radioAllOff = value;
294
+ return this.$element;
295
+ };
296
+
297
+ BootstrapSwitch.prototype.onInit = function(value) {
298
+ if (typeof value === "undefined") {
299
+ return this.options.onInit;
300
+ }
301
+ if (!value) {
302
+ value = $.fn.bootstrapSwitch.defaults.onInit;
303
+ }
304
+ this.options.onInit = value;
305
+ return this.$element;
306
+ };
307
+
308
+ BootstrapSwitch.prototype.onSwitchChange = function(value) {
309
+ if (typeof value === "undefined") {
310
+ return this.options.onSwitchChange;
311
+ }
312
+ if (!value) {
313
+ value = $.fn.bootstrapSwitch.defaults.onSwitchChange;
314
+ }
315
+ this.options.onSwitchChange = value;
316
+ return this.$element;
317
+ };
318
+
319
+ BootstrapSwitch.prototype.destroy = function() {
320
+ var $form;
321
+ $form = this.$element.closest("form");
322
+ if ($form.length) {
323
+ $form.off("reset.bootstrapSwitch").removeData("bootstrap-switch");
324
+ }
325
+ this.$container.children().not(this.$element).remove();
326
+ this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch");
327
+ return this.$element;
328
+ };
329
+
330
+ BootstrapSwitch.prototype._elementHandlers = function() {
331
+ return this.$element.on({
332
+ "change.bootstrapSwitch": (function(_this) {
333
+ return function(e, skip) {
334
+ var checked;
335
+ e.preventDefault();
336
+ e.stopImmediatePropagation();
337
+ checked = _this.$element.is(":checked");
338
+ if (checked === _this.options.state) {
339
+ return;
340
+ }
341
+ _this.options.state = checked;
342
+ _this.$wrapper.removeClass(checked ? "" + _this.options.baseClass + "-off" : "" + _this.options.baseClass + "-on").addClass(checked ? "" + _this.options.baseClass + "-on" : "" + _this.options.baseClass + "-off");
343
+ if (!skip) {
344
+ if (_this.$element.is(":radio")) {
345
+ $("[name='" + (_this.$element.attr('name')) + "']").not(_this.$element).prop("checked", false).trigger("change.bootstrapSwitch", true);
346
+ }
347
+ return _this.$element.trigger("switchChange.bootstrapSwitch", [checked]);
348
+ }
349
+ };
350
+ })(this),
351
+ "focus.bootstrapSwitch": (function(_this) {
352
+ return function(e) {
353
+ e.preventDefault();
354
+ return _this.$wrapper.addClass("" + _this.options.baseClass + "-focused");
355
+ };
356
+ })(this),
357
+ "blur.bootstrapSwitch": (function(_this) {
358
+ return function(e) {
359
+ e.preventDefault();
360
+ return _this.$wrapper.removeClass("" + _this.options.baseClass + "-focused");
361
+ };
362
+ })(this),
363
+ "keydown.bootstrapSwitch": (function(_this) {
364
+ return function(e) {
365
+ if (!e.which || _this.options.disabled || _this.options.readonly || _this.options.indeterminate) {
366
+ return;
367
+ }
368
+ switch (e.which) {
369
+ case 37:
370
+ e.preventDefault();
371
+ e.stopImmediatePropagation();
372
+ return _this.state(false);
373
+ case 39:
374
+ e.preventDefault();
375
+ e.stopImmediatePropagation();
376
+ return _this.state(true);
377
+ }
378
+ };
379
+ })(this)
380
+ });
381
+ };
382
+
383
+ BootstrapSwitch.prototype._handleHandlers = function() {
384
+ this.$on.on("click.bootstrapSwitch", (function(_this) {
385
+ return function(e) {
386
+ _this.state(false);
387
+ return _this.$element.trigger("focus.bootstrapSwitch");
388
+ };
389
+ })(this));
390
+ return this.$off.on("click.bootstrapSwitch", (function(_this) {
391
+ return function(e) {
392
+ _this.state(true);
393
+ return _this.$element.trigger("focus.bootstrapSwitch");
394
+ };
395
+ })(this));
396
+ };
397
+
398
+ BootstrapSwitch.prototype._labelHandlers = function() {
399
+ return this.$label.on({
400
+ "mousemove.bootstrapSwitch touchmove.bootstrapSwitch": (function(_this) {
401
+ return function(e) {
402
+ var left, pageX, percent, right;
403
+ if (!_this.isLabelDragging) {
404
+ return;
405
+ }
406
+ e.preventDefault();
407
+ _this.isLabelDragged = true;
408
+ pageX = e.pageX || e.originalEvent.touches[0].pageX;
409
+ percent = ((pageX - _this.$wrapper.offset().left) / _this.$wrapper.width()) * 100;
410
+ left = 25;
411
+ right = 75;
412
+ if (_this.options.animate) {
413
+ _this.$wrapper.removeClass("" + _this.options.baseClass + "-animate");
414
+ }
415
+ if (percent < left) {
416
+ percent = left;
417
+ } else if (percent > right) {
418
+ percent = right;
419
+ }
420
+ _this.$container.css("margin-left", "" + (percent - right) + "%");
421
+ return _this.$element.trigger("focus.bootstrapSwitch");
422
+ };
423
+ })(this),
424
+ "mousedown.bootstrapSwitch touchstart.bootstrapSwitch": (function(_this) {
425
+ return function(e) {
426
+ if (_this.isLabelDragging || _this.options.disabled || _this.options.readonly || _this.options.indeterminate) {
427
+ return;
428
+ }
429
+ e.preventDefault();
430
+ _this.isLabelDragging = true;
431
+ return _this.$element.trigger("focus.bootstrapSwitch");
432
+ };
433
+ })(this),
434
+ "mouseup.bootstrapSwitch touchend.bootstrapSwitch": (function(_this) {
435
+ return function(e) {
436
+ if (!_this.isLabelDragging) {
437
+ return;
438
+ }
439
+ e.preventDefault();
440
+ if (_this.isLabelDragged) {
441
+ _this.isLabelDragged = false;
442
+ _this.state(parseInt(_this.$container.css("margin-left"), 10) > -(_this.$container.width() / 6));
443
+ if (_this.options.animate) {
444
+ _this.$wrapper.addClass("" + _this.options.baseClass + "-animate");
445
+ }
446
+ _this.$container.css("margin-left", "");
447
+ } else {
448
+ _this.state(!_this.options.state);
449
+ }
450
+ return _this.isLabelDragging = false;
451
+ };
452
+ })(this),
453
+ "mouseleave.bootstrapSwitch": (function(_this) {
454
+ return function(e) {
455
+ return _this.$label.trigger("mouseup.bootstrapSwitch");
456
+ };
457
+ })(this)
458
+ });
459
+ };
460
+
461
+ BootstrapSwitch.prototype._formHandler = function() {
462
+ var $form;
463
+ $form = this.$element.closest("form");
464
+ if ($form.data("bootstrap-switch")) {
465
+ return;
466
+ }
467
+ return $form.on("reset.bootstrapSwitch", function() {
468
+ return window.setTimeout(function() {
469
+ return $form.find("input").filter(function() {
470
+ return $(this).data("bootstrap-switch");
471
+ }).each(function() {
472
+ return $(this).bootstrapSwitch("state", this.checked);
473
+ });
474
+ }, 1);
475
+ }).data("bootstrap-switch", true);
476
+ };
477
+
478
+ BootstrapSwitch.prototype._getClasses = function(classes) {
479
+ var c, cls, _i, _len;
480
+ if (!$.isArray(classes)) {
481
+ return ["" + this.options.baseClass + "-" + classes];
482
+ }
483
+ cls = [];
484
+ for (_i = 0, _len = classes.length; _i < _len; _i++) {
485
+ c = classes[_i];
486
+ cls.push("" + this.options.baseClass + "-" + c);
487
+ }
488
+ return cls;
489
+ };
490
+
491
+ return BootstrapSwitch;
492
+
493
+ })();
494
+ $.fn.bootstrapSwitch = function() {
495
+ var args, option, ret;
496
+ option = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
497
+ ret = this;
498
+ this.each(function() {
499
+ var $this, data;
500
+ $this = $(this);
501
+ data = $this.data("bootstrap-switch");
502
+ if (!data) {
503
+ $this.data("bootstrap-switch", data = new BootstrapSwitch(this, option));
504
+ }
505
+ if (typeof option === "string") {
506
+ return ret = data[option].apply(data, args);
507
+ }
508
+ });
509
+ return ret;
510
+ };
511
+ $.fn.bootstrapSwitch.Constructor = BootstrapSwitch;
512
+ return $.fn.bootstrapSwitch.defaults = {
513
+ state: true,
514
+ size: null,
515
+ animate: true,
516
+ disabled: false,
517
+ readonly: false,
518
+ indeterminate: false,
519
+ onColor: "primary",
520
+ offColor: "default",
521
+ onText: "ON",
522
+ offText: "OFF",
523
+ labelText: "&nbsp;",
524
+ baseClass: "bootstrap-switch",
525
+ wrapperClass: "wrapper",
526
+ radioAllOff: false,
527
+ onInit: function() {},
528
+ onSwitchChange: function() {}
529
+ };
530
+ })(window.jQuery, window);
531
+
532
+ }).call(this);
assets/js/eds_tinymce.js ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function() {
2
+ tinymce.create('tinymce.plugins.EDSAnimate', {
3
+ init : function(editor, url) {
4
+ editor.addButton('edsanimate', {
5
+ title : 'Animate It!',
6
+ icon : true,
7
+ image : url+'/../images/edsanimate.png',
8
+ onclick : function() {
9
+ editor.windowManager.open({
10
+ file : url + '/../helper/eds_tinymce_popup.php',
11
+ width : window.innerWidth-100,
12
+ height : window.innerHeight-100,
13
+ inline : 1
14
+ }, {
15
+ plugin_url : url // Plugin absolute URL
16
+ });
17
+ }
18
+ });
19
+ },
20
+ createControl : function(n, cm) {
21
+ return null;
22
+ },
23
+ getInfo : function() {
24
+ return {
25
+ longname : "Animate It! ShortCode",
26
+ author : 'Eleopard Design Studios Pvt. Ltd.',
27
+ authorurl : 'http://eleopard.in/',
28
+ infourl : 'http://downloads.eleopard.in/',
29
+ version : "1.0"
30
+ };
31
+ }
32
+ });
33
+ tinymce.PluginManager.add('edsanimate', tinymce.plugins.EDSAnimate);
34
+ })();
assets/js/edsanimate.js ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Plugin Name: Animate It!
3
+ * Plugin URI: http://www.eleopard.in
4
+ * Description: It will allow user to add CSS Animations
5
+ * Version: 1.0
6
+ * Author: eLEOPARD Design Studios Pvt Ltd.
7
+ * Author URI: http://www.eleopard.in
8
+ * License: GNU General Public License version 2 or later; see LICENSE.txt
9
+ * http://www.gnu.org/copyleft/gpl.html GNU/GPL
10
+ (C) 2014 eLEOPARD Design Studios Pvt Ltd. All rights reserved
11
+
12
+ This program is free software; you can redistribute it and/or modify
13
+ it under the terms of the GNU General Public License, version 2, as
14
+ published by the Free Software Foundation.
15
+
16
+ This program is distributed in the hope that it will be useful,
17
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ GNU General Public License for more details.
20
+
21
+ You should have received a copy of the GNU General Public License
22
+ along with this program; if not, write to the Free Software
23
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
+
25
+ or see <http://www.gnu.org/licenses/>.
26
+ * For any other query please contact us at contact[at]eleopard[dot]in
27
+ */
28
+ (function($) {
29
+ $(document).ready(function(){
30
+ var animationStyleClasses = ["animated", "bounce", "flash", "pulse", "rubberBand", "shake", "swing", "tada", "wobble", "bounceIn", "bounceInDown", "bounceInLeft", "bounceInRight", "bounceInUp", "bounceOut", "bounceOutDown", "bounceOutLeft", "bounceOutRight", "bounceOutUp", "fadeIn", "fadeInDown", "fadeInDownBig", "fadeInLeft", "fadeInLeftBig", "fadeInRight", "fadeInRightBig", "fadeInUp", "fadeInUpBig", "fadeOut", "fadeOutDown", "fadeOutDownBig", "fadeOutLeft", "fadeOutLeftBig", "fadeOutRight", "fadeOutRightBig", "fadeOutUp", "fadeOutUpBig", "flip", "flipInX", "flipInY", "flipOutX", "flipOutY", "lightSpeedIn", "lightSpeedOut", "rotateIn", "rotateInDownLeft", "rotateInDownRight", "rotateInUpLeft", "rotateInUpRight", "rotateOut", "rotateOutDownLeft", "rotateOutDownRight", "rotateOutUpLeft", "rotateOutUpRight", "hinge", "rollIn", "rollOut", "zoomIn", "zoomInDown", "zoomInLeft", "zoomInRight", "zoomInUp", "zoomOut", "zoomOutDown", "zoomOutLeft", "zoomOutRight", "zoomOutUp"];
31
+ var delayClasses = ["delay1", "delay2", "delay3", "delay4", "delay5", "delay6", "delay7", "delay8", "delay9", "delay10", "delay11", "delay12"];
32
+ var scrollOffset = scroll_offset;
33
+
34
+ $('.eds-on-scroll').each(function(){
35
+ var $module = $(this);
36
+
37
+ if($module.hasClass('custom'))
38
+ {
39
+ $module.removeClass(function(index, className){
40
+ var removeClassList = "";
41
+ var classList = className.trim().split(/\s+/);
42
+ $.each(classList, function(index, value){
43
+ if((value=='eds-on-scroll')
44
+ || ($.inArray(value, animationStyleClasses)!==-1)
45
+ || ($.inArray(value, delayClasses)!==-1))
46
+ removeClassList += " " + value;
47
+ });
48
+
49
+ return removeClassList;
50
+ });
51
+ }
52
+ else
53
+ {
54
+ var classesToAdd = " eds-scroll-visible ";
55
+
56
+ $module.removeClass(function(index, className){
57
+ var removeClassList = "";
58
+ var classList = className.trim().split(/\s+/);
59
+ $.each(classList, function(index, value){
60
+ if(($.inArray(value, animationStyleClasses)!==-1)
61
+ || ($.inArray(value, delayClasses)!==-1))
62
+ removeClassList += " " + value;
63
+ });
64
+
65
+ classesToAdd += removeClassList;
66
+ return removeClassList;
67
+ });
68
+
69
+ $module.addClass("eds-scroll-hidden");
70
+
71
+ $module.viewportChecker({
72
+ classToAdd: classesToAdd,
73
+ offset: scrollOffset
74
+ });
75
+
76
+ }
77
+
78
+ });
79
+ });
80
+ })(jQuery);
assets/js/jquery-1.11.1.min.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
2
+ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;
3
+ if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=m._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cb()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===cb()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ab:bb):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ab,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ab,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ab,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=bb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=bb),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function db(a){var b=eb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fb=/ jQuery\d+="(?:null|\d+)"/g,gb=new RegExp("<(?:"+eb+")[\\s/>]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,mb=/<(?:script|style|link)/i,nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ob=/^$|\/(?:java|ecma)script/i,pb=/^true\/(.*)/,qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?"<table>"!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Cb[0].contentWindow||Cb[0].contentDocument).document,b.write(),b.close(),c=Eb(a,b),Cb.detach()),Db[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Gb=/^margin/,Hb=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ib,Jb,Kb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ib=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Hb.test(g)&&Gb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ib=function(a){return a.currentStyle},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Hb.test(g)&&!Kb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Lb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Mb=/alpha\([^)]*\)/i,Nb=/opacity\s*=\s*([^)]*)/,Ob=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+S+")(.*)$","i"),Qb=new RegExp("^([+-])=("+S+")","i"),Rb={position:"absolute",visibility:"hidden",display:"block"},Sb={letterSpacing:"0",fontWeight:"400"},Tb=["Webkit","O","Moz","ms"];function Ub(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Tb.length;while(e--)if(b=Tb[e]+c,b in a)return b;return d}function Vb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fb(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wb(a,b,c){var d=Pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Yb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ib(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Jb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Hb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xb(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Jb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ub(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ub(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Jb(a,b,d)),"normal"===f&&b in Sb&&(f=Sb[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Ob.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Rb,function(){return Yb(a,b,d)}):Yb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ib(a);return Wb(a,c,d?Xb(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Mb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Mb.test(f)?f.replace(Mb,e):f+" "+e)}}),m.cssHooks.marginRight=Lb(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Jb,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Gb.test(a)||(m.cssHooks[a+b].set=Wb)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ib(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Vb(this,!0)},hide:function(){return Vb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Zb(a,b,c,d,e){return new Zb.prototype.init(a,b,c,d,e)}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")
4
+ },cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function(a){var b,c=Zb.propHooks[this.prop];return this.pos=b=this.options.duration?m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Zb.propHooks._default.set(this),this}},Zb.prototype.init.prototype=Zb.prototype,Zb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Zb.propHooks.scrollTop=Zb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Zb.prototype.init,m.fx.step={};var $b,_b,ac=/^(?:toggle|show|hide)$/,bc=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cc=/queueHooks$/,dc=[ic],ec={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bc.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bc.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fc(){return setTimeout(function(){$b=void 0}),$b=m.now()}function gc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hc(a,b,c){for(var d,e=(ec[b]||[]).concat(ec["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ic(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fb(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fb(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ac.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fb(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hc(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jc(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kc(a,b,c){var d,e,f=0,g=dc.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$b||fc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$b||fc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jc(k,j.opts.specialEasing);g>f;f++)if(d=dc[f].call(j,a,k,j.opts))return d;return m.map(k,hc,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kc,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],ec[c]=ec[c]||[],ec[c].unshift(b)},prefilter:function(a,b){b?dc.unshift(a):dc.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kc(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gc(b,!0),a,d,e)}}),m.each({slideDown:gc("show"),slideUp:gc("hide"),slideToggle:gc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($b=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$b=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_b||(_b=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_b),_b=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lc=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mc,nc,oc=m.expr.attrHandle,pc=/^(?:checked|selected)$/i,qc=k.getSetAttribute,rc=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nc:mc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rc&&qc||!pc.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qc?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nc={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rc&&qc||!pc.test(c)?a.setAttribute(!qc&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=oc[b]||m.find.attr;oc[b]=rc&&qc||!pc.test(b)?function(a,b,d){var e,f;return d||(f=oc[b],oc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,oc[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rc&&qc||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mc&&mc.set(a,b,c)}}),qc||(mc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},oc.id=oc.name=oc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mc.set},m.attrHooks.contenteditable={set:function(a,b,c){mc.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sc=/^(?:input|select|textarea|button|object)$/i,tc=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sc.test(a.nodeName)||tc.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var uc=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(uc," ").indexOf(b)>=0)return!0;return!1}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vc=m.now(),wc=/\?/,xc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yc,zc,Ac=/#.*$/,Bc=/([?&])_=[^&]*/,Cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ec=/^(?:GET|HEAD)$/,Fc=/^\/\//,Gc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hc={},Ic={},Jc="*/".concat("*");try{zc=location.href}catch(Kc){zc=y.createElement("a"),zc.href="",zc=zc.href}yc=Gc.exec(zc.toLowerCase())||[];function Lc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mc(a,b,c,d){var e={},f=a===Ic;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nc(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Oc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zc,type:"GET",isLocal:Dc.test(yc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nc(Nc(a,m.ajaxSettings),b):Nc(m.ajaxSettings,a)},ajaxPrefilter:Lc(Hc),ajaxTransport:Lc(Ic),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zc)+"").replace(Ac,"").replace(Fc,yc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yc[1]&&c[2]===yc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yc[3]||("http:"===yc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mc(Hc,k,b,v),2===t)return v;h=k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Ec.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bc.test(e)?e.replace(Bc,"$1_="+vc++):e+(wc.test(e)?"&":"?")+"_="+vc++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mc(Ic,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Oc(k,v,c)),u=Pc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qc=/%20/g,Rc=/\[\]$/,Sc=/\r?\n/g,Tc=/^(?:submit|button|image|reset|file)$/i,Uc=/^(?:input|select|textarea|keygen)/i;function Vc(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rc.test(a)?d(a,e):Vc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vc(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vc(c,a[c],b,e);return d.join("&").replace(Qc,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Uc.test(this.nodeName)&&!Tc.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sc,"\r\n")}}):{name:b.name,value:c.replace(Sc,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zc()||$c()}:Zc;var Wc=0,Xc={},Yc=m.ajaxSettings.xhr();a.ActiveXObject&&m(a).on("unload",function(){for(var a in Xc)Xc[a](void 0,!0)}),k.cors=!!Yc&&"withCredentials"in Yc,Yc=k.ajax=!!Yc,Yc&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xc[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zc(){try{return new a.XMLHttpRequest}catch(b){}}function $c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _c=[],ad=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_c.pop()||m.expando+"_"+vc++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ad.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ad.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ad,"$1"+e):b.jsonp!==!1&&(b.url+=(wc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_c.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bd=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bd)return bd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ed=a.jQuery,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.jQuery===m&&(a.jQuery=ed),m},typeof b===K&&(a.jQuery=a.$=m),m});
assets/js/viewportchecker.js ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($){
2
+ $.fn.viewportChecker = function(useroptions){
3
+
4
+ var options = {
5
+ classToAdd: 'eds-scroll-visible',
6
+ offset: 75,
7
+ callbackFunction: function(elem){}
8
+ };
9
+ $.extend(options, useroptions);
10
+
11
+
12
+ var $elem = this,
13
+ windowHeight = $(window).height();
14
+
15
+ this.checkElements = function(){
16
+
17
+ var scrollElem = ((navigator.userAgent.toLowerCase().indexOf('webkit') != -1) ? 'body' : 'html'),
18
+ viewportTop = $(scrollElem).scrollTop(),
19
+ viewportBottom = (viewportTop + windowHeight);
20
+
21
+ $elem.each(function(){
22
+ var $obj = $(this);
23
+
24
+ if ($obj.hasClass(options.classToAdd)){
25
+ return;
26
+ }
27
+
28
+
29
+ var elemTop = Math.round( $obj.offset().top ) + Math.round(options.offset * $obj.height() * 0.01),
30
+ elemBottom = elemTop + ($obj.height());
31
+
32
+ // Add class if in viewport
33
+ if ((elemTop < viewportBottom) && (elemBottom > viewportTop)){
34
+ $obj.addClass(options.classToAdd);
35
+
36
+
37
+ options.callbackFunction($obj);
38
+ }
39
+ });
40
+ };
41
+
42
+
43
+ $(window).scroll(this.checkElements);
44
+ this.checkElements();
45
+
46
+
47
+ $(window).resize(function(e){
48
+ windowHeight = e.currentTarget.innerHeight;
49
+ });
50
+ };
51
+ })(jQuery);
eds_tinymce.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function add_edsanimate_tinymce_plugin($plugin_array){
3
+
4
+ $plugin_array['edsanimate'] = plugins_url('/assets/js/eds_tinymce.js',__file__);
5
+ return $plugin_array;
6
+
7
+ }
8
+
9
+ function register_edsanimate_button($buttons){
10
+
11
+ array_push($buttons, "|", "edsanimate");
12
+ return $buttons;
13
+
14
+ }
15
+
16
+ function eds_refresh_mce($ver) {
17
+ $ver += 3;
18
+ return $ver;
19
+ }
20
+
21
+ function add_edsanimate_button() {
22
+ if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') )
23
+ return;
24
+ if ( get_user_option('rich_editing') == 'true') {
25
+ add_filter('mce_external_plugins', 'add_edsanimate_tinymce_plugin');
26
+ add_filter('mce_buttons', 'register_edsanimate_button');
27
+ }
28
+ }
29
+
30
+
31
+ add_action('init', 'add_edsanimate_button');
32
+
33
+ add_filter( 'tiny_mce_version', 'eds_refresh_mce');
34
+
35
+
36
+
edsanimate.php ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Plugin Name: Animate It!
4
+ * Plugin URI: http://www.eleopard.in
5
+ * Description: It will allow user to add CSS Animations
6
+ * Version: 1.1
7
+ * Author: eLEOPARD Design Studios
8
+ * Author URI: http://www.eleopard.in
9
+ * License: GNU General Public License version 2 or later; see LICENSE.txt
10
+ * http://www.gnu.org/copyleft/gpl.html GNU/GPL
11
+ (C) 2014 eLEOPARD Design Studios Pvt Ltd. All rights reserved
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+
26
+ or see <http://www.gnu.org/licenses/>.
27
+ * For any other query please contact us at contact[at]eleopard[dot]in
28
+ */
29
+
30
+
31
+ include_once 'assets/helper/Mobile_Detect.php';
32
+ include_once 'eds_tinymce.php';
33
+
34
+
35
+ function detectDevice()
36
+ {
37
+ static $deviceType = null;
38
+ if(!$deviceType)
39
+ {
40
+ $detect = new Mobile_Detect;
41
+ $deviceType = ($detect->isMobile() ? ($detect->isTablet() ? 'tablet' : 'phone') : 'computer');
42
+ }
43
+ return $deviceType;
44
+
45
+ }
46
+
47
+ function set_edsanimate_options(){
48
+ add_option('scroll_offset'
49
+ ,'75'
50
+ ,'Percentage height of the element '.
51
+ 'after which animation should get applied' );
52
+
53
+ add_option('enable_on_phone'
54
+ ,'0'
55
+ ,'Animation should work on smartphones or not.');
56
+
57
+ add_option('enable_on_tab'
58
+ ,'1'
59
+ ,'Animation should work on tablets or not.');
60
+ }
61
+
62
+ function unset_edsanimate_options(){
63
+ delete_option('scroll_offset');
64
+ delete_option('enable_on_phone');
65
+ delete_option('enable_on_tab');
66
+ }
67
+
68
+ function admin_edsanimate_options(){
69
+ ?>
70
+ <div class="wrap"><h2>Animate It! Options</h2></div>
71
+ <?php
72
+ if(isset($_REQUEST['submit'])){
73
+ update_edsanimate_options();
74
+ }
75
+
76
+ print_edsanimate_form();
77
+ ?></div><?php
78
+ }
79
+
80
+ function update_edsanimate_options(){
81
+ $ok= false;
82
+ if(isset($_REQUEST['scroll_offset'])
83
+ && isset($_REQUEST['enable_on_phone'])
84
+ && isset($_REQUEST['enable_on_tab'])){
85
+ update_option('scroll_offset', $_REQUEST['scroll_offset']);
86
+ update_option('enable_on_phone', $_REQUEST['enable_on_phone']);
87
+ update_option('enable_on_tab', $_REQUEST['enable_on_tab']);
88
+
89
+ $ok=true;
90
+ }
91
+
92
+
93
+ if($ok){?>
94
+ <div id="message" class="updated fade">
95
+ <p>Options saved.</p>
96
+ </div>
97
+ <?php
98
+
99
+ }else{?>
100
+ <div id="message" class="error fade">
101
+ <p>Failed to save options.</p>
102
+ </div>
103
+ <?php
104
+ }
105
+ }
106
+
107
+ function print_edsanimate_form(){
108
+ $default_scroll_offset = get_option('scroll_offset');
109
+ ?>
110
+ <form method="post">
111
+ <table cellspacing="10" cellpadding="10">
112
+ <tr>
113
+ <td>
114
+ <label for="scroll_offset">Scroll Offset (in percentage):</label>
115
+ </td>
116
+ <td colspan="2">
117
+ <input type="text" name="scroll_offset" value="<?php echo $default_scroll_offset; ?>" />
118
+ </td>
119
+
120
+ </tr>
121
+ <tr>
122
+ <td>
123
+ <label for="enable_on_phone">Enable on Smartphones:</label>
124
+ </td>
125
+ <td>
126
+ <select name="enable_on_phone">
127
+ <option value="0" <?php echo (get_option('enable_on_phone')=='0')?'selected="selected"':'';?>>No</option>
128
+ <option value="1" <?php echo (get_option('enable_on_phone')=='1')?'selected="selected"':'';?>>Yes</option>
129
+ </select>
130
+ </td>
131
+ <td>
132
+ <p style="font-size:11px;"><i>(Animation should work on Smartphones or not)</i>
133
+ </td>
134
+ </tr>
135
+ <tr>
136
+ <td>
137
+ <label for="enable_on_tab">Enable on Tablets:</label>
138
+ </td>
139
+ <td>
140
+ <select name="enable_on_tab">
141
+ <option value="0" <?php echo (get_option('enable_on_tab')=='0')?'selected="selected"':'';?>>No</option>
142
+ <option value="1" <?php echo (get_option('enable_on_tab')=='1')?'selected="selected"':'';?>>Yes</option>
143
+ </select>
144
+ </td>
145
+ <td>
146
+ <p style="font-size:11px;"><i>(Animation should work on Tablets or not)</i>
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <td colspan="3">
151
+ <input type="submit" name="submit" value="Submit" />
152
+ </td>
153
+ </tr>
154
+ </table>
155
+ </form>
156
+ <?php
157
+ }
158
+
159
+ function modify_menu(){
160
+ add_options_page('Animate It! Options'
161
+ , 'Animate It!'
162
+ , 'manage_options'
163
+ , __FILE__
164
+ , 'admin_edsanimate_options');
165
+ }
166
+
167
+
168
+ function add_eds_script_and_css()
169
+ {
170
+ $deviceType = detectDevice();
171
+
172
+ $enableSmartPhone = get_option('enable_on_phone');
173
+ $enableTablet = get_option('enable_on_tab');
174
+
175
+
176
+ $enable= ($deviceType=='phone' && intval($enableSmartPhone))
177
+ || ($deviceType =='tablet' && intval($enableTablet))
178
+ || ($deviceType =='computer');
179
+
180
+ if($enable):
181
+ wp_register_style( 'animate-css',plugins_url( '/assets/css/animate.css', __FILE__ ));
182
+ wp_register_script( 'viewpointcheck-script',plugins_url( '/assets/js/viewportchecker.js', __FILE__ ),array('jquery'));
183
+ wp_register_script( 'edsanimate-script', plugins_url( '/assets/js/edsanimate.js', __FILE__ ),array('viewpointcheck-script') );
184
+ wp_localize_script( 'edsanimate-script', 'scroll_offset', get_option('scroll_offset'));
185
+ wp_enqueue_style( 'animate-css' );
186
+ wp_enqueue_script( 'viewpointcheck-script');
187
+ wp_enqueue_script( 'edsanimate-script');
188
+ endif;
189
+ }
190
+
191
+
192
+
193
+
194
+ function edsanimate_handler( $attributes, $content = null ) {
195
+
196
+ $deviceType = detectDevice();
197
+
198
+ $enableSmartPhone = get_option('enable_on_phone');
199
+ $enableTablet = get_option('enable_on_tab');
200
+
201
+
202
+ $enable= ($deviceType=='phone' && intval($enableSmartPhone))
203
+ || ($deviceType =='tablet' && intval($enableTablet))
204
+ || ($deviceType =='computer');
205
+
206
+ if($enable):
207
+ extract( shortcode_atts( array(
208
+ 'animation' => '',
209
+ 'delay' => '',
210
+ 'on_scroll' => ''
211
+ ), $attributes ) );
212
+
213
+
214
+ $classString = "animated";
215
+
216
+ if($animation == '')
217
+ {
218
+ return $content;
219
+ }
220
+
221
+ $classString .= " " . $animation;
222
+
223
+ if($delay!= '' && is_int((int)$delay) && $delay>=0 && $delay <=12)
224
+ $classString .= " delay" . $delay;
225
+
226
+
227
+ if(strcasecmp($on_scroll, 'yes')==0)
228
+ $classString .= " eds-on-scroll";
229
+
230
+ return '<div class="'.$classString.'">'.$content.'</div>';
231
+ else:
232
+ return $content;
233
+ endif;
234
+
235
+ }
236
+
237
+ //Admin Menu Options Filters
238
+ add_filter('widget_text', 'do_shortcode');
239
+ register_activation_hook(__FILE__, 'set_edsanimate_options');
240
+ register_deactivation_hook(__FILE__, 'unset_edsanimate_options');
241
+ add_action('admin_menu', 'modify_menu');
242
+ add_shortcode('edsanimate', 'edsanimate_handler');
243
+ add_action('wp_enqueue_scripts', 'add_eds_script_and_css');
244
+
245
+
246
+
247
+
248
+
legal.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ This free (GPL) Scripts and CSS get used in easyReservations.
2
+ Thanks to the developers.
3
+
4
+ Scripts
5
+ http://www.bootstrap-switch.org/
6
+ https://github.com/dirkgroenen/jQuery-viewport-checker
7
+ http://mobiledetect.net/
8
+
9
+ CSS
10
+ http://daneden.github.io/animate.css/
readme.txt ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Animate It! ===
2
+ Contributors: eleopard
3
+ Tags: css3 animation, animate.css, jquery, on scroll animation, delay animation
4
+ Requires at least: 2.7
5
+ Tested up to: 4.0
6
+ Stable tag: 1.1
7
+ License: GNU General Public License version 2 or later
8
+ License URI: http://www.gnu.org/copyleft/gpl.html
9
+
10
+ Animate It! is a WordPress Plugin designed and developed to provide an efficient and user friendly solution to apply beautiful CSS3 animations.
11
+
12
+ == Description ==
13
+ Animate It! is a WordPress Plugin designed and developed to provide an efficient and user friendly solution to apply beautiful CSS3 animations on WordPress Posts and Text Widgets.
14
+
15
+
16
+
17
+ [youtube https://www.youtube.com/watch?v=Np_t43pfrh4]
18
+
19
+ Some of the Key features Include:
20
+
21
+ * Allowing user to apply CSS3 animations on WordPress Posts and Text Widgets
22
+ * Capability to apply animation on Scroll
23
+ * Provide special CSS delay classes to create a nice animation sequence with multiple text widgets and posts
24
+ * Options to enable or disable animations on Smartphones and Tablets.
25
+
26
+ All the CSS3 animations are from [Animate.css](http://daneden.github.io/animate.css/ "Animate.css")
27
+
28
+ [Demo](http://downloads.eleopard.in/animate-it-demo-wordpress/ "Demo") | [Documentation](http://downloads.eleopard.in/animate-it-documentation-wordpress/ "Documentation")
29
+
30
+
31
+ == Installation ==
32
+ 1. Upload edsanimate to the /wp-content/plugins/ directory.
33
+ 2. Activate the plugin through the Plugins menu in WordPress.
34
+ 3. Set your options from the Settings -> Animate It! admin area.
35
+
36
+ Alternatively:
37
+
38
+ 1. Login to your WordPress admin area
39
+ 2. Search for Animate It!
40
+ 3. Click install Animate It!
41
+ 4. Activate through the Plugins menu in WordPress or when asked during installation
42
+ 5. Set your options from the Settings -> Animate It! admin area
43
+
44
+ == Frequently Asked Questions ==
45
+ = Setting the scroll offset for on scroll functionality? =
46
+ Percentage scroll offset can be set from Settings-> Animate It! menu in the admin area.
47
+
48
+ == Screenshots ==
49
+
50
+ 1. **Animate Button** - Add animation blocks in WordPress Post and Pages using the Animate It! button.
51
+ 2. **Select Animation** - After clicking Animate It! button you will get a screen to choose animation.
52
+ 3. **Animation Block** - Update the content of the block as per your requirement. You can copy and paste the same in Text Widget also.
53
+ 4. **Settings** - Options for Animate It! under Settings-> Animate It! menu in the admin area.
54
+
55
+
56
+ == Changelog ==
57
+
58
+ = Version 1.1 =
59
+ * New options added under Settings-> Animate It! to enable or disable animations on Smartphones and Tablets.
60
+
61
+
62
+ = Version 1.0 =
63
+ * Initial public release.
64
+
65
+ == Upgrade Notice ==
66
+
67
+ = Version 1.0 =
68
+ * Initial public release.