Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
21_22-J-02
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
21_22-J-02
21_22-J-02
Commits
942ec064
Commit
942ec064
authored
Jan 05, 2022
by
NaweenTharuka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugins: FE3
parent
a9b2d338
Changes
16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
226 additions
and
0 deletions
+226
-0
FE-InHome/plugins/bootstrap-datetimepicker.html
FE-InHome/plugins/bootstrap-datetimepicker.html
+56
-0
FE-InHome/plugins/bootstrap-datetimepicker.min.html
FE-InHome/plugins/bootstrap-datetimepicker.min.html
+61
-0
FE-InHome/plugins/popper/popper.min.js
FE-InHome/plugins/popper/popper.min.js
+5
-0
FE-InHome/plugins/range-slider/rangeslider.css
FE-InHome/plugins/range-slider/rangeslider.css
+1
-0
FE-InHome/plugins/range-slider/rangeslider.js
FE-InHome/plugins/range-slider/rangeslider.js
+7
-0
FE-InHome/plugins/rateit/delete.gif
FE-InHome/plugins/rateit/delete.gif
+0
-0
FE-InHome/plugins/rateit/jquery.rateit.min.js
FE-InHome/plugins/rateit/jquery.rateit.min.js
+5
-0
FE-InHome/plugins/rateit/rateit.css
FE-InHome/plugins/rateit/rateit.css
+1
-0
FE-InHome/plugins/rateit/star.gif
FE-InHome/plugins/rateit/star.gif
+0
-0
FE-InHome/plugins/validate/validate.min.js
FE-InHome/plugins/validate/validate.min.js
+4
-0
FE-InHome/plugins/validate/valildate-rules.js
FE-InHome/plugins/validate/valildate-rules.js
+1
-0
FE-InHome/plugins/vegas/overlays/02.html
FE-InHome/plugins/vegas/overlays/02.html
+56
-0
FE-InHome/plugins/vegas/vegas.min.css
FE-InHome/plugins/vegas/vegas.min.css
+1
-0
FE-InHome/plugins/vegas/vegas.min.js
FE-InHome/plugins/vegas/vegas.min.js
+11
-0
FE-InHome/plugins/vimeo-player/jquery.mb.vimeo_player.min.js
FE-InHome/plugins/vimeo-player/jquery.mb.vimeo_player.min.js
+9
-0
FE-InHome/plugins/youtube-player/jquery.mb.YTPlayer.min.js
FE-InHome/plugins/youtube-player/jquery.mb.YTPlayer.min.js
+8
-0
No files found.
FE-InHome/plugins/bootstrap-datetimepicker.html
0 → 100644
View file @
942ec064
<!DOCTYPE html>
<html
lang=
"en-us"
prefix=
"content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema#"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<style
type=
"text/css"
>
@charset
"UTF-8"
;
[
ng
\
:cloak
],
[
ng-cloak
],
[
data-ng-cloak
],
[
x-ng-cloak
],
.ng-cloak
,
.x-ng-cloak
,
.ng-hide
:not
(
.ng-hide-animate
)
{
display
:
none
!important
;
}
ng
\
:form
{
display
:
block
;
}
.ng-animate-shim
{
visibility
:
hidden
;
}
.ng-anchor
{
position
:
absolute
;
}
</style>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Oops, something lost
</title>
<meta
name=
"description"
content=
"Oops, looks like the page is lost. Start your website on the cheap."
>
<link
media=
"all"
rel=
"stylesheet"
href=
"/htdocs_error/style.css"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
>
<link
href=
"https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i"
rel=
"stylesheet"
>
<script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'
GoogleAnalyticsObject
'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'
script
'
,
'
https://www.google-analytics.com/analytics.js
'
,
'
ga
'
);
ga
(
'
create
'
,
'
UA-26575989-46
'
,
'
auto
'
);
ga
(
'
send
'
,
'
pageview
'
);
</script>
</head>
<body>
<div
class=
"error"
id=
"error"
>
<div
class=
"container"
>
<div
class=
"content centered"
><img
style=
"width:500px;"
src=
"/htdocs_error/something-lost.png"
>
<h1>
Oops, looks like the page is lost.
</h1>
<p
style=
"font-size:22px;"
class=
"sub-header text-block-narrow"
>
This is not a fault, just an accident that was not intentional.
</p>
</div>
</div>
</body>
</html>
FE-InHome/plugins/bootstrap-datetimepicker.min.html
0 → 100644
View file @
942ec064
<!DOCTYPE html>
<html
lang=
"en-us"
prefix=
"content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema#"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<style
type=
"text/css"
>
@charset
"UTF-8"
;
[
ng
\
:cloak
],
[
ng-cloak
],
[
data-ng-cloak
],
[
x-ng-cloak
],
.ng-cloak
,
.x-ng-cloak
,
.ng-hide
:not
(
.ng-hide-animate
)
{
display
:
none
!important
;
}
ng
\
:form
{
display
:
block
;
}
.ng-animate-shim
{
visibility
:
hidden
;
}
.ng-anchor
{
position
:
absolute
;
}
</style>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Oops, something lost
</title>
<meta
name=
"description"
content=
"Oops, looks like the page is lost. Start your website on the cheap."
>
<link
media=
"all"
rel=
"stylesheet"
href=
"/htdocs_error/style.css"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
>
<link
href=
"https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i"
rel=
"stylesheet"
>
<script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'
GoogleAnalyticsObject
'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'
script
'
,
'
https://www.google-analytics.com/analytics.js
'
,
'
ga
'
);
ga
(
'
create
'
,
'
UA-26575989-46
'
,
'
auto
'
);
ga
(
'
send
'
,
'
pageview
'
);
</script>
</head>
<body>
<div
class=
"error"
id=
"error"
>
<div
class=
"container"
>
<div
class=
"content centered"
><img
style=
"width:500px;"
src=
"/htdocs_error/something-lost.png"
>
<h1>
Oops, looks like the page is lost.
</h1>
<p
style=
"font-size:22px;"
class=
"sub-header text-block-narrow"
>
This is not a fault, just an accident that was not intentional.
</p>
</div>
</div>
</body>
</html>
FE-InHome/plugins/popper/popper.min.js
0 → 100644
View file @
942ec064
This diff is collapsed.
Click to expand it.
FE-InHome/plugins/range-slider/rangeslider.css
0 → 100644
View file @
942ec064
.irs
,
.irs-line
{
position
:
relative
;
display
:
block
}
.irs
,
.irs-bar
,
.irs-bar-edge
,
.irs-line
{
display
:
block
}
.irs
{
-webkit-touch-callout
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
}
.irs-line
{
overflow
:
hidden
;
outline
:
0
!important
}
.irs-line-left
,
.irs-line-mid
,
.irs-line-right
{
position
:
absolute
;
display
:
block
;
top
:
0
}
.irs-line-left
{
left
:
0
;
width
:
11%
}
.irs-line-mid
{
left
:
9%
;
width
:
82%
}
.irs-line-right
{
right
:
0
;
width
:
11%
}
.irs-bar
,
.irs-shadow
{
position
:
absolute
;
width
:
0
;
left
:
0
}
.irs-bar-edge
{
position
:
absolute
;
top
:
0
;
left
:
0
}
.irs-shadow
{
display
:
none
}
.irs-from
,
.irs-max
,
.irs-min
,
.irs-single
,
.irs-slider
,
.irs-to
{
display
:
block
;
position
:
absolute
;
cursor
:
default
}
.irs-slider
{
z-index
:
1
}
.irs-slider.type_last
{
z-index
:
2
}
.irs-min
{
left
:
0
}
.irs-max
{
right
:
0
}
.irs-from
,
.irs-single
,
.irs-to
{
top
:
0
;
left
:
0
;
white-space
:
nowrap
}
.irs-grid
{
position
:
absolute
;
display
:
none
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
height
:
20px
}
.irs-with-grid
.irs-grid
{
display
:
block
}
.irs-grid-pol
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
1px
;
height
:
8px
;
background
:
#000
}
.irs-grid-pol.small
{
height
:
4px
}
.irs-grid-text
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
white-space
:
nowrap
;
text-align
:
center
;
font-size
:
9px
;
line-height
:
9px
;
padding
:
0
3px
;
color
:
#000
}
.irs-disable-mask
{
position
:
absolute
;
display
:
block
;
top
:
0
;
left
:
-1%
;
width
:
102%
;
height
:
100%
;
cursor
:
default
;
background
:
0
0
;
z-index
:
2
}
.irs-disabled
{
opacity
:
.4
}
.lt-ie9
.irs-disabled
{
filter
:
alpha
(
opacity
=
40
)}
.irs-hidden-input
{
position
:
absolute
!important
;
display
:
block
!important
;
top
:
0
!important
;
left
:
0
!important
;
width
:
0
!important
;
height
:
0
!important
;
font-size
:
0
!important
;
line-height
:
0
!important
;
padding
:
0
!important
;
margin
:
0
!important
;
outline
:
0
!important
;
z-index
:
-9999
!important
;
background
:
0
0
!important
;
border-style
:
solid
!important
;
border-color
:
transparent
!important
}
.m-ion-range-slider
.irs
.irs-min
,
.m-ion-range-slider
.irs
.irs-max
,
.m-ion-range-slider
.irs
.irs-from
,
.m-ion-range-slider
.irs
.irs-to
,
.m-ion-range-slider
.irs
.irs-single
{
padding
:
2px
5px
1px
}
.irs
{
height
:
40px
}
.irs-with-grid
{
height
:
60px
}
.irs-line
{
height
:
12px
;
top
:
25px
}
.irs-line-left
{
height
:
6px
;
background
:
#cecece
;
top
:
5px
}
.irs-line-mid
{
height
:
6px
;
background
:
#cecece
;
top
:
5px
}
.irs-line-right
{
height
:
6px
;
background
:
#cecece
;
top
:
5px
}
.irs-bar
{
height
:
6px
;
top
:
30px
;
background-position
:
0
-60px
;
background
:
#2250fc
}
.irs-bar-edge
{
top
:
30px
;
height
:
6px
;
width
:
9px
;
background
:
#cecece
}
.irs-shadow
{
height
:
3px
;
top
:
34px
;
background
:
#000
;
opacity
:
.25
}
.lt-ie9
.irs-shadow
{
filter
:
alpha
(
opacity
=
25
)}
.irs-slider
{
width
:
18px
;
height
:
18px
;
top
:
22px
;
background
:
#fff
;
-webkit-box-shadow
:
0
0
14px
rgba
(
0
,
0
,
0
,
.2
);
box-shadow
:
0
0
14px
rgba
(
0
,
0
,
0
,
.2
);
border-radius
:
50%
;
cursor
:
ew-resize
;
background
:
#fff
}
.irs-slider.state_hover
,
.irs-slider
:hover
{
background-position
:
0
-150px
}
.irs-min
,
.irs-max
{
color
:
#999
;
font-size
:
10px
;
line-height
:
1.333
;
text-shadow
:
none
;
top
:
0
;
padding
:
1px
3px
;
background
:
#e1e4e9
;
border-radius
:
4px
}
.irs-from
,
.irs-to
,
.irs-single
{
color
:
#fff
;
font-size
:
10px
;
line-height
:
1.333
;
text-shadow
:
none
;
padding
:
2px
8px
;
background
:
#2250fc
;
border-radius
:
4px
}
.irs-from
:after
,
.irs-to
:after
,
.irs-single
:after
{
position
:
absolute
;
display
:
block
;
content
:
""
;
bottom
:
-10px
;
left
:
50%
;
width
:
0
;
height
:
0
;
margin-left
:
-5px
;
overflow
:
hidden
;
border
:
5px
solid
transparent
;
border-top-color
:
#2250fc
}
.irs-grid-pol
{
background
:
#f8f9fa
}
.irs-grid-text
{
color
:
#626262
}
.range-color-primary
.irs-from
:after
,
.range-color-primary
.irs-to
:after
,
.range-color-primary
.irs-single
:after
{
border-top-color
:
#2250fc
}
.range-color-primary
.irs-bar
,
.range-color-primary
.irs-from
,
.range-color-primary
.irs-to
,
.range-color-primary
.irs-single
{
background
:
#2250fc
}
.range-color-secondary
.irs-from
:after
,
.range-color-secondary
.irs-to
:after
,
.range-color-secondary
.irs-single
:after
{
border-top-color
:
#5a6268
}
.range-color-secondary
.irs-bar
,
.range-color-secondary
.irs-from
,
.range-color-secondary
.irs-to
,
.range-color-secondary
.irs-single
{
background
:
#5a6268
}
.range-color-success
.irs-from
:after
,
.range-color-success
.irs-to
:after
,
.range-color-success
.irs-single
:after
{
border-top-color
:
#81c868
}
.range-color-success
.irs-bar
,
.range-color-success
.irs-from
,
.range-color-success
.irs-to
,
.range-color-success
.irs-single
{
background
:
#81c868
}
.range-color-info
.irs-from
:after
,
.range-color-info
.irs-to
:after
,
.range-color-info
.irs-single
:after
{
border-top-color
:
#53b0f8
}
.range-color-info
.irs-bar
,
.range-color-info
.irs-from
,
.range-color-info
.irs-to
,
.range-color-info
.irs-single
{
background
:
#53b0f8
}
.range-color-danger
.irs-from
:after
,
.range-color-danger
.irs-to
:after
,
.range-color-danger
.irs-single
:after
{
border-top-color
:
#ce041c
}
.range-color-danger
.irs-bar
,
.range-color-danger
.irs-from
,
.range-color-danger
.irs-to
,
.range-color-danger
.irs-single
{
background
:
#ce041c
}
.range-color-warning
.irs-from
:after
,
.range-color-warning
.irs-to
:after
,
.range-color-warning
.irs-single
:after
{
border-top-color
:
#ffb20e
}
.range-color-warning
.irs-bar
,
.range-color-warning
.irs-from
,
.range-color-warning
.irs-to
,
.range-color-warning
.irs-single
{
background
:
#ffb20e
}
\ No newline at end of file
FE-InHome/plugins/range-slider/rangeslider.js
0 → 100644
View file @
942ec064
This diff is collapsed.
Click to expand it.
FE-InHome/plugins/rateit/delete.gif
0 → 100644
View file @
942ec064
752 Bytes
FE-InHome/plugins/rateit/jquery.rateit.min.js
0 → 100644
View file @
942ec064
/*! RateIt | v1.1.2 / 03/28/2019
https://github.com/gjunge/rateit.js | Twitter: @gjunge
*/
!
function
(
M
){
function
I
(
e
){
var
t
=
e
.
originalEvent
.
changedTouches
[
0
],
a
=
""
;
switch
(
e
.
type
){
case
"
touchmove
"
:
a
=
"
mousemove
"
;
break
;
case
"
touchend
"
:
a
=
"
mouseup
"
;
break
;
default
:
return
}
var
i
=
document
.
createEvent
(
"
MouseEvent
"
);
i
.
initMouseEvent
(
a
,
!
0
,
!
0
,
window
,
1
,
t
.
screenX
,
t
.
screenY
,
t
.
clientX
,
t
.
clientY
,
!
1
,
!
1
,
!
1
,
!
1
,
0
,
null
),
t
.
target
.
dispatchEvent
(
i
),
e
.
preventDefault
()}
M
.
rateit
=
{
aria
:{
resetLabel
:
"
reset rating
"
,
ratingLabel
:
"
rating
"
}},
M
.
fn
.
rateit
=
function
(
w
,
N
){
var
y
=
1
,
C
=
{},
k
=
"
init
"
,
E
=
function
(
e
){
return
e
.
charAt
(
0
).
toUpperCase
()
+
e
.
substr
(
1
)};
if
(
0
===
this
.
length
)
return
this
;
var
e
=
M
.
type
(
w
);
if
(
"
object
"
==
e
||
null
==
w
)
C
=
M
.
extend
({},
M
.
fn
.
rateit
.
defaults
,
w
);
else
{
if
(
"
string
"
==
e
&&
"
reset
"
!==
w
&&
void
0
===
N
)
return
this
.
data
(
"
rateit
"
+
E
(
w
));
"
string
"
==
e
&&
(
k
=
"
setvalue
"
)}
return
this
.
each
(
function
(){
var
r
=
M
(
this
),
n
=
function
(
e
,
t
){
if
(
null
!=
t
){
var
a
=
"
aria-value
"
+
(
"
value
"
==
e
?
"
now
"
:
e
),
i
=
r
.
find
(
"
.rateit-range
"
);
null
!=
i
.
attr
(
a
)
&&
i
.
attr
(
a
,
t
)}
return
e
=
"
rateit
"
+
E
(
e
),
r
.
data
.
apply
(
r
,
arguments
)};
if
(
"
reset
"
==
w
){
var
e
=
n
(
"
init
"
);
for
(
var
t
in
e
)
r
.
data
(
t
,
e
[
t
]);
if
(
n
(
"
backingfld
"
))
"
SELECT
"
==
(
a
=
M
(
n
(
"
backingfld
"
)))[
0
].
nodeName
&&
"
index
"
===
a
[
0
].
getAttribute
(
"
data-rateit-valuesrc
"
)?
a
.
prop
(
"
selectedIndex
"
,
n
(
"
value
"
)):
a
.
val
(
n
(
"
value
"
)),
a
.
trigger
(
"
change
"
),
a
[
0
].
min
&&
(
a
[
0
].
min
=
n
(
"
min
"
)),
a
[
0
].
max
&&
(
a
[
0
].
max
=
n
(
"
max
"
)),
a
[
0
].
step
&&
(
a
[
0
].
step
=
n
(
"
step
"
));
r
.
trigger
(
"
reset
"
)}
r
.
hasClass
(
"
rateit
"
)
||
r
.
addClass
(
"
rateit
"
);
var
i
=
"
rtl
"
!=
r
.
css
(
"
direction
"
);
if
(
"
setvalue
"
==
k
){
if
(
!
n
(
"
init
"
))
throw
"
Can't set value before init
"
;
if
(
"
readonly
"
!=
w
||
1
!=
N
||
n
(
"
readonly
"
)
||
(
r
.
find
(
"
.rateit-range
"
).
unbind
(),
n
(
"
wired
"
,
!
1
)),
"
value
"
==
w
&&
(
N
=
null
==
N
?
n
(
"
min
"
):
Math
.
max
(
n
(
"
min
"
),
Math
.
min
(
n
(
"
max
"
),
N
))),
n
(
"
backingfld
"
))
"
SELECT
"
==
(
a
=
M
(
n
(
"
backingfld
"
)))[
0
].
nodeName
&&
"
index
"
===
a
[
0
].
getAttribute
(
"
data-rateit-valuesrc
"
)?
"
value
"
==
w
&&
a
.
prop
(
"
selectedIndex
"
,
N
):
"
value
"
==
w
&&
a
.
val
(
N
),
"
min
"
==
w
&&
a
[
0
].
min
&&
(
a
[
0
].
min
=
N
),
"
max
"
==
w
&&
a
[
0
].
max
&&
(
a
[
0
].
max
=
N
),
"
step
"
==
w
&&
a
[
0
].
step
&&
(
a
[
0
].
step
=
N
);
n
(
w
,
N
)}
if
(
!
n
(
"
init
"
)){
var
a
;
if
(
n
(
"
mode
"
,
n
(
"
mode
"
)
||
C
.
mode
),
n
(
"
icon
"
,
n
(
"
icon
"
)
||
C
.
icon
),
n
(
"
min
"
,
isNaN
(
n
(
"
min
"
))?
C
.
min
:
n
(
"
min
"
)),
n
(
"
max
"
,
isNaN
(
n
(
"
max
"
))?
C
.
max
:
n
(
"
max
"
)),
n
(
"
step
"
,
n
(
"
step
"
)
||
C
.
step
),
n
(
"
readonly
"
,
void
0
!==
n
(
"
readonly
"
)?
n
(
"
readonly
"
):
C
.
readonly
),
n
(
"
resetable
"
,
void
0
!==
n
(
"
resetable
"
)?
n
(
"
resetable
"
):
C
.
resetable
),
n
(
"
backingfld
"
,
n
(
"
backingfld
"
)
||
C
.
backingfld
),
n
(
"
starwidth
"
,
n
(
"
starwidth
"
)
||
C
.
starwidth
),
n
(
"
starheight
"
,
n
(
"
starheight
"
)
||
C
.
starheight
),
n
(
"
value
"
,
Math
.
max
(
n
(
"
min
"
),
Math
.
min
(
n
(
"
max
"
),
isNaN
(
n
(
"
value
"
))?
isNaN
(
C
.
value
)?
C
.
min
:
C
.
value
:
n
(
"
value
"
)))),
n
(
"
ispreset
"
,
void
0
!==
n
(
"
ispreset
"
)?
n
(
"
ispreset
"
):
C
.
ispreset
),
n
(
"
backingfld
"
))
if
(((
a
=
M
(
n
(
"
backingfld
"
)).
hide
()).
attr
(
"
disabled
"
)
||
a
.
attr
(
"
readonly
"
))
&&
n
(
"
readonly
"
,
!
0
),
"
INPUT
"
==
a
[
0
].
nodeName
&&
(
"
range
"
!=
a
[
0
].
type
&&
"
text
"
!=
a
[
0
].
type
||
(
n
(
"
min
"
,
parseInt
(
a
.
attr
(
"
min
"
))
||
n
(
"
min
"
)),
n
(
"
max
"
,
parseInt
(
a
.
attr
(
"
max
"
))
||
n
(
"
max
"
)),
n
(
"
step
"
,
parseInt
(
a
.
attr
(
"
step
"
))
||
n
(
"
step
"
)))),
"
SELECT
"
==
a
[
0
].
nodeName
&&
1
<
a
[
0
].
options
.
length
){
"
index
"
===
a
[
0
].
getAttribute
(
"
data-rateit-valuesrc
"
)?(
n
(
"
min
"
,
isNaN
(
n
(
"
min
"
))?
Number
(
a
[
0
].
options
[
0
].
index
):
n
(
"
min
"
)),
n
(
"
max
"
,
Number
(
a
[
0
].
options
[
a
[
0
].
length
-
1
].
index
)),
n
(
"
step
"
,
Number
(
a
[
0
].
options
[
1
].
index
)
-
Number
(
a
[
0
].
options
[
0
].
index
))):(
n
(
"
min
"
,
isNaN
(
n
(
"
min
"
))?
Number
(
a
[
0
].
options
[
0
].
value
):
n
(
"
min
"
)),
n
(
"
max
"
,
Number
(
a
[
0
].
options
[
a
[
0
].
length
-
1
].
value
)),
n
(
"
step
"
,
Number
(
a
[
0
].
options
[
1
].
value
)
-
Number
(
a
[
0
].
options
[
0
].
value
)));
var
s
=
a
.
find
(
"
option[selected]
"
);
1
==
s
.
length
&&
(
"
index
"
===
a
[
0
].
getAttribute
(
"
data-rateit-valuesrc
"
)?
n
(
"
value
"
,
s
[
0
].
index
):
n
(
"
value
"
,
s
.
val
()))}
else
n
(
"
value
"
,
a
.
val
());
var
d
=
"
DIV
"
==
r
[
0
].
nodeName
?
"
div
"
:
"
span
"
;
y
++
;
var
l
=
'
<button id="rateit-reset-{{index}}" type="button" data-role="none" class="rateit-reset" aria-label="
'
+
M
.
rateit
.
aria
.
resetLabel
+
'
" aria-controls="rateit-range-{{index}}"><span></span></button><{{element}} id="rateit-range-{{index}}" class="rateit-range"
'
+
(
1
==
n
(
"
readonly
"
)?
""
:
'
tabindex="0"
'
)
+
'
role="slider" aria-label="
'
+
M
.
rateit
.
aria
.
ratingLabel
+
'
" aria-owns="rateit-reset-{{index}}" aria-valuemin="
'
+
n
(
"
min
"
)
+
'
" aria-valuemax="
'
+
n
(
"
max
"
)
+
'
" aria-valuenow="
'
+
n
(
"
value
"
)
+
'
"><{{element}} class="rateit-empty"></{{element}}><{{element}} class="rateit-selected"></{{element}}><{{element}} class="rateit-hover"></{{element}}></{{element}}>
'
;
r
.
append
(
l
.
replace
(
/{{index}}/gi
,
y
).
replace
(
/{{element}}/gi
,
d
)),
i
||
(
r
.
find
(
"
.rateit-reset
"
).
css
(
"
float
"
,
"
right
"
),
r
.
find
(
"
.rateit-selected
"
).
addClass
(
"
rateit-selected-rtl
"
),
r
.
find
(
"
.rateit-hover
"
).
addClass
(
"
rateit-hover-rtl
"
)),
"
font
"
==
n
(
"
mode
"
)?
r
.
addClass
(
"
rateit-font
"
).
removeClass
(
"
rateit-bg
"
):
r
.
addClass
(
"
rateit-bg
"
).
removeClass
(
"
rateit-font
"
),
n
(
"
init
"
,
JSON
.
parse
(
JSON
.
stringify
(
r
.
data
())))}
var
o
=
"
font
"
==
n
(
"
mode
"
);
o
||
r
.
find
(
"
.rateit-selected, .rateit-hover
"
).
height
(
n
(
"
starheight
"
));
var
u
=
r
.
find
(
"
.rateit-range
"
);
if
(
o
){
for
(
var
m
=
n
(
"
icon
"
),
v
=
n
(
"
max
"
)
-
n
(
"
min
"
),
h
=
""
,
c
=
0
;
c
<
v
;
c
++
)
h
+=
m
;
u
.
find
(
"
> *
"
).
text
(
h
),
n
(
"
starwidth
"
,
u
.
width
()
/
(
n
(
"
max
"
)
-
n
(
"
min
"
)))}
else
u
.
width
(
n
(
"
starwidth
"
)
*
(
n
(
"
max
"
)
-
n
(
"
min
"
))).
height
(
n
(
"
starheight
"
));
var
g
=
"
rateit-preset
"
+
(
i
?
""
:
"
-rtl
"
);
if
(
n
(
"
ispreset
"
)?
r
.
find
(
"
.rateit-selected
"
).
addClass
(
g
):
r
.
find
(
"
.rateit-selected
"
).
removeClass
(
g
),
null
!=
n
(
"
value
"
)){
var
f
=
(
n
(
"
value
"
)
-
n
(
"
min
"
))
*
n
(
"
starwidth
"
);
r
.
find
(
"
.rateit-selected
"
).
width
(
f
)}
var
p
=
r
.
find
(
"
.rateit-reset
"
);
!
0
!==
p
.
data
(
"
wired
"
)
&&
p
.
bind
(
"
click
"
,
function
(
e
){
e
.
preventDefault
(),
p
.
blur
();
var
t
=
M
.
Event
(
"
beforereset
"
);
if
(
r
.
trigger
(
t
),
t
.
isDefaultPrevented
())
return
!
1
;
r
.
rateit
(
"
value
"
,
null
),
r
.
trigger
(
"
reset
"
)}).
data
(
"
wired
"
,
!
0
);
var
b
=
function
(
e
,
t
){
var
a
=
(
t
.
changedTouches
?
t
.
changedTouches
[
0
].
pageX
:
t
.
pageX
)
-
M
(
e
).
offset
().
left
;
return
i
||
(
a
=
u
.
width
()
-
a
),
a
>
u
.
width
()
&&
(
a
=
u
.
width
()),
a
<
0
&&
(
a
=
0
),
f
=
Math
.
ceil
(
a
/
n
(
"
starwidth
"
)
*
(
1
/
n
(
"
step
"
)))},
x
=
function
(
e
){
var
t
=
M
.
Event
(
"
beforerated
"
);
return
r
.
trigger
(
t
,[
e
]),
!
t
.
isDefaultPrevented
()
&&
(
n
(
"
value
"
,
e
),
n
(
"
backingfld
"
)
&&
(
"
SELECT
"
==
a
[
0
].
nodeName
&&
"
index
"
===
a
[
0
].
getAttribute
(
"
data-rateit-valuesrc
"
)?
M
(
n
(
"
backingfld
"
)).
prop
(
"
selectedIndex
"
,
e
).
trigger
(
"
change
"
):
M
(
n
(
"
backingfld
"
)).
val
(
e
).
trigger
(
"
change
"
)),
n
(
"
ispreset
"
)
&&
(
u
.
find
(
"
.rateit-selected
"
).
removeClass
(
g
),
n
(
"
ispreset
"
,
!
1
)),
u
.
find
(
"
.rateit-hover
"
).
hide
(),
u
.
find
(
"
.rateit-selected
"
).
width
(
e
*
n
(
"
starwidth
"
)
-
n
(
"
min
"
)
*
n
(
"
starwidth
"
)).
show
(),
r
.
trigger
(
"
hover
"
,[
null
]).
trigger
(
"
over
"
,[
null
]).
trigger
(
"
rated
"
,[
e
]),
!
0
)};
n
(
"
readonly
"
)?
p
.
hide
():(
n
(
"
resetable
"
)
||
p
.
hide
(),
n
(
"
wired
"
)
||
(
u
.
bind
(
"
touchmove touchend
"
,
I
),
u
.
mousemove
(
function
(
e
){
!
function
(
e
){
var
t
=
e
*
n
(
"
starwidth
"
)
*
n
(
"
step
"
),
a
=
u
.
find
(
"
.rateit-hover
"
);
if
(
a
.
data
(
"
width
"
)
!=
t
){
u
.
find
(
"
.rateit-selected
"
).
hide
(),
a
.
width
(
t
).
show
().
data
(
"
width
"
,
t
);
var
i
=
[
e
*
n
(
"
step
"
)
+
n
(
"
min
"
)];
r
.
trigger
(
"
hover
"
,
i
).
trigger
(
"
over
"
,
i
)}}(
b
(
this
,
e
))}),
u
.
mouseleave
(
function
(
e
){
u
.
find
(
"
.rateit-hover
"
).
hide
().
width
(
0
).
data
(
"
width
"
,
""
),
r
.
trigger
(
"
hover
"
,[
null
]).
trigger
(
"
over
"
,[
null
]),
u
.
find
(
"
.rateit-selected
"
).
show
()}),
u
.
mouseup
(
function
(
e
){
var
t
=
b
(
this
,
e
)
*
n
(
"
step
"
)
+
n
(
"
min
"
);
x
(
t
),
u
.
blur
()}),
u
.
keyup
(
function
(
e
){
38
!=
e
.
which
&&
e
.
which
!=
(
i
?
39
:
37
)
||
x
(
Math
.
min
(
n
(
"
value
"
)
+
n
(
"
step
"
),
n
(
"
max
"
))),
40
!=
e
.
which
&&
e
.
which
!=
(
i
?
37
:
39
)
||
x
(
Math
.
max
(
n
(
"
value
"
)
-
n
(
"
step
"
),
n
(
"
min
"
)))}),
n
(
"
wired
"
,
!
0
)),
n
(
"
resetable
"
)
&&
p
.
show
()),
u
.
attr
(
"
aria-readonly
"
,
n
(
"
readonly
"
))})},
M
.
fn
.
rateit
.
defaults
=
{
min
:
0
,
max
:
5
,
step
:.
5
,
mode
:
"
bg
"
,
icon
:
"
★
"
,
starwidth
:
16
,
starheight
:
16
,
readonly
:
!
1
,
resetable
:
!
0
,
ispreset
:
!
1
},
M
(
function
(){
M
(
"
div.rateit, span.rateit
"
).
rateit
()})}(
jQuery
);
//# sourceMappingURL=jquery.rateit.min.js.map
FE-InHome/plugins/rateit/rateit.css
0 → 100644
View file @
942ec064
.rateit
{
display
:
-moz-inline-box
;
display
:
inline-block
;
position
:
relative
;
-webkit-user-select
:
none
;
-khtml-user-select
:
none
;
-moz-user-select
:
none
;
-o-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
-webkit-touch-callout
:
none
}
.rateit
.rateit-range
{
position
:
relative
;
display
:
-moz-inline-box
;
display
:
inline-block
;
background
:
url(star.gif)
;
height
:
16px
;
outline
:
none
}
.rateit
.rateit-range
*
{
display
:
block
}
*
html
.rateit
,*
html
.rateit
.rateit-range
{
display
:
inline
}
*+
html
.rateit
,*+
html
.rateit
.rateit-range
{
display
:
inline
}
.rateit
.rateit-hover
,
.rateit
.rateit-selected
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
0
}
.rateit
.rateit-hover-rtl
,
.rateit
.rateit-selected-rtl
{
left
:
auto
;
right
:
0
}
.rateit
.rateit-hover
{
background
:
url(star.gif)
left
-32px
;
color
:
#efc529
}
.rateit
.rateit-hover-rtl
{
background-position
:
right
-32px
}
.rateit
.rateit-selected
{
background
:
url(star.gif)
left
-16px
;
color
:
#bf4242
}
.rateit
.rateit-selected-rtl
{
background-position
:
right
-16px
}
.rateit
.rateit-preset
{
background
:
url(star.gif)
left
-48px
;
color
:
#ef6b22
}
.rateit
.rateit-preset-rtl
{
background
:
url(star.gif)
left
-48px
}
.rateit
button
.rateit-reset
{
background
:
url(delete.gif)
0
0
;
width
:
16px
;
height
:
16px
;
display
:
-moz-inline-box
;
display
:
inline-block
;
float
:
left
;
outline
:
none
;
border
:
none
;
padding
:
0
}
.rateit
.rateit-reset
span
{
display
:
none
}
.rateit
button
.rateit-reset
:hover
,
.rateit
button
.rateit-reset
:focus
{
background-position
:
0
-16px
}
.rateit-font
{
font-size
:
24px
;
line-height
:
1em
}
.rateit-font
.rateit-range
{
background
:
0
0
;
height
:
auto
}
.rateit-font
.rateit-empty
{
color
:
#ccc
}
.rateit-font
.rateit-range
>
div
{
background
:
0
0
;
overflow
:
hidden
;
cursor
:
default
}
.rateit.rateit-font
.rateit-reset
{
font-size
:
inherit
;
background
:
0
0
;
width
:
.6em
;
height
:
.6em
;
margin-top
:
.2em
;
background
:
gray
;
border-radius
:
50%
;
position
:
relative
}
.rateit.rateit-font
.rateit-reset
span
{
display
:
block
;
font-weight
:
700
;
color
:
#fff
;
height
:
calc
(
50%
-
0.045em
);
top
:
0
;
position
:
absolute
;
border-bottom
:
.09em
solid
#fff
;
width
:
72%
;
margin-left
:
14%
}
.rateit.rateit-font
.rateit-reset
:hover
,
.rateit.rateit-font
button
.rateit-reset
:focus
{
background
:
#e6574b
;
background
:
radial-gradient
(
ellipse
at
center
,
#e6574b
55%
,
#f6836b
77%
,
#f9d3cc
100%
);
background-position
:
0
0
}
\ No newline at end of file
FE-InHome/plugins/rateit/star.gif
0 → 100644
View file @
942ec064
2.4 KB
FE-InHome/plugins/validate/validate.min.js
0 → 100644
View file @
942ec064
This diff is collapsed.
Click to expand it.
FE-InHome/plugins/validate/valildate-rules.js
0 → 100644
View file @
942ec064
jQuery
(
document
).
ready
(
function
(){
var
form
=
$
(
'
.form-validate
'
);
form
.
each
(
function
(){
var
elem
=
$
(
this
);
elem
.
validate
({
errorClass
:
'
is-invalid
'
,
validClass
:
'
is-valid
'
,
errorElement
:
"
div
"
,
focusInvalid
:
false
,
rules
:{
email
:{
required
:
true
,
email
:
true
},
password
:{
required
:
true
,
minlength
:
5
,
maxlength
:
15
},
url
:{
required
:
true
,},
date
:{
required
:
true
,},
number
:{
required
:
true
,},
tel
:{
required
:
true
,},
phone
:{
required
:
true
,},
digits
:{
required
:
true
,},
creditcard
:{
required
:
true
,
creditcard
:
true
},
option
:{
required
:
true
,},
options
:{
required
:
true
,
minlength
:
1
,
maxlength
:
10
},
memo
:{
required
:
true
,
minlength
:
10
,
maxlength
:
100
},
checkbox
:{
required
:
true
,},
checkboxes
:{
required
:
true
,},
radio
:{
required
:
true
,}},
errorPlacement
:
function
(
error
,
element
){
element
.
parent
().
append
(
error
);},
invalidHandler
:
function
(
elem
,
validator
){
$
(
'
html, body
'
).
stop
(
true
,
false
).
animate
({
scrollTop
:
$
(
validator
.
errorList
[
0
].
element
).
offset
().
top
-
200
},
1500
,
'
easeInOutExpo
'
);}});});});
\ No newline at end of file
FE-InHome/plugins/vegas/overlays/02.html
0 → 100644
View file @
942ec064
<!DOCTYPE html>
<html
lang=
"en-us"
prefix=
"content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema#"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<style
type=
"text/css"
>
@charset
"UTF-8"
;
[
ng
\
:cloak
],
[
ng-cloak
],
[
data-ng-cloak
],
[
x-ng-cloak
],
.ng-cloak
,
.x-ng-cloak
,
.ng-hide
:not
(
.ng-hide-animate
)
{
display
:
none
!important
;
}
ng
\
:form
{
display
:
block
;
}
.ng-animate-shim
{
visibility
:
hidden
;
}
.ng-anchor
{
position
:
absolute
;
}
</style>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Oops, something lost
</title>
<meta
name=
"description"
content=
"Oops, looks like the page is lost. Start your website on the cheap."
>
<link
media=
"all"
rel=
"stylesheet"
href=
"/htdocs_error/style.css"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
>
<link
href=
"https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i"
rel=
"stylesheet"
>
<script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'
GoogleAnalyticsObject
'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'
script
'
,
'
https://www.google-analytics.com/analytics.js
'
,
'
ga
'
);
ga
(
'
create
'
,
'
UA-26575989-46
'
,
'
auto
'
);
ga
(
'
send
'
,
'
pageview
'
);
</script>
</head>
<body>
<div
class=
"error"
id=
"error"
>
<div
class=
"container"
>
<div
class=
"content centered"
><img
style=
"width:500px;"
src=
"/htdocs_error/something-lost.png"
>
<h1>
Oops, looks like the page is lost.
</h1>
<p
style=
"font-size:22px;"
class=
"sub-header text-block-narrow"
>
This is not a fault, just an accident that was not intentional.
</p>
</div>
</div>
</body>
</html>
FE-InHome/plugins/vegas/vegas.min.css
0 → 100644
View file @
942ec064
.vegas-overlay
,
.vegas-slide
,
.vegas-slide-inner
,
.vegas-timer
,
.vegas-wrapper
{
position
:
absolute
;
top
:
0
;
left
:
0
;
bottom
:
0
;
right
:
0
;
overflow
:
hidden
;
border
:
none
;
padding
:
0
;
margin
:
0
}
.vegas-overlay
{
opacity
:
.5
;
background
:
url(overlays/02.html)
center
center
}
.vegas-timer
{
top
:
auto
;
bottom
:
0
;
height
:
2px
}
.vegas-timer-progress
{
width
:
0
;
height
:
100%
;
background
:
#fff
;
-webkit-transition
:
width
ease-out
;
transition
:
width
ease-out
}
.vegas-timer-running
.vegas-timer-progress
{
width
:
100%
}
.vegas-slide
,
.vegas-slide-inner
{
margin
:
0
;
padding
:
0
;
background
:
center
center
no-repeat
;
-webkit-transform
:
translateZ
(
0
);
transform
:
translateZ
(
0
)}
body
.vegas-container
{
overflow
:
hidden
!important
;
position
:
relative
}
.vegas-video
{
min-width
:
100%
;
min-height
:
100%
;
width
:
auto
;
height
:
auto
}
body
.vegas-container
{
overflow
:
auto
;
position
:
static
;
z-index
:
-2
}
body
.vegas-container
>
.vegas-overlay
,
body
.vegas-container
>
.vegas-slide
,
body
.vegas-container
>
.vegas-timer
{
position
:
fixed
;
z-index
:
-1
}
:root
body
.vegas-container
>
.vegas-overlay
,
:root
body
.vegas-container
>
.vegas-slide
,
_
::full-page-media
,
_
:future
{
bottom
:
-76px
}
.vegas-transition-fade
,
.vegas-transition-fade2
{
opacity
:
0
}
.vegas-transition-fade-in
,
.vegas-transition-fade2-in
{
opacity
:
1
}
.vegas-transition-fade2-out
{
opacity
:
0
}
.vegas-transition-blur
,
.vegas-transition-blur2
{
opacity
:
0
;
-webkit-filter
:
blur
(
32px
);
filter
:
blur
(
32px
)}
.vegas-transition-blur-in
,
.vegas-transition-blur2-in
{
opacity
:
1
;
-webkit-filter
:
blur
(
0px
);
filter
:
blur
(
0px
)}
.vegas-transition-blur2-out
{
opacity
:
0
}
.vegas-transition-flash
,
.vegas-transition-flash2
{
opacity
:
0
;
-webkit-filter
:
brightness
(
25
);
filter
:
brightness
(
25
)}
.vegas-transition-flash-in
,
.vegas-transition-flash2-in
{
opacity
:
1
;
-webkit-filter
:
brightness
(
1
);
filter
:
brightness
(
1
)}
.vegas-transition-flash2-out
{
opacity
:
0
;
-webkit-filter
:
brightness
(
25
);
filter
:
brightness
(
25
)}
.vegas-transition-negative
,
.vegas-transition-negative2
{
opacity
:
0
;
-webkit-filter
:
invert
(
100%
);
filter
:
invert
(
100%
)}
.vegas-transition-negative-in
,
.vegas-transition-negative2-in
{
opacity
:
1
;
-webkit-filter
:
invert
(
0
);
filter
:
invert
(
0
)}
.vegas-transition-negative2-out
{
opacity
:
0
;
-webkit-filter
:
invert
(
100%
);
filter
:
invert
(
100%
)}
.vegas-transition-burn
,
.vegas-transition-burn2
{
opacity
:
0
;
-webkit-filter
:
contrast
(
1000%
)
saturate
(
1000%
);
filter
:
contrast
(
1000%
)
saturate
(
1000%
)}
.vegas-transition-burn-in
,
.vegas-transition-burn2-in
{
opacity
:
1
;
-webkit-filter
:
contrast
(
100%
)
saturate
(
100%
);
filter
:
contrast
(
100%
)
saturate
(
100%
)}
.vegas-transition-burn2-out
{
opacity
:
0
;
-webkit-filter
:
contrast
(
1000%
)
saturate
(
1000%
);
filter
:
contrast
(
1000%
)
saturate
(
1000%
)}
.vegas-transition-slideLeft
,
.vegas-transition-slideLeft2
{
-webkit-transform
:
translateX
(
100%
);
-ms-transform
:
translateX
(
100%
);
transform
:
translateX
(
100%
)}
.vegas-transition-slideLeft-in
,
.vegas-transition-slideLeft2-in
{
-webkit-transform
:
translateX
(
0%
);
-ms-transform
:
translateX
(
0%
);
transform
:
translateX
(
0%
)}
.vegas-transition-slideLeft2-out
,
.vegas-transition-slideRight
,
.vegas-transition-slideRight2
{
-webkit-transform
:
translateX
(
-100%
);
-ms-transform
:
translateX
(
-100%
);
transform
:
translateX
(
-100%
)}
.vegas-transition-slideRight-in
,
.vegas-transition-slideRight2-in
{
-webkit-transform
:
translateX
(
0%
);
-ms-transform
:
translateX
(
0%
);
transform
:
translateX
(
0%
)}
.vegas-transition-slideRight2-out
{
-webkit-transform
:
translateX
(
100%
);
-ms-transform
:
translateX
(
100%
);
transform
:
translateX
(
100%
)}
.vegas-transition-slideUp
,
.vegas-transition-slideUp2
{
-webkit-transform
:
translateY
(
100%
);
-ms-transform
:
translateY
(
100%
);
transform
:
translateY
(
100%
)}
.vegas-transition-slideUp-in
,
.vegas-transition-slideUp2-in
{
-webkit-transform
:
translateY
(
0%
);
-ms-transform
:
translateY
(
0%
);
transform
:
translateY
(
0%
)}
.vegas-transition-slideDown
,
.vegas-transition-slideDown2
,
.vegas-transition-slideUp2-out
{
-webkit-transform
:
translateY
(
-100%
);
-ms-transform
:
translateY
(
-100%
);
transform
:
translateY
(
-100%
)}
.vegas-transition-slideDown-in
,
.vegas-transition-slideDown2-in
{
-webkit-transform
:
translateY
(
0%
);
-ms-transform
:
translateY
(
0%
);
transform
:
translateY
(
0%
)}
.vegas-transition-slideDown2-out
{
-webkit-transform
:
translateY
(
100%
);
-ms-transform
:
translateY
(
100%
);
transform
:
translateY
(
100%
)}
.vegas-transition-zoomIn
,
.vegas-transition-zoomIn2
{
-webkit-transform
:
scale
(
0
);
-ms-transform
:
scale
(
0
);
transform
:
scale
(
0
);
opacity
:
0
}
.vegas-transition-zoomIn-in
,
.vegas-transition-zoomIn2-in
{
-webkit-transform
:
scale
(
1
);
-ms-transform
:
scale
(
1
);
transform
:
scale
(
1
);
opacity
:
1
}
.vegas-transition-zoomIn2-out
,
.vegas-transition-zoomOut
,
.vegas-transition-zoomOut2
{
-webkit-transform
:
scale
(
2
);
-ms-transform
:
scale
(
2
);
transform
:
scale
(
2
);
opacity
:
0
}
.vegas-transition-zoomOut-in
,
.vegas-transition-zoomOut2-in
{
-webkit-transform
:
scale
(
1
);
-ms-transform
:
scale
(
1
);
transform
:
scale
(
1
);
opacity
:
1
}
.vegas-transition-zoomOut2-out
{
-webkit-transform
:
scale
(
0
);
-ms-transform
:
scale
(
0
);
transform
:
scale
(
0
);
opacity
:
0
}
.vegas-transition-swirlLeft
,
.vegas-transition-swirlLeft2
{
-webkit-transform
:
scale
(
2
)
rotate
(
35deg
);
-ms-transform
:
scale
(
2
)
rotate
(
35deg
);
transform
:
scale
(
2
)
rotate
(
35deg
);
opacity
:
0
}
.vegas-transition-swirlLeft-in
,
.vegas-transition-swirlLeft2-in
{
-webkit-transform
:
scale
(
1
)
rotate
(
0deg
);
-ms-transform
:
scale
(
1
)
rotate
(
0deg
);
transform
:
scale
(
1
)
rotate
(
0deg
);
opacity
:
1
}
.vegas-transition-swirlLeft2-out
,
.vegas-transition-swirlRight
,
.vegas-transition-swirlRight2
{
-webkit-transform
:
scale
(
2
)
rotate
(
-35deg
);
-ms-transform
:
scale
(
2
)
rotate
(
-35deg
);
transform
:
scale
(
2
)
rotate
(
-35deg
);
opacity
:
0
}
.vegas-transition-swirlRight-in
,
.vegas-transition-swirlRight2-in
{
-webkit-transform
:
scale
(
1
)
rotate
(
0deg
);
-ms-transform
:
scale
(
1
)
rotate
(
0deg
);
transform
:
scale
(
1
)
rotate
(
0deg
);
opacity
:
1
}
.vegas-transition-swirlRight2-out
{
-webkit-transform
:
scale
(
2
)
rotate
(
35deg
);
-ms-transform
:
scale
(
2
)
rotate
(
35deg
);
transform
:
scale
(
2
)
rotate
(
35deg
);
opacity
:
0
}
.vegas-animation-kenburns
{
-webkit-animation
:
kenburns
ease-out
;
animation
:
kenburns
ease-out
}
@-webkit-keyframes
kenburns
{
0
%
{
-webkit-transform
:
scale
(
1.5
);
transform
:
scale
(
1.5
)}
100
%
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
@keyframes
kenburns
{
0
%
{
-webkit-transform
:
scale
(
1.5
);
transform
:
scale
(
1.5
)}
100
%
{
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
.vegas-animation-kenburnsUp
{
-webkit-animation
:
kenburnsUp
ease-out
;
animation
:
kenburnsUp
ease-out
}
@-webkit-keyframes
kenburnsUp
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
0
,
10%
);
transform
:
scale
(
1.5
)
translate
(
0
,
10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
@keyframes
kenburnsUp
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
0
,
10%
);
transform
:
scale
(
1.5
)
translate
(
0
,
10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
.vegas-animation-kenburnsDown
{
-webkit-animation
:
kenburnsDown
ease-out
;
animation
:
kenburnsDown
ease-out
}
@-webkit-keyframes
kenburnsDown
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
0
,
-10%
);
transform
:
scale
(
1.5
)
translate
(
0
,
-10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
@keyframes
kenburnsDown
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
0
,
-10%
);
transform
:
scale
(
1.5
)
translate
(
0
,
-10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
.vegas-animation-kenburnsLeft
{
-webkit-animation
:
kenburnsLeft
ease-out
;
animation
:
kenburnsLeft
ease-out
}
@-webkit-keyframes
kenburnsLeft
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
10%
,
0
);
transform
:
scale
(
1.5
)
translate
(
10%
,
0
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
@keyframes
kenburnsLeft
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
10%
,
0
);
transform
:
scale
(
1.5
)
translate
(
10%
,
0
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
.vegas-animation-kenburnsRight
{
-webkit-animation
:
kenburnsRight
ease-out
;
animation
:
kenburnsRight
ease-out
}
@-webkit-keyframes
kenburnsRight
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
-10%
,
0
);
transform
:
scale
(
1.5
)
translate
(
-10%
,
0
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
@keyframes
kenburnsRight
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
-10%
,
0
);
transform
:
scale
(
1.5
)
translate
(
-10%
,
0
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
.vegas-animation-kenburnsUpLeft
{
-webkit-animation
:
kenburnsUpLeft
ease-out
;
animation
:
kenburnsUpLeft
ease-out
}
@-webkit-keyframes
kenburnsUpLeft
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
10%
,
10%
);
transform
:
scale
(
1.5
)
translate
(
10%
,
10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
@keyframes
kenburnsUpLeft
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
10%
,
10%
);
transform
:
scale
(
1.5
)
translate
(
10%
,
10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
.vegas-animation-kenburnsUpRight
{
-webkit-animation
:
kenburnsUpRight
ease-out
;
animation
:
kenburnsUpRight
ease-out
}
@-webkit-keyframes
kenburnsUpRight
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
-10%
,
10%
);
transform
:
scale
(
1.5
)
translate
(
-10%
,
10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
@keyframes
kenburnsUpRight
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
-10%
,
10%
);
transform
:
scale
(
1.5
)
translate
(
-10%
,
10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
.vegas-animation-kenburnsDownLeft
{
-webkit-animation
:
kenburnsDownLeft
ease-out
;
animation
:
kenburnsDownLeft
ease-out
}
@-webkit-keyframes
kenburnsDownLeft
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
10%
,
-10%
);
transform
:
scale
(
1.5
)
translate
(
10%
,
-10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
@keyframes
kenburnsDownLeft
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
10%
,
-10%
);
transform
:
scale
(
1.5
)
translate
(
10%
,
-10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
.vegas-animation-kenburnsDownRight
{
-webkit-animation
:
kenburnsDownRight
ease-out
;
animation
:
kenburnsDownRight
ease-out
}
@-webkit-keyframes
kenburnsDownRight
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
-10%
,
-10%
);
transform
:
scale
(
1.5
)
translate
(
-10%
,
-10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
@keyframes
kenburnsDownRight
{
0
%
{
-webkit-transform
:
scale
(
1.5
)
translate
(
-10%
,
-10%
);
transform
:
scale
(
1.5
)
translate
(
-10%
,
-10%
)}
100
%
{
-webkit-transform
:
scale
(
1
)
translate
(
0
,
0
);
transform
:
scale
(
1
)
translate
(
0
,
0
)}}
\ No newline at end of file
FE-InHome/plugins/vegas/vegas.min.js
0 → 100644
View file @
942ec064
/*!-----------------------------------------------------------------------------
* Vegas - Fullscreen Backgrounds and Slideshows.
* v2.1.3 - built 2015-04-28
* Licensed under the MIT License.
* http://vegas.jaysalvat.com/
* ----------------------------------------------------------------------------
* Copyright (C) 2010-2015 Jay Salvat
* http://jaysalvat.com/
* --------------------------------------------------------------------------*/
!
function
(
t
){
"
use strict
"
;
var
s
=
{
slide
:
0
,
delay
:
5
e3
,
preload
:
!
1
,
preloadImage
:
!
1
,
preloadVideo
:
!
1
,
timer
:
!
0
,
overlay
:
!
1
,
autoplay
:
!
0
,
shuffle
:
!
1
,
cover
:
!
0
,
color
:
null
,
align
:
"
center
"
,
valign
:
"
center
"
,
transition
:
"
fade
"
,
transitionDuration
:
1
e3
,
transitionRegister
:[],
animation
:
null
,
animationDuration
:
"
auto
"
,
animationRegister
:[],
init
:
function
(){},
play
:
function
(){},
pause
:
function
(){},
walk
:
function
(){},
slides
:[]},
i
=
{},
e
=
function
(
i
,
e
){
this
.
elmt
=
i
,
this
.
settings
=
t
.
extend
({},
s
,
t
.
vegas
.
defaults
,
e
),
this
.
slide
=
this
.
settings
.
slide
,
this
.
total
=
this
.
settings
.
slides
.
length
,
this
.
noshow
=
this
.
total
<
2
,
this
.
paused
=!
this
.
settings
.
autoplay
||
this
.
noshow
,
this
.
$elmt
=
t
(
i
),
this
.
$timer
=
null
,
this
.
$overlay
=
null
,
this
.
$slide
=
null
,
this
.
timeout
=
null
,
this
.
transitions
=
[
"
fade
"
,
"
fade2
"
,
"
blur
"
,
"
blur2
"
,
"
flash
"
,
"
flash2
"
,
"
negative
"
,
"
negative2
"
,
"
burn
"
,
"
burn2
"
,
"
slideLeft
"
,
"
slideLeft2
"
,
"
slideRight
"
,
"
slideRight2
"
,
"
slideUp
"
,
"
slideUp2
"
,
"
slideDown
"
,
"
slideDown2
"
,
"
zoomIn
"
,
"
zoomIn2
"
,
"
zoomOut
"
,
"
zoomOut2
"
,
"
swirlLeft
"
,
"
swirlLeft2
"
,
"
swirlRight
"
,
"
swirlRight2
"
],
this
.
animations
=
[
"
kenburns
"
,
"
kenburnsLeft
"
,
"
kenburnsRight
"
,
"
kenburnsUp
"
,
"
kenburnsUpLeft
"
,
"
kenburnsUpRight
"
,
"
kenburnsDown
"
,
"
kenburnsDownLeft
"
,
"
kenburnsDownRight
"
],
this
.
settings
.
transitionRegister
instanceof
Array
==!
1
&&
(
this
.
settings
.
transitionRegister
=
[
this
.
settings
.
transitionRegister
]),
this
.
settings
.
animationRegister
instanceof
Array
==!
1
&&
(
this
.
settings
.
animationRegister
=
[
this
.
settings
.
animationRegister
]),
this
.
transitions
=
this
.
transitions
.
concat
(
this
.
settings
.
transitionRegister
),
this
.
animations
=
this
.
animations
.
concat
(
this
.
settings
.
animationRegister
),
this
.
support
=
{
objectFit
:
"
objectFit
"
in
document
.
body
.
style
,
transition
:
"
transition
"
in
document
.
body
.
style
||
"
WebkitTransition
"
in
document
.
body
.
style
,
video
:
t
.
vegas
.
isVideoCompatible
()},
this
.
settings
.
shuffle
===!
0
&&
this
.
shuffle
(),
this
.
_init
()};
e
.
prototype
=
{
_init
:
function
(){
var
s
,
i
,
e
,
n
=
"
BODY
"
===
this
.
elmt
.
tagName
,
o
=
this
.
settings
.
timer
,
a
=
this
.
settings
.
overlay
,
r
=
this
;
this
.
_preload
(),
n
||
(
this
.
$elmt
.
css
(
"
height
"
,
this
.
$elmt
.
css
(
"
height
"
)),
s
=
t
(
'
<div class="vegas-wrapper">
'
).
css
(
"
overflow
"
,
this
.
$elmt
.
css
(
"
overflow
"
)).
css
(
"
padding
"
,
this
.
$elmt
.
css
(
"
padding
"
)),
this
.
$elmt
.
css
(
"
padding
"
)
||
s
.
css
(
"
padding-top
"
,
this
.
$elmt
.
css
(
"
padding-top
"
)).
css
(
"
padding-bottom
"
,
this
.
$elmt
.
css
(
"
padding-bottom
"
)).
css
(
"
padding-left
"
,
this
.
$elmt
.
css
(
"
padding-left
"
)).
css
(
"
padding-right
"
,
this
.
$elmt
.
css
(
"
padding-right
"
)),
this
.
$elmt
.
clone
(
!
0
).
children
().
appendTo
(
s
),
this
.
elmt
.
innerHTML
=
""
),
o
&&
this
.
support
.
transition
&&
(
e
=
t
(
'
<div class="vegas-timer"><div class="vegas-timer-progress">
'
),
this
.
$timer
=
e
,
this
.
$elmt
.
prepend
(
e
)),
a
&&
(
i
=
t
(
'
<div class="vegas-overlay">
'
),
"
string
"
==
typeof
a
&&
i
.
css
(
"
background-image
"
,
"
url(
"
+
a
+
"
)
"
),
this
.
$overlay
=
i
,
this
.
$elmt
.
prepend
(
i
)),
this
.
$elmt
.
addClass
(
"
vegas-container
"
),
n
||
this
.
$elmt
.
append
(
s
),
setTimeout
(
function
(){
r
.
trigger
(
"
init
"
),
r
.
_goto
(
r
.
slide
),
r
.
settings
.
autoplay
&&
r
.
trigger
(
"
play
"
)},
1
)},
_preload
:
function
(){
var
t
,
s
,
i
;
for
(
i
=
0
;
i
<
this
.
settings
.
slides
.
length
;
i
++
)(
this
.
settings
.
preload
||
this
.
settings
.
preloadImages
)
&&
this
.
settings
.
slides
[
i
].
src
&&
(
s
=
new
Image
,
s
.
src
=
this
.
settings
.
slides
[
i
].
src
),(
this
.
settings
.
preload
||
this
.
settings
.
preloadVideos
)
&&
this
.
support
.
video
&&
this
.
settings
.
slides
[
i
].
video
&&
(
t
=
this
.
_video
(
this
.
settings
.
slides
[
i
].
video
instanceof
Array
?
this
.
settings
.
slides
[
i
].
video
:
this
.
settings
.
slides
[
i
].
video
.
src
))},
_random
:
function
(
t
){
return
t
[
Math
.
floor
(
Math
.
random
()
*
(
t
.
length
-
1
))]},
_slideShow
:
function
(){
var
t
=
this
;
this
.
total
>
1
&&!
this
.
paused
&&!
this
.
noshow
&&
(
this
.
timeout
=
setTimeout
(
function
(){
t
.
next
()},
this
.
_options
(
"
delay
"
)))},
_timer
:
function
(
t
){
var
s
=
this
;
clearTimeout
(
this
.
timeout
),
this
.
$timer
&&
(
this
.
$timer
.
removeClass
(
"
vegas-timer-running
"
).
find
(
"
div
"
).
css
(
"
transition-duration
"
,
"
0ms
"
),
this
.
paused
||
this
.
noshow
||
t
&&
setTimeout
(
function
(){
s
.
$timer
.
addClass
(
"
vegas-timer-running
"
).
find
(
"
div
"
).
css
(
"
transition-duration
"
,
s
.
_options
(
"
delay
"
)
-
100
+
"
ms
"
)},
100
))},
_video
:
function
(
t
){
var
s
,
e
,
n
=
t
.
toString
();
return
i
[
n
]?
i
[
n
]:(
t
instanceof
Array
==!
1
&&
(
t
=
[
t
]),
s
=
document
.
createElement
(
"
video
"
),
s
.
preload
=!
0
,
t
.
forEach
(
function
(
t
){
e
=
document
.
createElement
(
"
source
"
),
e
.
src
=
t
,
s
.
appendChild
(
e
)}),
i
[
n
]
=
s
,
s
)},
_fadeOutSound
:
function
(
t
,
s
){
var
i
=
this
,
e
=
s
/
10
,
n
=
t
.
volume
-
.
09
;
n
>
0
?(
t
.
volume
=
n
,
setTimeout
(
function
(){
i
.
_fadeOutSound
(
t
,
s
)},
e
)):
t
.
pause
()},
_fadeInSound
:
function
(
t
,
s
){
var
i
=
this
,
e
=
s
/
10
,
n
=
t
.
volume
+
.
09
;
1
>
n
&&
(
t
.
volume
=
n
,
setTimeout
(
function
(){
i
.
_fadeInSound
(
t
,
s
)},
e
))},
_options
:
function
(
t
,
s
){
return
void
0
===
s
&&
(
s
=
this
.
slide
),
void
0
!==
this
.
settings
.
slides
[
s
][
t
]?
this
.
settings
.
slides
[
s
][
t
]:
this
.
settings
[
t
]},
_goto
:
function
(
s
){
function
i
(){
f
.
_timer
(
!
0
),
setTimeout
(
function
(){
y
&&
(
f
.
support
.
transition
?(
h
.
css
(
"
transition
"
,
"
all
"
+
_
+
"
ms
"
).
addClass
(
"
vegas-transition-
"
+
y
+
"
-out
"
),
h
.
each
(
function
(){
var
t
=
h
.
find
(
"
video
"
).
get
(
0
);
t
&&
(
t
.
volume
=
1
,
f
.
_fadeOutSound
(
t
,
_
))}),
e
.
css
(
"
transition
"
,
"
all
"
+
_
+
"
ms
"
).
addClass
(
"
vegas-transition-
"
+
y
+
"
-in
"
)):
e
.
fadeIn
(
_
));
for
(
var
t
=
0
;
t
<
h
.
length
-
4
;
t
++
)
h
.
eq
(
t
).
remove
();
f
.
trigger
(
"
walk
"
),
f
.
_slideShow
()},
100
)}
"
undefined
"
==
typeof
this
.
settings
.
slides
[
s
]
&&
(
s
=
0
),
this
.
slide
=
s
;
var
e
,
n
,
o
,
a
,
r
,
h
=
this
.
$elmt
.
children
(
"
.vegas-slide
"
),
l
=
this
.
settings
.
slides
[
s
].
src
,
d
=
this
.
settings
.
slides
[
s
].
video
,
g
=
this
.
_options
(
"
delay
"
),
u
=
this
.
_options
(
"
align
"
),
c
=
this
.
_options
(
"
valign
"
),
p
=
this
.
_options
(
"
color
"
)
||
this
.
$elmt
.
css
(
"
background-color
"
),
m
=
this
.
_options
(
"
cover
"
)?
"
cover
"
:
"
contain
"
,
f
=
this
,
v
=
h
.
length
,
y
=
this
.
_options
(
"
transition
"
),
_
=
this
.
_options
(
"
transitionDuration
"
),
w
=
this
.
_options
(
"
animation
"
),
b
=
this
.
_options
(
"
animationDuration
"
);(
"
random
"
===
y
||
y
instanceof
Array
)
&&
(
y
=
this
.
_random
(
y
instanceof
Array
?
y
:
this
.
transitions
)),(
"
random
"
===
w
||
w
instanceof
Array
)
&&
(
w
=
this
.
_random
(
w
instanceof
Array
?
w
:
this
.
animations
)),(
"
auto
"
===
_
||
_
>
g
)
&&
(
_
=
g
),
"
auto
"
===
b
&&
(
b
=
g
),
e
=
t
(
'
<div class="vegas-slide"></div>
'
),
this
.
support
.
transition
&&
y
&&
e
.
addClass
(
"
vegas-transition-
"
+
y
),
this
.
support
.
video
&&
d
?(
a
=
this
.
_video
(
d
instanceof
Array
?
d
:
d
.
src
),
a
.
loop
=
void
0
!==
d
.
loop
?
d
.
loop
:
!
0
,
a
.
muted
=
void
0
!==
d
.
mute
?
d
.
mute
:
!
0
,
a
.
muted
===!
1
?(
a
.
volume
=
0
,
this
.
_fadeInSound
(
a
,
_
)):
a
.
pause
(),
o
=
t
(
a
).
addClass
(
"
vegas-video
"
).
css
(
"
background-color
"
,
p
),
this
.
support
.
objectFit
?
o
.
css
(
"
object-position
"
,
u
+
"
"
+
c
).
css
(
"
object-fit
"
,
m
).
css
(
"
width
"
,
"
100%
"
).
css
(
"
height
"
,
"
100%
"
):
"
contain
"
===
m
&&
o
.
css
(
"
width
"
,
"
100%
"
).
css
(
"
height
"
,
"
100%
"
),
e
.
append
(
o
)):(
r
=
new
Image
,
n
=
t
(
'
<div class="vegas-slide-inner"></div>
'
).
css
(
"
background-image
"
,
"
url(
"
+
l
+
"
)
"
).
css
(
"
background-color
"
,
p
).
css
(
"
background-position
"
,
u
+
"
"
+
c
).
css
(
"
background-size
"
,
m
),
this
.
support
.
transition
&&
w
&&
n
.
addClass
(
"
vegas-animation-
"
+
w
).
css
(
"
animation-duration
"
,
b
+
"
ms
"
),
e
.
append
(
n
)),
this
.
support
.
transition
||
e
.
css
(
"
display
"
,
"
none
"
),
v
?
h
.
eq
(
v
-
1
).
after
(
e
):
this
.
$elmt
.
prepend
(
e
),
f
.
_timer
(
!
1
),
a
?(
4
===
a
.
readyState
&&
(
a
.
currentTime
=
0
),
a
.
play
(),
i
()):(
r
.
src
=
l
,
r
.
onload
=
i
)},
shuffle
:
function
(){
for
(
var
t
,
s
,
i
=
this
.
total
-
1
;
i
>
0
;
i
--
)
s
=
Math
.
floor
(
Math
.
random
()
*
(
i
+
1
)),
t
=
this
.
settings
.
slides
[
i
],
this
.
settings
.
slides
[
i
]
=
this
.
settings
.
slides
[
s
],
this
.
settings
.
slides
[
s
]
=
t
},
play
:
function
(){
this
.
paused
&&
(
this
.
paused
=!
1
,
this
.
next
(),
this
.
trigger
(
"
play
"
))},
pause
:
function
(){
this
.
_timer
(
!
1
),
this
.
paused
=!
0
,
this
.
trigger
(
"
pause
"
)},
toggle
:
function
(){
this
.
paused
?
this
.
play
():
this
.
pause
()},
playing
:
function
(){
return
!
this
.
paused
&&!
this
.
noshow
},
current
:
function
(
t
){
return
t
?{
slide
:
this
.
slide
,
data
:
this
.
settings
.
slides
[
this
.
slide
]}:
this
.
slide
},
jump
:
function
(
t
){
0
>
t
||
t
>
this
.
total
-
1
||
t
===
this
.
slide
||
(
this
.
slide
=
t
,
this
.
_goto
(
this
.
slide
))},
next
:
function
(){
this
.
slide
++
,
this
.
slide
>=
this
.
total
&&
(
this
.
slide
=
0
),
this
.
_goto
(
this
.
slide
)},
previous
:
function
(){
this
.
slide
--
,
this
.
slide
<
0
&&
(
this
.
slide
=
this
.
total
-
1
),
this
.
_goto
(
this
.
slide
)},
trigger
:
function
(
t
){
var
s
=
[];
s
=
"
init
"
===
t
?[
this
.
settings
]:[
this
.
slide
,
this
.
settings
.
slides
[
this
.
slide
]],
this
.
$elmt
.
trigger
(
"
vegas
"
+
t
,
s
),
"
function
"
==
typeof
this
.
settings
[
t
]
&&
this
.
settings
[
t
].
apply
(
this
.
$elmt
,
s
)},
options
:
function
(
i
,
e
){
var
n
=
this
.
settings
.
slides
.
slice
();
if
(
"
object
"
==
typeof
i
)
this
.
settings
=
t
.
extend
({},
s
,
t
.
vegas
.
defaults
,
i
);
else
{
if
(
"
string
"
!=
typeof
i
)
return
this
.
settings
;
if
(
void
0
===
e
)
return
this
.
settings
[
i
];
this
.
settings
[
i
]
=
e
}
this
.
settings
.
slides
!==
n
&&
(
this
.
total
=
this
.
settings
.
slides
.
length
,
this
.
noshow
=
this
.
total
<
2
,
this
.
_preload
())},
destroy
:
function
(){
clearTimeout
(
this
.
timeout
),
this
.
$elmt
.
removeClass
(
"
vegas-container
"
),
this
.
$elmt
.
find
(
"
> .vegas-slide
"
).
remove
(),
this
.
$elmt
.
find
(
"
> .vegas-wrapper
"
).
clone
(
!
0
).
children
().
appendTo
(
this
.
$elmt
),
this
.
$elmt
.
find
(
"
> .vegas-wrapper
"
).
remove
(),
this
.
settings
.
timer
&&
this
.
$timer
.
remove
(),
this
.
settings
.
overlay
&&
this
.
$overlay
.
remove
(),
this
.
elmt
.
_vegas
=
null
}},
t
.
fn
.
vegas
=
function
(
t
){
var
s
,
i
=
arguments
,
n
=!
1
;
if
(
void
0
===
t
||
"
object
"
==
typeof
t
)
return
this
.
each
(
function
(){
this
.
_vegas
||
(
this
.
_vegas
=
new
e
(
this
,
t
))});
if
(
"
string
"
==
typeof
t
){
if
(
this
.
each
(
function
(){
var
e
=
this
.
_vegas
;
if
(
!
e
)
throw
new
Error
(
"
No Vegas applied to this element.
"
);
"
function
"
==
typeof
e
[
t
]
&&
"
_
"
!==
t
[
0
]?
s
=
e
[
t
].
apply
(
e
,[].
slice
.
call
(
i
,
1
)):
n
=!
0
}),
n
)
throw
new
Error
(
'
No method "
'
+
t
+
'
" in Vegas.
'
);
return
void
0
!==
s
?
s
:
this
}},
t
.
vegas
=
{},
t
.
vegas
.
defaults
=
s
,
t
.
vegas
.
isVideoCompatible
=
function
(){
return
!
/
(
Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone
)
/i
.
test
(
navigator
.
userAgent
)}}(
window
.
jQuery
||
window
.
Zepto
);
//# sourceMappingURL=vegas.min.js.map
\ No newline at end of file
FE-InHome/plugins/vimeo-player/jquery.mb.vimeo_player.min.js
0 → 100644
View file @
942ec064
This diff is collapsed.
Click to expand it.
FE-InHome/plugins/youtube-player/jquery.mb.YTPlayer.min.js
0 → 100644
View file @
942ec064
/*
* YoutubeBackground - A wrapper for the Youtube API - Great for fullscreen background videos or just regular videos.
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Version: 1.0.5
*/
"
function
"
!=
typeof
Object
.
create
&&
(
Object
.
create
=
function
(
e
){
function
t
(){}
return
t
.
prototype
=
e
,
new
t
}),
function
(
e
,
t
,
o
){
var
i
=
function
(
o
){
"
undefined
"
==
typeof
YT
&&
void
0
===
t
.
loadingPlayer
?(
t
.
loadingPlayer
=!
0
,
t
.
dfd
=
e
.
Deferred
(),
t
.
onYouTubeIframeAPIReady
=
function
(){
t
.
onYouTubeIframeAPIReady
=
null
,
t
.
dfd
.
resolve
(
"
done
"
),
o
()}):
"
object
"
==
typeof
YT
?
o
():
t
.
dfd
.
done
(
function
(
e
){
o
()})};
YTPlayer
=
{
player
:
null
,
defaults
:{
ratio
:
16
/
9
,
videoId
:
"
LSmgKRx5pBo
"
,
mute
:
!
0
,
repeat
:
!
0
,
width
:
e
(
t
).
width
(),
playButtonClass
:
"
YTPlayer-play
"
,
pauseButtonClass
:
"
YTPlayer-pause
"
,
muteButtonClass
:
"
YTPlayer-mute
"
,
volumeUpClass
:
"
YTPlayer-volume-up
"
,
volumeDownClass
:
"
YTPlayer-volume-down
"
,
start
:
0
,
pauseOnScroll
:
!
1
,
fitToBackground
:
!
0
,
playerVars
:{
iv_load_policy
:
3
,
modestbranding
:
1
,
autoplay
:
1
,
controls
:
0
,
showinfo
:
0
,
wmode
:
"
opaque
"
,
branding
:
0
,
autohide
:
0
},
events
:
null
},
init
:
function
(
a
,
n
){
var
l
,
r
,
s
,
d
=
this
;
return
d
.
userOptions
=
n
,
d
.
$body
=
e
(
"
body
"
),
d
.
$node
=
e
(
a
),
d
.
$window
=
e
(
t
),
d
.
defaults
.
events
=
{
onReady
:
function
(
e
){
d
.
onPlayerReady
(
e
),
d
.
options
.
pauseOnScroll
&&
d
.
pauseOnScroll
(),
"
function
"
==
typeof
d
.
options
.
callback
&&
d
.
options
.
callback
.
call
(
this
)},
onStateChange
:
function
(
e
){
1
===
e
.
data
?(
d
.
$node
.
find
(
"
img
"
).
fadeOut
(
400
),
d
.
$node
.
addClass
(
"
loaded
"
)):
0
===
e
.
data
&&
d
.
options
.
repeat
&&
d
.
player
.
seekTo
(
d
.
options
.
start
)}},
d
.
options
=
e
.
extend
(
!
0
,{},
d
.
defaults
,
d
.
userOptions
),
d
.
options
.
height
=
Math
.
ceil
(
d
.
options
.
width
/
d
.
options
.
ratio
),
d
.
ID
=
(
new
Date
).
getTime
(),
d
.
holderID
=
"
YTPlayer-ID-
"
+
d
.
ID
,
d
.
options
.
fitToBackground
?
d
.
createBackgroundVideo
():
d
.
createContainerVideo
(),
d
.
$window
.
on
(
"
resize.YTplayer
"
+
d
.
ID
,
function
(){
d
.
resize
(
d
)}),
l
=
d
.
onYouTubeIframeAPIReady
.
bind
(
d
),
r
=
o
.
createElement
(
"
script
"
),
s
=
o
.
getElementsByTagName
(
"
head
"
)[
0
],
"
file://
"
==
t
.
location
.
origin
?
r
.
src
=
"
http://www.youtube.com/iframe_api
"
:
r
.
src
=
"
//www.youtube.com/iframe_api
"
,
s
.
appendChild
(
r
),
s
=
null
,
r
=
null
,
i
(
l
),
d
.
resize
(
d
),
d
},
pauseOnScroll
:
function
(){
var
e
=
this
;
e
.
$window
.
on
(
"
scroll.YTplayer
"
+
e
.
ID
,
function
(){
1
===
e
.
player
.
getPlayerState
()
&&
e
.
player
.
pauseVideo
()}),
e
.
$window
.
scrollStopped
(
function
(){
2
===
e
.
player
.
getPlayerState
()
&&
e
.
player
.
playVideo
()})},
createContainerVideo
:
function
(){
var
t
=
e
(
'
<div id="ytplayer-container
'
+
this
.
ID
+
'
" > <div id="
'
+
this
.
holderID
+
'
" class="ytplayer-player-inline"></div> </div> <div id="ytplayer-shield" class="ytplayer-shield"></div>
'
);
this
.
$node
.
append
(
t
),
this
.
$YTPlayerString
=
t
,
t
=
null
},
createBackgroundVideo
:
function
(){
var
t
=
e
(
'
<div id="ytplayer-container
'
+
this
.
ID
+
'
" class="ytplayer-container background"> <div id="
'
+
this
.
holderID
+
'
" class="ytplayer-player"></div> </div> <div id="ytplayer-shield" class="ytplayer-shield"></div>
'
);
this
.
$node
.
append
(
t
),
this
.
$YTPlayerString
=
t
,
t
=
null
},
resize
:
function
(
o
){
var
i
=
e
(
t
);
o
.
options
.
fitToBackground
||
(
i
=
o
.
$node
);
var
a
,
n
,
l
=
i
.
width
(),
r
=
i
.
height
(),
s
=
e
(
"
#
"
+
o
.
holderID
);
l
/
o
.
options
.
ratio
<
r
?(
a
=
Math
.
ceil
(
r
*
o
.
options
.
ratio
),
s
.
width
(
a
).
height
(
r
).
css
({
left
:(
l
-
a
)
/
2
,
top
:
0
})):(
n
=
Math
.
ceil
(
l
/
o
.
options
.
ratio
),
s
.
width
(
l
).
height
(
n
).
css
({
left
:
0
,
top
:(
r
-
n
)
/
2
})),
s
=
null
,
i
=
null
},
onYouTubeIframeAPIReady
:
function
(){
this
.
player
=
new
t
.
YT
.
Player
(
this
.
holderID
,
this
.
options
)},
onPlayerReady
:
function
(
e
){
this
.
options
.
mute
&&
e
.
target
.
mute
()},
getPlayer
:
function
(){
return
this
.
player
},
destroy
:
function
(){
this
.
$node
.
removeData
(
"
yt-init
"
).
removeData
(
"
ytPlayer
"
).
removeClass
(
"
loaded
"
),
this
.
$YTPlayerString
.
remove
(),
e
(
t
).
off
(
"
resize.YTplayer
"
+
this
.
ID
),
e
(
t
).
off
(
"
scroll.YTplayer
"
+
this
.
ID
),
this
.
$body
=
null
,
this
.
$node
=
null
,
this
.
$YTPlayerString
=
null
,
this
.
player
.
destroy
(),
this
.
player
=
null
}},
e
.
fn
.
scrollStopped
=
function
(
t
){
var
o
=
e
(
this
),
i
=
this
;
o
.
scroll
(
function
(){
o
.
data
(
"
scrollTimeout
"
)
&&
clearTimeout
(
o
.
data
(
"
scrollTimeout
"
)),
o
.
data
(
"
scrollTimeout
"
,
setTimeout
(
t
,
250
,
i
))})},
e
.
fn
.
YTPlayer
=
function
(
t
){
return
this
.
each
(
function
(){
e
(
this
).
data
(
"
yt-init
"
,
!
0
);
var
o
=
Object
.
create
(
YTPlayer
);
o
.
init
(
this
,
t
),
e
.
data
(
this
,
"
ytPlayer
"
,
o
)})}}(
jQuery
,
window
,
document
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment