Created
April 9, 2020 16:31
-
-
Save james-tindal/e78732e720bcc0e2c9f9deb35a556c8a to your computer and use it in GitHub Desktop.
Overrides to add speed control to Blinkist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.modal { | |
position: fixed; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
z-index: 10000; | |
overflow-y: auto; | |
-webkit-overflow-scrolling: touch; | |
background: rgba(58,70,73,.7) | |
} | |
.modal,.modal__wrapper { | |
display: flex; | |
max-width: 100% | |
} | |
.modal__wrapper { | |
justify-content: center; | |
align-items: center; | |
margin: auto; | |
padding: 1rem | |
} | |
@media (min-width: 416px) { | |
.modal__wrapper { | |
padding-left:3rem; | |
padding-right: 3rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.modal__wrapper { | |
padding-left:2.25rem; | |
padding-right: 2.25rem | |
} | |
} | |
@media (min-width: 416px) { | |
.modal__wrapper { | |
padding-top:4rem; | |
padding-bottom: 4rem | |
} | |
} | |
.modal__resizer { | |
position: relative; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
max-width: 100%; | |
margin: 0 auto; | |
background-color: #fff; | |
transition: all .25s | |
} | |
.modal__container { | |
position: relative; | |
z-index: 1; | |
max-width: 100% | |
} | |
.modal__close { | |
position: absolute; | |
top: 0; | |
right: 0; | |
z-index: 2; | |
display: block; | |
box-sizing: content-box; | |
width: .75rem; | |
height: .75rem; | |
padding: 1rem; | |
background-image: url(/packs/media/images/modal/close-66b353455682b610775c2f2b9055dea3.svg); | |
background-repeat: no-repeat; | |
background-position: 50%; | |
cursor: pointer | |
} | |
.modal__close:hover { | |
opacity: .5 | |
} | |
@media (min-width: 416px) { | |
.modal__close { | |
top:.5rem; | |
right: .5rem | |
} | |
} | |
.modal--wdyhau-survey .modal__wrapper { | |
padding-left: 1rem; | |
padding-right: 1rem; | |
box-sizing: border-box; | |
margin-left: auto; | |
margin-right: auto; | |
max-width: 1024px; | |
width: 100% | |
} | |
@media (min-width: 416px) { | |
.modal--wdyhau-survey .modal__wrapper { | |
padding-left:3rem; | |
padding-right: 3rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.modal--wdyhau-survey .modal__wrapper { | |
padding-left:2.25rem; | |
padding-right: 2.25rem | |
} | |
} | |
.modal--wdyhau-survey .modal__resizer { | |
max-width: 39rem | |
} | |
.modal--active { | |
display: flex | |
} | |
.modal--dark .modal__resizer { | |
background-color: #03314b | |
} | |
.modal--dark .modal__close { | |
background-image: url(/packs/media/images/modal/close-dark-f7032ee79d4e3c969d47eb8c49345dfd.svg) | |
} | |
.modal--grey-pale .modal__resizer { | |
background-color: #f1f6f4 | |
} | |
.modal--video .modal__resizer,.modal--video .modal__wrapper { | |
width: 100%; | |
height: 100%; | |
background-color: transparent | |
} | |
.modal--video .modal__container { | |
background-color: #000 | |
} | |
.modal--video .modal__close { | |
top: 0; | |
right: 0; | |
z-index: 2; | |
width: 2.75rem; | |
height: 2.75rem; | |
background-image: url(/packs/media/images/modal/close-video-7a9b953609078b36190d854f621cc20c.svg) | |
} | |
.modal--auth-popup .modal__wrapper,.modal--no-horizontal-padding .modal__wrapper { | |
padding-right: 0; | |
padding-left: 0 | |
} | |
.modal--no-padding .modal__wrapper { | |
padding: 0 | |
} | |
.modal-fade-enter-active,.modal-fade-leave-active { | |
transition: opacity .25s | |
} | |
.modal-fade-enter,.modal-fade-leave-to { | |
opacity: 0 | |
} | |
.modal-scale-enter-active,.modal-scale-leave-active { | |
transition: transform .25s | |
} | |
.modal-scale-enter,.modal-scale-leave-to { | |
transform: scale(.8) | |
} | |
.step-enter-active,.step-leave-active { | |
transition: opacity .25s | |
} | |
.step-enter-active { | |
transition-delay: .25s | |
} | |
.step-enter,.step-leave-to { | |
opacity: 0 | |
} | |
.ranger { | |
min-width: 5rem; | |
padding-right: .375rem; | |
padding-left: .375rem | |
} | |
.ranger__path { | |
position: relative; | |
width: 100%; | |
height: .25rem; | |
background: #6d787e; | |
cursor: pointer | |
} | |
.ranger__trail { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 0; | |
height: 100%; | |
background-color: #2ce080; | |
cursor: pointer | |
} | |
.ranger__thumb { | |
position: absolute; | |
top: 50%; | |
width: .75rem; | |
height: .75rem; | |
background: #2ce080; | |
border-radius: 50%; | |
transform: translate(-50%,-50%) | |
} | |
.reader-audio-player { | |
display: flex; | |
align-items: center | |
} | |
.reader-audio-player__element { | |
padding-right: 1rem | |
} | |
.reader-audio-player__element--progress { | |
flex-grow: 1 | |
} | |
@media (max-width: 767px) { | |
.reader-audio-player__element--total { | |
padding-right:0 | |
} | |
} | |
.reader-audio-player__element--sound { | |
display: none; | |
cursor: pointer | |
} | |
@media (min-width: 768px) { | |
.reader-audio-player__element--sound { | |
display:block | |
} | |
} | |
.reader-audio-player__element--volume { | |
display: none; | |
padding-right: 0 | |
} | |
@media (min-width: 768px) { | |
.reader-audio-player__element--volume { | |
display:block; | |
flex-basis: 20% | |
} | |
} | |
.reader-audio-player__rate { cursor: pointer } | |
.reader-audio-player__play { | |
display: block; | |
width: 1.5rem; | |
height: 1.5rem; | |
background-color: transparent; | |
background-image: url(/packs/media/images/reader/play-8a1a7b0b24afa4114e3e654a19f76cf6.png); | |
background-repeat: no-repeat; | |
background-position: 50%; | |
background-size: contain; | |
border: 0; | |
cursor: pointer | |
} | |
@media (-webkit-min-device-pixel-ratio: 1.5),all and (-o-min-device-pixel-ratio:3/2),all and (min--moz-device-pixel-ratio:1.5),all and (min-device-pixel-ratio:1.5) { | |
.reader-audio-player__play { | |
background-image:url(/packs/media/images/reader2x/play-f205374bebe45f20b8be899ece4a1628.png) | |
} | |
} | |
.reader-audio-player__pause { | |
background-image: url(/packs/media/images/reader/pause-84d7cbfb859349070f47163386cf5d4e.png) | |
} | |
@media (-webkit-min-device-pixel-ratio: 1.5),all and (-o-min-device-pixel-ratio:3/2),all and (min--moz-device-pixel-ratio:1.5),all and (min-device-pixel-ratio:1.5) { | |
.reader-audio-player__pause { | |
background-image:url(/packs/media/images/reader2x/pause-3f4278fccdf6806759ef5cd0cb1dc53d.png) | |
} | |
} | |
.reader-audio-player__remaining-time { | |
min-width: 3em | |
} | |
.reader-audio-player__progress { | |
width: 100% | |
} | |
.reader-audio-player__sound { | |
display: block; | |
width: 1.5rem; | |
height: 1rem; | |
background-image: url(/packs/media/images/reader/sound-b945faa8880de925173ba1c1875e2fe2.png); | |
background-repeat: no-repeat; | |
background-position: 50%; | |
background-size: contain | |
} | |
.reader-audio-player__sound--mute { | |
background-image: url(/packs/media/images/reader/mute-6474f2ca37a438ea00de9d8fa0256a1a.png) | |
} | |
@media (-webkit-min-device-pixel-ratio: 1.5),all and (-o-min-device-pixel-ratio:3/2),all and (min--moz-device-pixel-ratio:1.5),all and (min-device-pixel-ratio:1.5) { | |
.reader-audio-player__sound--mute { | |
background-image:url(/packs/media/images/reader2x/mute-78216acc2d5139bcc1c2c3e491323972.png) | |
} | |
} | |
@media (-webkit-min-device-pixel-ratio: 1.5),all and (-o-min-device-pixel-ratio:3/2),all and (min--moz-device-pixel-ratio:1.5),all and (min-device-pixel-ratio:1.5) { | |
.reader-audio-player__sound { | |
background-image:url(/packs/media/images/reader2x/sound-e1db53e76b792f56ca4ae853a88e1840.png) | |
} | |
} | |
.reader-audio-player__volume { | |
width: 100% | |
} | |
.reader-chapter-indicator { | |
font-weight: 500; | |
font-size: .75rem; | |
font-family: CeraPRO; | |
line-height: 1.3 | |
} | |
.reader-chapter-indicator__counter { | |
display: inline-block | |
} | |
.reader-chapter-indicator__total:before { | |
content: "/ " | |
} | |
.reader-audio { | |
display: flex; | |
align-items: center; | |
box-sizing: border-box; | |
height: 4rem; | |
padding: .5rem 1rem; | |
background-color: #f1f6f4 | |
} | |
@media (min-width: 416px) { | |
.reader-audio { | |
padding-left:3rem; | |
padding-right: 3rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.reader-audio { | |
padding-left:2.25rem; | |
padding-right: 2.25rem | |
} | |
} | |
.reader-audio__chapter { | |
display: none; | |
padding-right: 1rem | |
} | |
@media (min-width: 768px) { | |
.reader-audio__chapter { | |
display:block; | |
flex-basis: 20% | |
} | |
} | |
.reader-audio__player { | |
flex-basis: 100% | |
} | |
@media (min-width: 768px) { | |
.reader-audio__player { | |
flex-basis:80% | |
} | |
} | |
.deploy-enter-active,.deploy-leave-active { | |
overflow: hidden; | |
transition: height .2s ease-in-out | |
} | |
.deploy-enter,.deploy-leave-to { | |
height: 0 | |
} | |
[data-v-1cc0d2dd] { | |
transform: translateZ(0); | |
-webkit-backface-visibility: hidden; | |
backface-visibility: hidden; | |
perspective: 60rem; | |
will-change: height | |
} | |
[data-banner] { | |
display: none | |
} | |
.banner { | |
font-family: CeraPRO; | |
font-size: 1rem; | |
font-weight: 400; | |
line-height: 1.5; | |
color: #fff; | |
display: flex; | |
align-items: flex-end; | |
padding: .6875rem 0 .8125rem | |
} | |
.banner__container { | |
padding-left: 1rem; | |
padding-right: 1rem; | |
box-sizing: border-box; | |
margin-left: auto; | |
margin-right: auto; | |
max-width: 1024px; | |
width: 100% | |
} | |
@media (min-width: 416px) { | |
.banner__container { | |
padding-left:3rem; | |
padding-right: 3rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.banner__container { | |
padding-left:2.25rem; | |
padding-right: 2.25rem | |
} | |
} | |
.banner__inner { | |
position: relative; | |
display: flex; | |
justify-content: center | |
} | |
@media (max-width: 767px) { | |
.banner__inner { | |
justify-content:flex-start | |
} | |
} | |
.banner__content { | |
width: 91.66667%; | |
text-align: left | |
} | |
.banner__content a { | |
color: inherit; | |
text-decoration: underline | |
} | |
.banner__content a:hover { | |
color: inherit; | |
text-decoration: underline | |
} | |
.banner__content mark { | |
font-weight: 700 | |
} | |
@media (min-width: 768px) { | |
.banner__content { | |
width:91.66667%; | |
text-align: center | |
} | |
} | |
.banner__close { | |
position: absolute; | |
top: 50%; | |
right: 0; | |
color: #f1f6f4; | |
transform: translateY(-50%); | |
cursor: pointer | |
} | |
.banner__close-icon { | |
fill: currentColor | |
} | |
.banner--notification { | |
color: #fff; | |
background: #1775fc | |
} | |
.banner--sale a { | |
font-weight: 700 | |
} | |
html { | |
box-sizing: border-box; | |
font-size: 16px; | |
line-height: 19px | |
} | |
*,:after,:before { | |
box-sizing: inherit | |
} | |
body { | |
margin: 0; | |
padding: 0; | |
position: relative | |
} | |
@media (max-width: 47.99rem) { | |
body.mobile-scroll-disabled { | |
position:fixed; | |
overflow: hidden | |
} | |
} | |
body.scroll-disabled { | |
height: 100%; | |
overflow: hidden | |
} | |
body,button,input,textarea { | |
font-size: 16px; | |
font-family: CeraPRO-Regular,sans-serif,arial; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale | |
} | |
button:disabled { | |
opacity: .5 | |
} | |
input,textarea { | |
outline: none | |
} | |
h1,h2,h3,h4,h5 { | |
margin: 0; | |
font-weight: 400 | |
} | |
mark { | |
background-color: transparent | |
} | |
@font-face { | |
font-family: CeraPRO-Bold; | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_0_0.eot); | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_0_0.eot#iefix) format("embedded-opentype"),url(https://static-cdn.blinkist.com/webfonts/323ED8_0_0.woff2) format("woff2"),url(https://static-cdn.blinkist.com/webfonts/323ED8_0_0.woff) format("woff"),url(https://static-cdn.blinkist.com/webfonts/323ED8_0_0.ttf) format("truetype") | |
} | |
@font-face { | |
font-family: CeraPRO-Medium; | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_1_0.eot); | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_1_0.eot#iefix) format("embedded-opentype"),url(https://static-cdn.blinkist.com/webfonts/323ED8_1_0.woff2) format("woff2"),url(https://static-cdn.blinkist.com/webfonts/323ED8_1_0.woff) format("woff"),url(https://static-cdn.blinkist.com/webfonts/323ED8_1_0.ttf) format("truetype") | |
} | |
@font-face { | |
font-family: CeraPRO-RegularItalic; | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_2_0.eot); | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_2_0.eot#iefix) format("embedded-opentype"),url(https://static-cdn.blinkist.com/webfonts/323ED8_2_0.woff2) format("woff2"),url(https://static-cdn.blinkist.com/webfonts/323ED8_2_0.woff) format("woff"),url(https://static-cdn.blinkist.com/webfonts/323ED8_2_0.ttf) format("truetype") | |
} | |
@font-face { | |
font-family: CeraPRO-Regular; | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_3_0.eot); | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_3_0.eot#iefix) format("embedded-opentype"),url(https://static-cdn.blinkist.com/webfonts/323ED8_3_0.woff2) format("woff2"),url(https://static-cdn.blinkist.com/webfonts/323ED8_3_0.woff) format("woff"),url(https://static-cdn.blinkist.com/webfonts/323ED8_3_0.ttf) format("truetype") | |
} | |
.no-word-break { | |
white-space: nowrap | |
} | |
body,html,ol,ul { | |
margin: 0; | |
padding: 0 | |
} | |
ol,ul { | |
list-style-type: none | |
} | |
a,mark { | |
color: inherit | |
} | |
h1,h2,h3,h4,h5 { | |
margin: 0 0 1em | |
} | |
button,input,select,textarea { | |
padding: 0; | |
color: inherit; | |
font: inherit; | |
background: none; | |
border: 0; | |
border-radius: 0; | |
outline: 0; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none | |
} | |
select:-moz-focusring { | |
color: transparent; | |
text-shadow: 0 0 0 #000 | |
} | |
p { | |
margin-top: 0 | |
} | |
figure { | |
margin: 0 | |
} | |
a,button,input,select,textarea { | |
-webkit-tap-highlight-color: transparent | |
} | |
.button { | |
font-size: 1rem; | |
font-weight: 500; | |
line-height: 1; | |
color: #fff; | |
display: inline-block; | |
box-sizing: border-box; | |
padding: .6875rem 1rem .8125rem; | |
text-align: center; | |
text-decoration: none; | |
background-color: #2ce080; | |
border: .125rem solid #2ce080; | |
border-radius: .25rem; | |
outline: none; | |
cursor: pointer; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none | |
} | |
.button:hover { | |
color: #fff; | |
background-color: #20ba68; | |
border-color: #20ba68 | |
} | |
.button--light { | |
color: #2ce080; | |
background-color: transparent; | |
border-color: #3a4649 | |
} | |
.button--light:hover { | |
color: #2ce080; | |
background-color: transparent; | |
border-color: #6d787e | |
} | |
.button--dark.button--light { | |
border-color: #fff | |
} | |
.button--dark.button--light:hover { | |
border-color: #2ce080 | |
} | |
.button--bright { | |
color: #2ce080; | |
background: #fff; | |
border-color: #fff | |
} | |
.button--bright:hover { | |
color: #20ba68; | |
background: #fff; | |
border-color: #fff | |
} | |
.button--bright.button--light { | |
color: #fff; | |
background: transparent; | |
border-color: #fff | |
} | |
.button--bright.button--light:hover { | |
border-color: #6d787e | |
} | |
.button--red { | |
background-color: #ff445d; | |
border-color: #ff445d | |
} | |
.button--red:hover { | |
background-color: #ff445d; | |
border-color: #ff445d | |
} | |
.button--facebook { | |
background-color: #3a579d; | |
border-color: #3a579d | |
} | |
.button--facebook:hover { | |
background-color: #25396b; | |
border-color: #25396b | |
} | |
.button--inactive,.button--inactive:active,.button--inactive:focus,.button--inactive:hover,.button--inactive:visited,.button[disabled],.button[disabled]:active,.button[disabled]:focus,.button[disabled]:hover,.button[disabled]:visited { | |
background-color: #6d787e; | |
border-color: #6d787e; | |
cursor: default; | |
pointer-events: none | |
} | |
.button--play:before { | |
content: ""; | |
display: inline-block; | |
margin-right: 1rem; | |
vertical-align: bottom; | |
background-repeat: no-repeat; | |
width: 20px; | |
height: 20px; | |
background-image: url(/packs/media/cta/play-6e1d369b.svg) | |
} | |
.button--wide { | |
min-width: 18.5rem | |
} | |
@media (max-width: 20.5rem) { | |
.button--wide { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 320px) { | |
.button--wide-xs { | |
min-width:18.5rem | |
} | |
} | |
@media (max-width: 320px) and (max-width:20.5rem) { | |
.button--wide-xs { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 415px) { | |
.button--wide-s { | |
min-width:18.5rem | |
} | |
} | |
@media (max-width: 415px) and (max-width:20.5rem) { | |
.button--wide-s { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 767px) { | |
.button--wide-m { | |
min-width:18.5rem | |
} | |
} | |
@media (max-width: 767px) and (max-width:20.5rem) { | |
.button--wide-m { | |
width:100%; | |
min-width: auto | |
} | |
} | |
.button--x-wide { | |
min-width: 25rem | |
} | |
@media (max-width: 31rem) { | |
.button--x-wide { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 415px) { | |
.button--x-wide-s { | |
min-width:25rem | |
} | |
} | |
@media (max-width: 415px) and (max-width:31rem) { | |
.button--x-wide-s { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 767px) { | |
.button--x-wide-m { | |
min-width:25rem | |
} | |
} | |
@media (max-width: 767px) and (max-width:31rem) { | |
.button--x-wide-m { | |
width:100%; | |
min-width: auto | |
} | |
} | |
.button--full { | |
display: block; | |
width: 100% | |
} | |
@media (max-width: 320px) { | |
.button--full-xs { | |
display:block; | |
width: 100% | |
} | |
} | |
@media (max-width: 415px) { | |
.button--full-s { | |
display:block; | |
width: 100% | |
} | |
} | |
@media (max-width: 767px) { | |
.button--full-m { | |
display:block; | |
width: 100% | |
} | |
} | |
.cta { | |
font-size: 1rem; | |
font-weight: 500; | |
line-height: 1; | |
color: #fff; | |
display: inline-block; | |
box-sizing: border-box; | |
padding: .6875rem 1rem .8125rem; | |
text-align: center; | |
text-decoration: none; | |
background-color: #2ce080; | |
border: .125rem solid #2ce080; | |
border-radius: .25rem; | |
outline: none; | |
cursor: pointer; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
min-width: 18.5rem; | |
align-self: flex-start | |
} | |
.cta:hover { | |
color: #fff; | |
background-color: #20ba68; | |
border-color: #20ba68 | |
} | |
.cta--light { | |
color: #2ce080; | |
background-color: transparent; | |
border-color: #3a4649 | |
} | |
.cta--light:hover { | |
color: #2ce080; | |
background-color: transparent; | |
border-color: #6d787e | |
} | |
.cta--dark.cta--light { | |
border-color: #fff | |
} | |
.cta--dark.cta--light:hover { | |
border-color: #2ce080 | |
} | |
.cta--bright { | |
color: #2ce080; | |
background: #fff; | |
border-color: #fff | |
} | |
.cta--bright:hover { | |
color: #20ba68; | |
background: #fff; | |
border-color: #fff | |
} | |
.cta--bright.cta--light { | |
color: #fff; | |
background: transparent; | |
border-color: #fff | |
} | |
.cta--bright.cta--light:hover { | |
border-color: #6d787e | |
} | |
.cta--red { | |
background-color: #ff445d; | |
border-color: #ff445d | |
} | |
.cta--red:hover { | |
background-color: #ff445d; | |
border-color: #ff445d | |
} | |
.cta--facebook { | |
background-color: #3a579d; | |
border-color: #3a579d | |
} | |
.cta--facebook:hover { | |
background-color: #25396b; | |
border-color: #25396b | |
} | |
.cta--inactive,.cta--inactive:active,.cta--inactive:focus,.cta--inactive:hover,.cta--inactive:visited,.cta[disabled],.cta[disabled]:active,.cta[disabled]:focus,.cta[disabled]:hover,.cta[disabled]:visited { | |
background-color: #6d787e; | |
border-color: #6d787e; | |
cursor: default; | |
pointer-events: none | |
} | |
.cta--play:before { | |
content: ""; | |
display: inline-block; | |
margin-right: 1rem; | |
vertical-align: bottom; | |
background-repeat: no-repeat; | |
width: 20px; | |
height: 20px; | |
background-image: url(/packs/media/cta/play-6e1d369b.svg) | |
} | |
@media (max-width: 20.5rem) { | |
.cta { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 767px) { | |
.cta { | |
min-width:25rem; | |
align-self: center; | |
justify-self: center | |
} | |
} | |
@media (max-width: 767px) and (max-width:31rem) { | |
.cta { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 767px) { | |
.cta-container { | |
display:flex; | |
justify-content: center; | |
width: 100% | |
} | |
} | |
.store-button { | |
display: inline-flex; | |
box-sizing: border-box; | |
padding: 0 1rem; | |
height: 2.75rem; | |
align-items: center; | |
justify-content: center; | |
vertical-align: middle; | |
text-indent: -9999px; | |
background-color: #000; | |
border: 2px solid #000; | |
border-radius: .25rem; | |
outline: none; | |
cursor: pointer; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none | |
} | |
.store-button:hover { | |
background-color: #3a4649; | |
border-color: #3a4649 | |
} | |
.store-button:before { | |
content: ""; | |
display: block; | |
background-size: contain; | |
background-position: 50%; | |
background-repeat: no-repeat | |
} | |
.store-button--ios:before { | |
background-image: url(/packs/media/cta/app-store-en-faaa3763.svg); | |
width: 6.875rem; | |
height: 1.75rem | |
} | |
.store-button--ios.store-button--de:before { | |
background-image: url(/packs/media/cta/app-store-de-2a60c793.svg) | |
} | |
.store-button--android:before { | |
background-image: url(/packs/media/cta/google-play-en-f75db9a5.svg); | |
width: 6.875rem; | |
height: 1.6875rem | |
} | |
.store-button--android.store-button--de:before { | |
background-image: url(/packs/media/cta/google-play-de-e0febd87.svg) | |
} | |
.store-button--wide { | |
min-width: 18.5rem | |
} | |
@media (max-width: 20.5rem) { | |
.store-button--wide { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 320px) { | |
.store-button--wide-xs { | |
min-width:18.5rem | |
} | |
} | |
@media (max-width: 320px) and (max-width:20.5rem) { | |
.store-button--wide-xs { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 415px) { | |
.store-button--wide-s { | |
min-width:18.5rem | |
} | |
} | |
@media (max-width: 415px) and (max-width:20.5rem) { | |
.store-button--wide-s { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 767px) { | |
.store-button--wide-m { | |
min-width:18.5rem | |
} | |
} | |
@media (max-width: 767px) and (max-width:20.5rem) { | |
.store-button--wide-m { | |
width:100%; | |
min-width: auto | |
} | |
} | |
.store-button--x-wide { | |
min-width: 25rem | |
} | |
@media (max-width: 31rem) { | |
.store-button--x-wide { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 415px) { | |
.store-button--x-wide-s { | |
min-width:25rem | |
} | |
} | |
@media (max-width: 415px) and (max-width:31rem) { | |
.store-button--x-wide-s { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 767px) { | |
.store-button--x-wide-m { | |
min-width:25rem | |
} | |
} | |
@media (max-width: 767px) and (max-width:31rem) { | |
.store-button--x-wide-m { | |
width:100%; | |
min-width: auto | |
} | |
} | |
.store-button--full { | |
display: block; | |
width: 100% | |
} | |
@media (max-width: 320px) { | |
.store-button--full-xs { | |
display:block; | |
width: 100% | |
} | |
} | |
@media (max-width: 415px) { | |
.store-button--full-s { | |
display:block; | |
width: 100% | |
} | |
} | |
@media (max-width: 767px) { | |
.store-button--full-m { | |
display:block; | |
width: 100% | |
} | |
} | |
.store-cta { | |
display: inline-flex; | |
box-sizing: border-box; | |
padding: 0 1rem; | |
height: 2.75rem; | |
align-items: center; | |
justify-content: center; | |
vertical-align: middle; | |
text-indent: -9999px; | |
background-color: #000; | |
border: 2px solid #000; | |
border-radius: .25rem; | |
outline: none; | |
cursor: pointer; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
min-width: 18.5rem; | |
align-self: flex-start | |
} | |
.store-cta:hover { | |
background-color: #3a4649; | |
border-color: #3a4649 | |
} | |
.store-cta:before { | |
content: ""; | |
display: block; | |
background-size: contain; | |
background-position: 50%; | |
background-repeat: no-repeat | |
} | |
.store-cta--ios:before { | |
background-image: url(/packs/media/cta/app-store-en-faaa3763.svg); | |
width: 6.875rem; | |
height: 1.75rem | |
} | |
.store-cta--ios.store-cta--de:before { | |
background-image: url(/packs/media/cta/app-store-de-2a60c793.svg) | |
} | |
.store-cta--android:before { | |
background-image: url(/packs/media/cta/google-play-en-f75db9a5.svg); | |
width: 6.875rem; | |
height: 1.6875rem | |
} | |
.store-cta--android.store-cta--de:before { | |
background-image: url(/packs/media/cta/google-play-de-e0febd87.svg) | |
} | |
@media (max-width: 20.5rem) { | |
.store-cta { | |
width:100%; | |
min-width: auto | |
} | |
} | |
@media (max-width: 767px) { | |
.store-cta { | |
min-width:25rem; | |
align-self: center; | |
justify-self: center | |
} | |
} | |
@media (max-width: 767px) and (max-width:31rem) { | |
.store-cta { | |
width:100%; | |
min-width: auto | |
} | |
} | |
.container { | |
padding-left: 1rem; | |
padding-right: 1rem; | |
box-sizing: border-box; | |
margin-left: auto; | |
margin-right: auto; | |
max-width: 1024px; | |
width: 100% | |
} | |
@media (min-width: 416px) { | |
.container { | |
padding-left:3rem; | |
padding-right: 3rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.container { | |
padding-left:2.25rem; | |
padding-right: 2.25rem | |
} | |
} | |
.form { | |
max-width: 25rem | |
} | |
.form__field { | |
width: 100% | |
} | |
.form__field--focus .form__field-container { | |
border-color: #2ce080 | |
} | |
.form__field--error .form__field-container { | |
border-color: #ff445d | |
} | |
.form__field-container { | |
display: flex; | |
box-sizing: border-box; | |
width: 100%; | |
border: 2px solid #bac8ce; | |
border-radius: 2px | |
} | |
.form__field-container:focus { | |
border-color: #2ce080 | |
} | |
.form__input { | |
box-sizing: border-box; | |
width: 100%; | |
min-width: 0; | |
padding: .625rem .875rem; | |
color: #3a4649; | |
font-weight: 500; | |
font-size: 1rem; | |
font-family: CeraPRO; | |
line-height: 1.25; | |
background: none; | |
border: 0; | |
border-radius: 0; | |
outline: 0; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none | |
} | |
.form__input::-webkit-input-placeholder { | |
color: #bac8ce | |
} | |
.form__input::-moz-placeholder { | |
color: #bac8ce | |
} | |
.form__input:-ms-input-placeholder { | |
color: #bac8ce | |
} | |
.form__input::-ms-input-placeholder { | |
color: #bac8ce | |
} | |
.form__input::placeholder { | |
color: #bac8ce | |
} | |
.form__password-toggle { | |
margin-right: .875rem | |
} | |
.form__error { | |
font-size: .875rem; | |
font-weight: 500; | |
line-height: 1.125; | |
color: #ff445d; | |
display: flex; | |
align-items: center; | |
margin-top: .25rem | |
} | |
.form__error:before { | |
content: ""; | |
display: block; | |
flex-shrink: 0; | |
width: .75rem; | |
height: .8125rem; | |
margin-right: .5rem; | |
background-image: url(/packs/media/form/error-d8922b9a.svg) | |
} | |
.grid-css { | |
display: grid; | |
grid-template-columns: repeat(12,1fr); | |
grid-auto-flow: row; | |
grid-column-gap: 1rem | |
} | |
@media (min-width: 416px) { | |
.grid-css { | |
grid-column-gap:1.5rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css { | |
grid-column-gap:1.5rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css { | |
grid-column-gap:2rem | |
} | |
} | |
.grid-css__el--full { | |
grid-column: auto/span 12; | |
width: 100% | |
} | |
.grid-css__el--half { | |
grid-column: auto/span 6; | |
width: 100% | |
} | |
.grid-css__el--third { | |
grid-column: auto/span 4; | |
width: 100% | |
} | |
.grid-css__el--quarter { | |
grid-column: auto/span 3; | |
width: 100% | |
} | |
.grid-css__el--xs-1 { | |
grid-column: auto/span 1; | |
width: 100% | |
} | |
.grid-css__el--xs-2 { | |
grid-column: auto/span 2; | |
width: 100% | |
} | |
.grid-css__el--xs-3 { | |
grid-column: auto/span 3; | |
width: 100% | |
} | |
.grid-css__el--xs-4 { | |
grid-column: auto/span 4; | |
width: 100% | |
} | |
.grid-css__el--xs-5 { | |
grid-column: auto/span 5; | |
width: 100% | |
} | |
.grid-css__el--xs-6 { | |
grid-column: auto/span 6; | |
width: 100% | |
} | |
.grid-css__el--xs-7 { | |
grid-column: auto/span 7; | |
width: 100% | |
} | |
.grid-css__el--xs-8 { | |
grid-column: auto/span 8; | |
width: 100% | |
} | |
.grid-css__el--xs-9 { | |
grid-column: auto/span 9; | |
width: 100% | |
} | |
.grid-css__el--xs-10 { | |
grid-column: auto/span 10; | |
width: 100% | |
} | |
.grid-css__el--xs-11 { | |
grid-column: auto/span 11; | |
width: 100% | |
} | |
.grid-css__el--xs-12 { | |
grid-column: auto/span 12; | |
width: 100% | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-1 { | |
grid-column:auto/span 1; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-2 { | |
grid-column:auto/span 2; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-3 { | |
grid-column:auto/span 3; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-4 { | |
grid-column:auto/span 4; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-5 { | |
grid-column:auto/span 5; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-6 { | |
grid-column:auto/span 6; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-7 { | |
grid-column:auto/span 7; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-8 { | |
grid-column:auto/span 8; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-9 { | |
grid-column:auto/span 9; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-10 { | |
grid-column:auto/span 10; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-11 { | |
grid-column:auto/span 11; | |
width: 100% | |
} | |
} | |
@media (min-width: 416px) { | |
.grid-css__el--s-12 { | |
grid-column:auto/span 12; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-1 { | |
grid-column:auto/span 1; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-2 { | |
grid-column:auto/span 2; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-3 { | |
grid-column:auto/span 3; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-4 { | |
grid-column:auto/span 4; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-5 { | |
grid-column:auto/span 5; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-6 { | |
grid-column:auto/span 6; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-7 { | |
grid-column:auto/span 7; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-8 { | |
grid-column:auto/span 8; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-9 { | |
grid-column:auto/span 9; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-10 { | |
grid-column:auto/span 10; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-11 { | |
grid-column:auto/span 11; | |
width: 100% | |
} | |
} | |
@media (min-width: 768px) { | |
.grid-css__el--m-12 { | |
grid-column:auto/span 12; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-1 { | |
grid-column:auto/span 1; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-2 { | |
grid-column:auto/span 2; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-3 { | |
grid-column:auto/span 3; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-4 { | |
grid-column:auto/span 4; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-5 { | |
grid-column:auto/span 5; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-6 { | |
grid-column:auto/span 6; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-7 { | |
grid-column:auto/span 7; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-8 { | |
grid-column:auto/span 8; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-9 { | |
grid-column:auto/span 9; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-10 { | |
grid-column:auto/span 10; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-11 { | |
grid-column:auto/span 11; | |
width: 100% | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid-css__el--l-12 { | |
grid-column:auto/span 12; | |
width: 100% | |
} | |
} | |
.grid { | |
display: flex; | |
flex-wrap: wrap; | |
margin-left: -.5rem; | |
margin-right: -.5rem | |
} | |
@media (min-width: 416px) { | |
.grid { | |
margin-left:-.75rem; | |
margin-right: -.75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid { | |
margin-left:-.75rem; | |
margin-right: -.75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid { | |
margin-left:-1rem; | |
margin-right: -1rem | |
} | |
} | |
.grid__el--full { | |
width: 100%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--full { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--full { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--full { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--full { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--half { | |
width: 50%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--half { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--half { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--half { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--half { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--third { | |
width: 33.33333%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--third { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--third { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--third { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--third { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--quarter { | |
width: 25%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--quarter { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--quarter { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--quarter { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--quarter { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-1 { | |
width: 8.33333%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-1 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-1 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-1 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-1 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-2 { | |
width: 16.66667%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-2 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-2 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-2 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-2 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-3 { | |
width: 25%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-3 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-3 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-3 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-3 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-4 { | |
width: 33.33333%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-4 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-4 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-4 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-4 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-5 { | |
width: 41.66667%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-5 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-5 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-5 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-5 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-6 { | |
width: 50%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-6 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-6 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-6 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-6 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-7 { | |
width: 58.33333%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-7 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-7 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-7 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-7 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-8 { | |
width: 66.66667%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-8 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-8 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-8 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-8 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-9 { | |
width: 75%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-9 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-9 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-9 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-9 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-10 { | |
width: 83.33333%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-10 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-10 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-10 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-10 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-11 { | |
width: 91.66667%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-11 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-11 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-11 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-11 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.grid__el--xs-12 { | |
width: 100%; | |
box-sizing: border-box | |
} | |
@media (min-width: 321px) { | |
.grid__el--xs-12 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--xs-12 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--xs-12 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--xs-12 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-1 { | |
width:8.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-1 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-1 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-1 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-1 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-2 { | |
width:16.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-2 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-2 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-2 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-2 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-3 { | |
width:25%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-3 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-3 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-3 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-3 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-4 { | |
width:33.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-4 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-4 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-4 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-4 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-5 { | |
width:41.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-5 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-5 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-5 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-5 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-6 { | |
width:50%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-6 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-6 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-6 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-6 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-7 { | |
width:58.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-7 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-7 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-7 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-7 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-8 { | |
width:66.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-8 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-8 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-8 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-8 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-9 { | |
width:75%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-9 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-9 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-9 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-9 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-10 { | |
width:83.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-10 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-10 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-10 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-10 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-11 { | |
width:91.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-11 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-11 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-11 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-11 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 416px) { | |
.grid__el--s-12 { | |
width:100%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 416px) and (min-width:321px) { | |
.grid__el--s-12 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:416px) { | |
.grid__el--s-12 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:768px) { | |
.grid__el--s-12 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 416px) and (min-width:1024px) { | |
.grid__el--s-12 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-1 { | |
width:8.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-1 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-1 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-1 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-1 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-2 { | |
width:16.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-2 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-2 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-2 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-2 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-3 { | |
width:25%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-3 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-3 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-3 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-3 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-4 { | |
width:33.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-4 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-4 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-4 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-4 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-5 { | |
width:41.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-5 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-5 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-5 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-5 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-6 { | |
width:50%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-6 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-6 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-6 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-6 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-7 { | |
width:58.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-7 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-7 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-7 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-7 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-8 { | |
width:66.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-8 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-8 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-8 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-8 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-9 { | |
width:75%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-9 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-9 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-9 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-9 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-10 { | |
width:83.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-10 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-10 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-10 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-10 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-11 { | |
width:91.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-11 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-11 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-11 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-11 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 768px) { | |
.grid__el--m-12 { | |
width:100%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 768px) and (min-width:321px) { | |
.grid__el--m-12 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:416px) { | |
.grid__el--m-12 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:768px) { | |
.grid__el--m-12 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 768px) and (min-width:1024px) { | |
.grid__el--m-12 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-1 { | |
width:8.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-1 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-1 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-1 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-1 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-2 { | |
width:16.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-2 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-2 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-2 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-2 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-3 { | |
width:25%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-3 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-3 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-3 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-3 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-4 { | |
width:33.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-4 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-4 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-4 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-4 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-5 { | |
width:41.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-5 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-5 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-5 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-5 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-6 { | |
width:50%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-6 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-6 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-6 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-6 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-7 { | |
width:58.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-7 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-7 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-7 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-7 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-8 { | |
width:66.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-8 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-8 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-8 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-8 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-9 { | |
width:75%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-9 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-9 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-9 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-9 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-10 { | |
width:83.33333%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-10 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-10 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-10 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-10 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-11 { | |
width:91.66667%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-11 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-11 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-11 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-11 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.grid__el--l-12 { | |
width:100%; | |
box-sizing: border-box | |
} | |
} | |
@media (min-width: 1024px) and (min-width:321px) { | |
.grid__el--l-12 { | |
padding-left:.5rem; | |
padding-right: .5rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:416px) { | |
.grid__el--l-12 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:768px) { | |
.grid__el--l-12 { | |
padding-left:.75rem; | |
padding-right: .75rem | |
} | |
} | |
@media (min-width: 1024px) and (min-width:1024px) { | |
.grid__el--l-12 { | |
padding-left:1rem; | |
padding-right: 1rem | |
} | |
} | |
.link { | |
color: #3a4649; | |
font-weight: 500; | |
font-size: inherit; | |
line-height: inherit; | |
text-decoration: underline | |
} | |
.link:hover { | |
color: #2ce080 | |
} | |
.a1 { | |
color: #116be9; | |
font-weight: inherit; | |
font-size: inherit; | |
line-height: inherit; | |
text-decoration: none | |
} | |
.a1:hover { | |
color: #0552be | |
} | |
.a0 { | |
color: #3a4649; | |
font-weight: 500; | |
font-size: inherit; | |
line-height: inherit; | |
text-decoration: underline | |
} | |
.a0:hover { | |
color: #2ce080 | |
} | |
.password-toggle { | |
font-family: CeraPRO; | |
font-size: .875rem; | |
font-weight: 400; | |
line-height: 1.57; | |
font-weight: 500; | |
padding: 0; | |
color: #6d787e; | |
background: none; | |
border: 0; | |
border-radius: 0; | |
outline: 0; | |
cursor: pointer; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none | |
} | |
.password-toggle__label--show { | |
display: block | |
} | |
.password-toggle--shown .password-toggle__label--show,.password-toggle__label--hide { | |
display: none | |
} | |
.password-toggle--shown .password-toggle__label--hide { | |
display: block | |
} | |
.section { | |
padding-top: 3rem; | |
padding-bottom: 3rem | |
} | |
@media (min-width: 768px) { | |
.section { | |
padding-top:4rem; | |
padding-bottom: 4rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.section { | |
padding-top:4rem; | |
padding-bottom: 4rem | |
} | |
} | |
.section--hero { | |
padding-bottom: 3rem; | |
padding-top: 1rem | |
} | |
@media (min-width: 768px) { | |
.section--hero { | |
padding-bottom:4rem; | |
padding-top: 2rem | |
} | |
} | |
@media (min-width: 1024px) { | |
.section--hero { | |
padding-bottom:4rem; | |
padding-top: 4rem | |
} | |
} | |
.h0 { | |
font-size: 2rem; | |
font-weight: 700; | |
line-height: 1.25; | |
color: #03314b | |
} | |
@media (min-width: 768px) { | |
.h0 { | |
font-size:3rem; | |
font-weight: 700; | |
line-height: 1.25; | |
color: #03314b | |
} | |
} | |
@media (min-width: 1024px) { | |
.h0 { | |
font-size:4rem; | |
font-weight: 700; | |
line-height: 1.25; | |
color: #03314b | |
} | |
} | |
.h1 { | |
font-size: 2rem; | |
font-weight: 700; | |
line-height: 1.25; | |
color: #03314b | |
} | |
@media (min-width: 1024px) { | |
.h1 { | |
font-size:3rem; | |
font-weight: 700; | |
line-height: 1.25; | |
color: #03314b | |
} | |
} | |
.h2 { | |
font-size: 1.5rem; | |
font-weight: 700; | |
line-height: 1.33; | |
color: #03314b | |
} | |
@media (min-width: 768px) { | |
.h2 { | |
font-size:2rem; | |
font-weight: 700; | |
line-height: 1.25; | |
color: #03314b | |
} | |
} | |
.p0 { | |
font-size: 1rem; | |
font-weight: 400; | |
line-height: 1.5; | |
color: #3a4649 | |
} | |
@media (min-width: 768px) { | |
.p0 { | |
font-size:1.25rem; | |
font-weight: 400; | |
line-height: 1.4; | |
color: #3a4649 | |
} | |
} | |
@font-face { | |
font-family: CeraPRO; | |
font-weight: 700; | |
font-style: normal; | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_0_0.woff2) format("woff2"),url(https://static-cdn.blinkist.com/webfonts/323ED8_0_0.woff) format("woff") | |
} | |
@font-face { | |
font-family: CeraPRO; | |
font-weight: 500; | |
font-style: normal; | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_1_0.woff2) format("woff2"),url(https://static-cdn.blinkist.com/webfonts/323ED8_1_0.woff) format("woff") | |
} | |
@font-face { | |
font-family: CeraPRO; | |
font-weight: 400; | |
font-style: italic; | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_2_0.woff2) format("woff2"),url(https://static-cdn.blinkist.com/webfonts/323ED8_2_0.woff) format("woff") | |
} | |
@font-face { | |
font-family: CeraPRO; | |
font-weight: 400; | |
font-style: normal; | |
src: url(https://static-cdn.blinkist.com/webfonts/323ED8_3_0.woff2) format("woff2"),url(https://static-cdn.blinkist.com/webfonts/323ED8_3_0.woff) format("woff") | |
} | |
body,html { | |
font-family: CeraPRO; | |
font-size: 1rem; | |
color: #042330 | |
} | |
h1 { | |
font-size: 3rem | |
} | |
h1,h2 { | |
font-weight: 700; | |
line-height: 1.25; | |
color: #03314b | |
} | |
h2 { | |
font-size: 2rem | |
} | |
h3 { | |
font-size: 1.5rem | |
} | |
h3,h4 { | |
font-weight: 700; | |
line-height: 1.33; | |
color: #03314b | |
} | |
h4 { | |
font-size: 1.125rem | |
} | |
p { | |
font-size: 1rem; | |
font-weight: 400; | |
line-height: 1.5; | |
color: #3a4649 | |
} | |
a { | |
color: #116be9; | |
font-weight: inherit; | |
font-size: inherit; | |
line-height: inherit; | |
text-decoration: none | |
} | |
a:hover { | |
color: #0552be | |
} | |
.text ol,.text p,.text ul { | |
font-size: 1rem; | |
font-weight: 400; | |
line-height: 1.5; | |
color: #3a4649; | |
margin-bottom: .5rem | |
} | |
.text ol { | |
counter-reset: subsectionsCounter | |
} | |
.text ol>li { | |
counter-increment: subsectionsCounter | |
} | |
.text ol>li:before { | |
content: counter(subsectionsCounter) "."; | |
float: left; | |
margin-right: .25em | |
} | |
.text ul { | |
padding: 1rem; | |
list-style: disc | |
} | |
.text li:not(:last-child) { | |
margin-bottom: .5rem | |
} | |
.reader-text { | |
font-size: 1.071rem; | |
line-height: 1.467 | |
} | |
.reader-text h2 { | |
margin-bottom: 1rem; | |
font-weight: 600; | |
font-size: 1.75rem; | |
line-height: 1.333 | |
} | |
@media (min-width: 768px) { | |
.reader-text h2 { | |
margin-bottom:1.5rem; | |
font-size: 2.25rem | |
} | |
} | |
.reader-text ol,.reader-text p,.reader-text ul { | |
font-size: inherit; | |
color: inherit; | |
line-height: inherit; | |
margin-bottom: 1rem | |
} | |
.reader-text ol,.reader-text ul { | |
padding-left: 2rem | |
} | |
@media (min-width: 768px) { | |
.reader-text ol,.reader-text ul { | |
padding-left:3rem | |
} | |
} | |
.reader-text ul { | |
list-style: disc | |
} | |
.reader-text ol { | |
list-style-type: decimal | |
} | |
.reader-text li:not(:last-child) { | |
margin-bottom: .5rem | |
} | |
@media (min-width: 768px) { | |
.reader-text { | |
font-size:1.428rem | |
} | |
} | |
.highlight { | |
display: inline; | |
background: linear-gradient(180deg,transparent 45%,#e6fc88 0) | |
} | |
.auth-form { | |
max-width: 25rem | |
} | |
.auth-form__terms-of-services { | |
font-size: .75rem; | |
font-weight: 400; | |
line-height: 1.5; | |
color: #6d787e; | |
margin-top: 1.5rem; | |
text-align: center | |
} | |
.auth-form__terms-of-services a { | |
color: inherit; | |
text-decoration: underline | |
} | |
.auth-form__terms-of-services a:hover { | |
color: #2ce080 | |
} | |
.auth-form__terms-of-services--left-aligned { | |
text-align: left | |
} | |
.auth-form__input { | |
margin-bottom: 1rem; | |
background-color: #fff | |
} | |
.auth-form__submit { | |
width: 100% | |
} | |
.auth-form__social-logins-row { | |
display: flex | |
} | |
.auth-form__social-signup-list { | |
display: none | |
} | |
.auth-form__toggle-social-signup { | |
font-size: .875rem; | |
line-height: 1.57; | |
color: #6d787e; | |
margin-top: 1.5rem; | |
font-weight: 400; | |
text-align: center | |
} | |
.auth-form__toggle-social-signup a { | |
color: #116be9; | |
font-weight: inherit; | |
font-size: inherit; | |
line-height: inherit; | |
text-decoration: none | |
} | |
.auth-form__toggle-social-signup a:hover { | |
color: #0552be | |
} | |
.auth-form__separator { | |
font-size: .875rem; | |
font-weight: 400; | |
line-height: 1.57; | |
color: #6d787e; | |
font-weight: 500; | |
display: flex; | |
align-items: center; | |
margin: 1rem 0; | |
color: #3a4649 | |
} | |
.auth-form__separator:after,.auth-form__separator:before { | |
content: ""; | |
display: block; | |
flex-grow: 1; | |
height: 1px; | |
background: #bac8ce | |
} | |
.auth-form__separator-label { | |
margin: 0 2rem | |
} | |
.auth-form__forgot-password { | |
display: block; | |
margin-top: 1.5rem; | |
color: #116be9; | |
text-align: center | |
} | |
.auth-form__forgot-password:hover { | |
color: #021f30 | |
} | |
.auth-form__captcha { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
margin-bottom: 1rem | |
} | |
.auth-form__captcha-container { | |
display: flex; | |
justify-content: center | |
} | |
.auth-form__captcha-container--error div>div>iframe { | |
box-sizing: border-box; | |
border: .125rem solid #ff445d; | |
border-radius: .25rem | |
} | |
.auth-form__captcha-error { | |
font-size: .875rem; | |
font-weight: 500; | |
line-height: 1.125; | |
color: #ff445d; | |
display: none; | |
align-items: center; | |
width: 19rem | |
} | |
.auth-form__captcha-error:before { | |
content: ""; | |
width: .75rem; | |
height: .8125rem; | |
margin-right: .5rem; | |
background-image: url(/packs/media/images/shared/error-c9e96c95c92a5ca00d316677e8440c7c.svg); | |
background-size: cover | |
} | |
.auth-form__captcha-error--show { | |
display: flex | |
} | |
.auth-form__login-link { | |
margin-top: 1rem | |
} | |
.auth-form--show-social-signup .auth-form__toggle-social-signup { | |
display: none | |
} | |
.auth-form--show-social-signup .auth-form__social-signup-list { | |
display: block | |
} | |
@media (min-width: 768px) { | |
.auth-form__separator { | |
margin:1.5rem 0 | |
} | |
.auth-form__captcha,.auth-form__input { | |
margin-bottom: 1.5rem | |
} | |
} | |
.auth-popup-form { | |
padding-top: 3rem; | |
padding-bottom: 0; | |
font-family: CeraPRO | |
} | |
.auth-popup-form,.auth-popup-form__container { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
max-width: 100% | |
} | |
.auth-popup-form__container { | |
padding-right: 1rem; | |
padding-left: 1rem | |
} | |
@media (min-width: 416px) { | |
.auth-popup-form__container { | |
padding-right:3rem; | |
padding-left: 3rem | |
} | |
} | |
.auth-popup-form__header { | |
margin-bottom: 1.5rem; | |
text-align: center | |
} | |
.auth-popup-form__headline { | |
font-size: 1.5rem; | |
font-weight: 700; | |
line-height: 1.33; | |
color: #03314b; | |
margin-bottom: 0 | |
} | |
.auth-popup-form__subheadline { | |
font-size: 1rem; | |
font-weight: 400; | |
line-height: 1.5; | |
color: #3a4649; | |
width: 100%; | |
max-width: 22.5rem; | |
padding-top: 1rem; | |
padding-bottom: .5rem | |
} | |
.auth-popup-form__subheadline:empty { | |
display: none | |
} | |
.auth-popup-form__body { | |
box-sizing: content-box; | |
width: 18.5rem; | |
max-width: 100%; | |
padding-bottom: 2rem | |
} | |
.auth-popup-form__footer { | |
align-self: stretch; | |
box-sizing: content-box; | |
padding-top: 1rem; | |
padding-bottom: 1rem; | |
text-align: center; | |
background-color: #f1f6f4 | |
} | |
@media (max-width: 415px) { | |
.auth-popup-form { | |
width:100vh | |
} | |
} | |
@media (min-width: 768px) { | |
.auth-popup-form { | |
padding-top:4rem | |
} | |
.auth-popup-form__header { | |
margin-bottom: 2rem | |
} | |
} | |
.social-button { | |
font-family: CeraPRO; | |
font-size: #042330; | |
font-weight: 500; | |
line-height: 1; | |
color: #fff; | |
position: relative; | |
display: flex; | |
align-items: center; | |
box-sizing: border-box; | |
width: 100%; | |
margin-bottom: 1rem; | |
text-align: center; | |
text-decoration: none; | |
border: .125rem solid transparent; | |
border-radius: .125rem | |
} | |
.social-button:hover { | |
color: #042330; | |
border-color: #1775fc | |
} | |
.social-button__sprite { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
width: auto; | |
height: 100%; | |
margin-left: 1rem | |
} | |
.social-button--google .social-button__sprite { | |
width: 2.5rem; | |
margin-left: 0; | |
background-color: #fff | |
} | |
.social-button__sprite:before { | |
content: ""; | |
display: block; | |
background-color: #fff | |
} | |
.social-button--facebook { | |
color: #fff; | |
background-color: #3a579d; | |
border-color: #3a579d | |
} | |
.social-button--facebook:hover { | |
color: #fff; | |
background-color: #25396b; | |
border-color: #25396b | |
} | |
.social-button--google { | |
margin-left: 1rem; | |
color: #fff; | |
background-color: #4285f4; | |
border-color: #4285f4 | |
} | |
.social-button--google:hover { | |
color: #fff; | |
background-color: #3367d6; | |
border-color: #3367d6 | |
} | |
.social-button--apple { | |
display: flex; | |
flex-grow: 0; | |
justify-content: center; | |
align-items: center; | |
margin-bottom: 0; | |
color: #000; | |
background-color: #fff; | |
border: .0625rem solid #000 | |
} | |
.social-button--apple .social-button__sprite { | |
position: absolute; | |
bottom: 0; | |
left: -1.5rem; | |
margin: 0; | |
padding: 0 0 .25rem | |
} | |
.social-button--apple .social-button__label { | |
position: relative; | |
display: flex; | |
flex-grow: 0; | |
justify-content: center; | |
align-items: center; | |
padding: .8125rem 0 .6875rem | |
} | |
.social-button--apple:hover { | |
border-color: #6d787e | |
} | |
.social-button__label { | |
flex-grow: 1; | |
padding: .6875rem 0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! For license information please see reader-cb74acd66e1446cda59b.js.LICENSE */ | |
var BlinkistPack = function(e) { | |
var t = {}; | |
function n(r) { | |
if (t[r]) | |
return t[r].exports; | |
var i = t[r] = { | |
i: r, | |
l: !1, | |
exports: {} | |
}; | |
return e[r].call(i.exports, i, i.exports, n), | |
i.l = !0, | |
i.exports | |
} | |
return n.m = e, | |
n.c = t, | |
n.d = function(e, t, r) { | |
n.o(e, t) || Object.defineProperty(e, t, { | |
enumerable: !0, | |
get: r | |
}) | |
} | |
, | |
n.r = function(e) { | |
"undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { | |
value: "Module" | |
}), | |
Object.defineProperty(e, "__esModule", { | |
value: !0 | |
}) | |
} | |
, | |
n.t = function(e, t) { | |
if (1 & t && (e = n(e)), | |
8 & t) | |
return e; | |
if (4 & t && "object" === typeof e && e && e.__esModule) | |
return e; | |
var r = Object.create(null); | |
if (n.r(r), | |
Object.defineProperty(r, "default", { | |
enumerable: !0, | |
value: e | |
}), | |
2 & t && "string" != typeof e) | |
for (var i in e) | |
n.d(r, i, function(t) { | |
return e[t] | |
} | |
.bind(null, i)); | |
return r | |
} | |
, | |
n.n = function(e) { | |
var t = e && e.__esModule ? function() { | |
return e.default | |
} | |
: function() { | |
return e | |
} | |
; | |
return n.d(t, "a", t), | |
t | |
} | |
, | |
n.o = function(e, t) { | |
return Object.prototype.hasOwnProperty.call(e, t) | |
} | |
, | |
n.p = "/packs/", | |
n(n.s = 275) | |
}({ | |
0: function(e, t, n) { | |
"use strict"; | |
var r = n(30) | |
, i = new (n.n(r).a) | |
, o = i | |
, a = n(23) | |
, s = n(1); | |
n.d(t, "b", (function() { | |
return u | |
} | |
)); | |
var c = window.jQuery | |
, u = function() { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; | |
e.forEach((function(e) { | |
Object.keys(e).forEach((function(t) { | |
var n = e[t]; | |
o.on(t, (function() { | |
n && "function" === typeof n && n.apply(void 0, arguments) | |
} | |
)) | |
} | |
)) | |
} | |
)) | |
}; | |
t.a = { | |
on: function(e, t) { | |
o.on(e, t), | |
c && c(document).on("blinkist:".concat(e), (function(e) { | |
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) | |
r[i - 1] = arguments[i]; | |
t.apply(void 0, r) | |
} | |
)) | |
}, | |
once: function(e, t) { | |
o.once(e, t), | |
c && c(document).one("blinkist:".concat(e), (function(e) { | |
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) | |
r[i - 1] = arguments[i]; | |
t.apply(void 0, r) | |
} | |
)) | |
}, | |
emit: function(e) { | |
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) | |
n[r - 1] = arguments[r]; | |
o.emit.apply(o, [e].concat(n)), | |
c && c(document).trigger("blinkist:".concat(e), n) | |
}, | |
track: function() { | |
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) | |
t[n] = arguments[n]; | |
window._bk_paq ? window._bk_paq.trackEvent(t) : a.b.apply(void 0, t) | |
}, | |
emitNoLegacy: function(e) { | |
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) | |
n[r - 1] = arguments[r]; | |
o.emit.apply(o, [e].concat(n)) | |
} | |
}; | |
"test" === s.a.env && (window.globals.events = o) | |
}, | |
1: function(e, t, n) { | |
"use strict"; | |
t.a = window.globals || {} | |
}, | |
10: function(e, t, n) { | |
"use strict"; | |
t.a = function(e) { | |
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [] | |
, n = arguments.length > 2 ? arguments[2] : void 0 | |
, r = [e]; | |
return "string" === typeof t ? r.push("".concat(e, "--").concat(t)) : Array.isArray(t) && t.forEach((function(t) { | |
t && r.push("".concat(e, "--").concat(t)) | |
} | |
)), | |
"string" === typeof n ? r.push(n) : Array.isArray(n) && n.forEach((function(e) { | |
e && r.push(e) | |
} | |
)), | |
r.join(" ") | |
} | |
}, | |
11: function(e, t, n) { | |
"use strict"; | |
n.d(t, "a", (function() { | |
return r | |
} | |
)), | |
n.d(t, "b", (function() { | |
return i | |
} | |
)), | |
"undefined" === typeof window.dataLayer && (window.dataLayer = []), | |
"undefined" === typeof window.sentDataLayerEvents && (window.sentDataLayerEvents = []); | |
var r = function(e) { | |
window.dataLayer.push(e) | |
} | |
, i = function(e) { | |
var t = e.event; | |
-1 === window.sentDataLayerEvents.indexOf(t) && function(e) { | |
var t = e.event; | |
window.sentDataLayerEvents.push(t), | |
r(e) | |
}(e) | |
} | |
}, | |
12: function(e, t) { | |
Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector), | |
Element.prototype.closest || (Element.prototype.closest = function(e) { | |
var t = this; | |
if (!document.documentElement.contains(t)) | |
return null; | |
do { | |
if (t.matches(e)) | |
return t; | |
t = t.parentElement || t.parentNode | |
} while (null !== t && 1 === t.nodeType);return null | |
} | |
) | |
}, | |
13: function(e, t) { | |
function n(e) { | |
return (n = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function(e) { | |
return typeof e | |
} | |
: function(e) { | |
return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
} | |
)(e) | |
} | |
var r; | |
r = function() { | |
return this | |
}(); | |
try { | |
r = r || new Function("return this")() | |
} catch (i) { | |
"object" === ("undefined" === typeof window ? "undefined" : n(window)) && (r = window) | |
} | |
e.exports = r | |
}, | |
15: function(e, t, n) { | |
"use strict"; | |
t.a = function(e) { | |
return new Promise((function(t, n) { | |
var r = document.createElement("script"); | |
r.onload = t, | |
r.onerror = n, | |
r.async = !0, | |
r.defer = !0, | |
r.src = e, | |
document.head.appendChild(r) | |
} | |
)) | |
} | |
}, | |
16: function(e, t, n) { | |
"use strict"; | |
var r, i = n(0), o = function() { | |
return !r || r.guest | |
}; | |
i.a.on("setup:ready", (function(e) { | |
r = e | |
} | |
)), | |
t.a = { | |
isGuest: o, | |
isLoggedIn: function() { | |
return !o() | |
} | |
} | |
}, | |
17: function(e, t) { | |
var n = function(e) { | |
function t() { | |
this.fetch = !1, | |
this.DOMException = e.DOMException | |
} | |
return t.prototype = e, | |
new t | |
}("undefined" !== typeof self ? self : this); | |
!function(e) { | |
!function(t) { | |
var n = { | |
searchParams: "URLSearchParams"in e, | |
iterable: "Symbol"in e && "iterator"in Symbol, | |
blob: "FileReader"in e && "Blob"in e && function() { | |
try { | |
return new Blob, | |
!0 | |
} catch (e) { | |
return !1 | |
} | |
}(), | |
formData: "FormData"in e, | |
arrayBuffer: "ArrayBuffer"in e | |
}; | |
if (n.arrayBuffer) | |
var r = ["[object Int8Array]", "[object Uint8Array]", "[object Uint8ClampedArray]", "[object Int16Array]", "[object Uint16Array]", "[object Int32Array]", "[object Uint32Array]", "[object Float32Array]", "[object Float64Array]"] | |
, i = ArrayBuffer.isView || function(e) { | |
return e && r.indexOf(Object.prototype.toString.call(e)) > -1 | |
} | |
; | |
function o(e) { | |
if ("string" !== typeof e && (e = String(e)), | |
/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e)) | |
throw new TypeError("Invalid character in header field name"); | |
return e.toLowerCase() | |
} | |
function a(e) { | |
return "string" !== typeof e && (e = String(e)), | |
e | |
} | |
function s(e) { | |
var t = { | |
next: function() { | |
var t = e.shift(); | |
return { | |
done: void 0 === t, | |
value: t | |
} | |
} | |
}; | |
return n.iterable && (t[Symbol.iterator] = function() { | |
return t | |
} | |
), | |
t | |
} | |
function c(e) { | |
this.map = {}, | |
e instanceof c ? e.forEach((function(e, t) { | |
this.append(t, e) | |
} | |
), this) : Array.isArray(e) ? e.forEach((function(e) { | |
this.append(e[0], e[1]) | |
} | |
), this) : e && Object.getOwnPropertyNames(e).forEach((function(t) { | |
this.append(t, e[t]) | |
} | |
), this) | |
} | |
function u(e) { | |
if (e.bodyUsed) | |
return Promise.reject(new TypeError("Already read")); | |
e.bodyUsed = !0 | |
} | |
function l(e) { | |
return new Promise((function(t, n) { | |
e.onload = function() { | |
t(e.result) | |
} | |
, | |
e.onerror = function() { | |
n(e.error) | |
} | |
} | |
)) | |
} | |
function f(e) { | |
var t = new FileReader | |
, n = l(t); | |
return t.readAsArrayBuffer(e), | |
n | |
} | |
function d(e) { | |
if (e.slice) | |
return e.slice(0); | |
var t = new Uint8Array(e.byteLength); | |
return t.set(new Uint8Array(e)), | |
t.buffer | |
} | |
function p() { | |
return this.bodyUsed = !1, | |
this._initBody = function(e) { | |
var t; | |
this._bodyInit = e, | |
e ? "string" === typeof e ? this._bodyText = e : n.blob && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : n.formData && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : n.searchParams && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : n.arrayBuffer && n.blob && ((t = e) && DataView.prototype.isPrototypeOf(t)) ? (this._bodyArrayBuffer = d(e.buffer), | |
this._bodyInit = new Blob([this._bodyArrayBuffer])) : n.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(e) || i(e)) ? this._bodyArrayBuffer = d(e) : this._bodyText = e = Object.prototype.toString.call(e) : this._bodyText = "", | |
this.headers.get("content-type") || ("string" === typeof e ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : n.searchParams && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8")) | |
} | |
, | |
n.blob && (this.blob = function() { | |
var e = u(this); | |
if (e) | |
return e; | |
if (this._bodyBlob) | |
return Promise.resolve(this._bodyBlob); | |
if (this._bodyArrayBuffer) | |
return Promise.resolve(new Blob([this._bodyArrayBuffer])); | |
if (this._bodyFormData) | |
throw new Error("could not read FormData body as blob"); | |
return Promise.resolve(new Blob([this._bodyText])) | |
} | |
, | |
this.arrayBuffer = function() { | |
return this._bodyArrayBuffer ? u(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(f) | |
} | |
), | |
this.text = function() { | |
var e, t, n, r = u(this); | |
if (r) | |
return r; | |
if (this._bodyBlob) | |
return e = this._bodyBlob, | |
t = new FileReader, | |
n = l(t), | |
t.readAsText(e), | |
n; | |
if (this._bodyArrayBuffer) | |
return Promise.resolve(function(e) { | |
for (var t = new Uint8Array(e), n = new Array(t.length), r = 0; r < t.length; r++) | |
n[r] = String.fromCharCode(t[r]); | |
return n.join("") | |
}(this._bodyArrayBuffer)); | |
if (this._bodyFormData) | |
throw new Error("could not read FormData body as text"); | |
return Promise.resolve(this._bodyText) | |
} | |
, | |
n.formData && (this.formData = function() { | |
return this.text().then(m) | |
} | |
), | |
this.json = function() { | |
return this.text().then(JSON.parse) | |
} | |
, | |
this | |
} | |
c.prototype.append = function(e, t) { | |
e = o(e), | |
t = a(t); | |
var n = this.map[e]; | |
this.map[e] = n ? n + ", " + t : t | |
} | |
, | |
c.prototype.delete = function(e) { | |
delete this.map[o(e)] | |
} | |
, | |
c.prototype.get = function(e) { | |
return e = o(e), | |
this.has(e) ? this.map[e] : null | |
} | |
, | |
c.prototype.has = function(e) { | |
return this.map.hasOwnProperty(o(e)) | |
} | |
, | |
c.prototype.set = function(e, t) { | |
this.map[o(e)] = a(t) | |
} | |
, | |
c.prototype.forEach = function(e, t) { | |
for (var n in this.map) | |
this.map.hasOwnProperty(n) && e.call(t, this.map[n], n, this) | |
} | |
, | |
c.prototype.keys = function() { | |
var e = []; | |
return this.forEach((function(t, n) { | |
e.push(n) | |
} | |
)), | |
s(e) | |
} | |
, | |
c.prototype.values = function() { | |
var e = []; | |
return this.forEach((function(t) { | |
e.push(t) | |
} | |
)), | |
s(e) | |
} | |
, | |
c.prototype.entries = function() { | |
var e = []; | |
return this.forEach((function(t, n) { | |
e.push([n, t]) | |
} | |
)), | |
s(e) | |
} | |
, | |
n.iterable && (c.prototype[Symbol.iterator] = c.prototype.entries); | |
var h = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; | |
function v(e, t) { | |
var n, r, i = (t = t || {}).body; | |
if (e instanceof v) { | |
if (e.bodyUsed) | |
throw new TypeError("Already read"); | |
this.url = e.url, | |
this.credentials = e.credentials, | |
t.headers || (this.headers = new c(e.headers)), | |
this.method = e.method, | |
this.mode = e.mode, | |
this.signal = e.signal, | |
i || null == e._bodyInit || (i = e._bodyInit, | |
e.bodyUsed = !0) | |
} else | |
this.url = String(e); | |
if (this.credentials = t.credentials || this.credentials || "same-origin", | |
!t.headers && this.headers || (this.headers = new c(t.headers)), | |
this.method = (n = t.method || this.method || "GET", | |
r = n.toUpperCase(), | |
h.indexOf(r) > -1 ? r : n), | |
this.mode = t.mode || this.mode || null, | |
this.signal = t.signal || this.signal, | |
this.referrer = null, | |
("GET" === this.method || "HEAD" === this.method) && i) | |
throw new TypeError("Body not allowed for GET or HEAD requests"); | |
this._initBody(i) | |
} | |
function m(e) { | |
var t = new FormData; | |
return e.trim().split("&").forEach((function(e) { | |
if (e) { | |
var n = e.split("=") | |
, r = n.shift().replace(/\+/g, " ") | |
, i = n.join("=").replace(/\+/g, " "); | |
t.append(decodeURIComponent(r), decodeURIComponent(i)) | |
} | |
} | |
)), | |
t | |
} | |
function y(e, t) { | |
t || (t = {}), | |
this.type = "default", | |
this.status = void 0 === t.status ? 200 : t.status, | |
this.ok = this.status >= 200 && this.status < 300, | |
this.statusText = "statusText"in t ? t.statusText : "OK", | |
this.headers = new c(t.headers), | |
this.url = t.url || "", | |
this._initBody(e) | |
} | |
v.prototype.clone = function() { | |
return new v(this,{ | |
body: this._bodyInit | |
}) | |
} | |
, | |
p.call(v.prototype), | |
p.call(y.prototype), | |
y.prototype.clone = function() { | |
return new y(this._bodyInit,{ | |
status: this.status, | |
statusText: this.statusText, | |
headers: new c(this.headers), | |
url: this.url | |
}) | |
} | |
, | |
y.error = function() { | |
var e = new y(null,{ | |
status: 0, | |
statusText: "" | |
}); | |
return e.type = "error", | |
e | |
} | |
; | |
var g = [301, 302, 303, 307, 308]; | |
y.redirect = function(e, t) { | |
if (-1 === g.indexOf(t)) | |
throw new RangeError("Invalid status code"); | |
return new y(null,{ | |
status: t, | |
headers: { | |
location: e | |
} | |
}) | |
} | |
, | |
t.DOMException = e.DOMException; | |
try { | |
new t.DOMException | |
} catch (w) { | |
t.DOMException = function(e, t) { | |
this.message = e, | |
this.name = t; | |
var n = Error(e); | |
this.stack = n.stack | |
} | |
, | |
t.DOMException.prototype = Object.create(Error.prototype), | |
t.DOMException.prototype.constructor = t.DOMException | |
} | |
function b(e, r) { | |
return new Promise((function(i, o) { | |
var a = new v(e,r); | |
if (a.signal && a.signal.aborted) | |
return o(new t.DOMException("Aborted","AbortError")); | |
var s = new XMLHttpRequest; | |
function u() { | |
s.abort() | |
} | |
s.onload = function() { | |
var e, t, n = { | |
status: s.status, | |
statusText: s.statusText, | |
headers: (e = s.getAllResponseHeaders() || "", | |
t = new c, | |
e.replace(/\r?\n[\t ]+/g, " ").split(/\r?\n/).forEach((function(e) { | |
var n = e.split(":") | |
, r = n.shift().trim(); | |
if (r) { | |
var i = n.join(":").trim(); | |
t.append(r, i) | |
} | |
} | |
)), | |
t) | |
}; | |
n.url = "responseURL"in s ? s.responseURL : n.headers.get("X-Request-URL"); | |
var r = "response"in s ? s.response : s.responseText; | |
i(new y(r,n)) | |
} | |
, | |
s.onerror = function() { | |
o(new TypeError("Network request failed")) | |
} | |
, | |
s.ontimeout = function() { | |
o(new TypeError("Network request failed")) | |
} | |
, | |
s.onabort = function() { | |
o(new t.DOMException("Aborted","AbortError")) | |
} | |
, | |
s.open(a.method, a.url, !0), | |
"include" === a.credentials ? s.withCredentials = !0 : "omit" === a.credentials && (s.withCredentials = !1), | |
"responseType"in s && n.blob && (s.responseType = "blob"), | |
a.headers.forEach((function(e, t) { | |
s.setRequestHeader(t, e) | |
} | |
)), | |
a.signal && (a.signal.addEventListener("abort", u), | |
s.onreadystatechange = function() { | |
4 === s.readyState && a.signal.removeEventListener("abort", u) | |
} | |
), | |
s.send("undefined" === typeof a._bodyInit ? null : a._bodyInit) | |
} | |
)) | |
} | |
b.polyfill = !0, | |
e.fetch || (e.fetch = b, | |
e.Headers = c, | |
e.Request = v, | |
e.Response = y), | |
t.Headers = c, | |
t.Request = v, | |
t.Response = y, | |
t.fetch = b | |
}({}) | |
}(n), | |
delete n.fetch.polyfill, | |
(t = n.fetch).default = n.fetch, | |
t.fetch = n.fetch, | |
t.Headers = n.Headers, | |
t.Request = n.Request, | |
t.Response = n.Response, | |
e.exports = t | |
}, | |
172: function(e, t, n) {}, | |
173: function(e, t, n) {}, | |
174: function(e, t, n) {}, | |
18: function(e, t, n) {}, | |
19: function(e, t, n) { | |
"use strict"; | |
n.d(t, "a", (function() { | |
return a | |
} | |
)); | |
var r = n(0) | |
, i = n(11); | |
function o() { | |
window.Cookiebot.consent.preferences && Object(i.b)({ | |
event: "cookieconsent_preferences" | |
}), | |
window.Cookiebot.consent.statistics && Object(i.b)({ | |
event: "cookieconsent_statistics" | |
}), | |
window.Cookiebot.consent.marketing && Object(i.b)({ | |
event: "cookieconsent_marketing" | |
}), | |
"undefined" !== typeof r.a && r.a.emit("cookiebot:accept") | |
} | |
function a() { | |
return window.Cookiebot && window.Cookiebot.consent && window.Cookiebot.consent.statistics | |
} | |
window.Cookiebot && window.Cookiebot.consented ? o() : window.addEventListener("CookiebotOnAccept", (function() { | |
return o() | |
} | |
), { | |
once: !0 | |
}) | |
}, | |
2: function(e, t, n) { | |
"use strict"; | |
n(22); | |
var r = n(17) | |
, i = n.n(r) | |
, o = n(1); | |
function a(e, t) { | |
var n = Object.keys(e); | |
if (Object.getOwnPropertySymbols) { | |
var r = Object.getOwnPropertySymbols(e); | |
t && (r = r.filter((function(t) { | |
return Object.getOwnPropertyDescriptor(e, t).enumerable | |
} | |
))), | |
n.push.apply(n, r) | |
} | |
return n | |
} | |
function s(e) { | |
for (var t = 1; t < arguments.length; t++) { | |
var n = null != arguments[t] ? arguments[t] : {}; | |
t % 2 ? a(Object(n), !0).forEach((function(t) { | |
c(e, t, n[t]) | |
} | |
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a(Object(n)).forEach((function(t) { | |
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)) | |
} | |
)) | |
} | |
return e | |
} | |
function c(e, t, n) { | |
return t in e ? Object.defineProperty(e, t, { | |
value: n, | |
enumerable: !0, | |
configurable: !0, | |
writable: !0 | |
}) : e[t] = n, | |
e | |
} | |
var u = { | |
credentials: "same-origin", | |
headers: { | |
"X-Requested-With": "XMLHttpRequest", | |
Accept: "application/json, */*" | |
} | |
} | |
, l = function(e) { | |
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {} | |
, n = f(t) | |
, r = new URL(e,document.location.origin); | |
if (n.params) { | |
var o = new URLSearchParams; | |
Object.keys(n.params).forEach((function(e) { | |
return o.set(e, n.params[e]) | |
} | |
)), | |
r.search = o.toString(), | |
delete n.params | |
} | |
return n.body instanceof Object && !(n.body instanceof FormData) && (n.body = JSON.stringify(n.body), | |
n.headers["Content-Type"] = "application/json"), | |
n.token && (n = d(n)), | |
!1 === n.ajax && (n = p(n)), | |
i()(r.toString(), n).then((function(e) { | |
if (e.ok) | |
return e; | |
throw Error("".concat(e.status, " - ").concat(e.statusText)) | |
} | |
)).then((function(e) { | |
return (e.headers.get("Content-Type") || "").indexOf("application/json") >= 0 ? e.json() : e.text() | |
} | |
)) | |
} | |
, f = function(e) { | |
return s({}, u, {}, e, { | |
headers: s({}, u.headers, {}, e.headers) | |
}) | |
} | |
, d = function(e) { | |
var t = s({}, e) | |
, n = o.a.token; | |
return n || (n = document.querySelector("meta[name=csrf-token]").getAttribute("content")), | |
t.headers = s({}, t.headers, { | |
"X-CSRF-TOKEN": n | |
}), | |
delete t.token, | |
t | |
} | |
, p = function(e) { | |
var t = s({}, e); | |
return delete t.headers["X-Requested-With"], | |
t | |
}; | |
t.a = { | |
get: function(e) { | |
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; | |
return l(e.toString(), t) | |
}, | |
post: function(e) { | |
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; | |
return t.method = "POST", | |
l(e, t) | |
}, | |
put: function(e) { | |
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; | |
return t.method = "PUT", | |
l(e, t) | |
}, | |
delete: function(e) { | |
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; | |
return t.method = "DELETE", | |
l(e, t) | |
} | |
} | |
}, | |
20: function(e, t) { | |
window.NodeList && !NodeList.prototype.forEach && (NodeList.prototype.forEach = Array.prototype.forEach) | |
}, | |
21: function(e, t, n) { | |
"use strict"; | |
n(22); | |
var r = n(2); | |
function i(e, t) { | |
var n = Object.keys(e); | |
if (Object.getOwnPropertySymbols) { | |
var r = Object.getOwnPropertySymbols(e); | |
t && (r = r.filter((function(t) { | |
return Object.getOwnPropertyDescriptor(e, t).enumerable | |
} | |
))), | |
n.push.apply(n, r) | |
} | |
return n | |
} | |
function o(e, t, n) { | |
return t in e ? Object.defineProperty(e, t, { | |
value: n, | |
enumerable: !0, | |
configurable: !0, | |
writable: !0 | |
}) : e[t] = n, | |
e | |
} | |
var a = function() { | |
return function(e) { | |
for (var t = 1; t < arguments.length; t++) { | |
var n = null != arguments[t] ? arguments[t] : {}; | |
t % 2 ? i(Object(n), !0).forEach((function(t) { | |
o(e, t, n[t]) | |
} | |
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i(Object(n)).forEach((function(t) { | |
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)) | |
} | |
)) | |
} | |
return e | |
}({}, (t = new URL(window.location.href), | |
n = { | |
pathname: t.pathname, | |
search: t.searchParams.toString() | |
}, | |
t.searchParams.forEach((function(e, t) { | |
n[t] = e | |
} | |
)), | |
n), {}, function() { | |
if ("undefined" !== typeof document.referrer && document.referrer.length > 0) { | |
var e = document.referrer.split("?"); | |
return { | |
referrer_url: encodeURI(e[0]) | |
} | |
} | |
return {} | |
}(), {}, (e = document.querySelector("meta[http-equiv='language']")) ? { | |
locale: e.getAttribute("content") | |
} : {}); | |
var e, t, n | |
} | |
, s = { | |
chapterAudio: function(e, t) { | |
return r.a.get("/api/books/".concat(e, "/chapters/").concat(t, "/audio"), { | |
token: !0 | |
}).then((function(e) { | |
return e.url | |
} | |
)) | |
}, | |
sample: function(e) { | |
return r.a.get("/api/books/sample_url/", { | |
params: { | |
slug: e | |
}, | |
token: !0 | |
}) | |
}, | |
rateBook: function(e, t) { | |
return r.a.post("/api/books/".concat(e, "/rate"), { | |
body: t, | |
token: !0 | |
}) | |
}, | |
bookGalleryPartial: function(e) { | |
return r.a.get("/api/books/books_in_brief_page", { | |
params: { | |
category_slug: e | |
} | |
}).then((function(e) { | |
return e.top_books_section | |
} | |
)) | |
} | |
} | |
, c = n(1) | |
, u = n(26) | |
, l = { | |
get: function(e) { | |
var t = "/api/credit_bundles"; | |
return e && (t += "/".concat(e)), | |
r.a.get(t, { | |
token: !0 | |
}) | |
}, | |
purchase: function(e) { | |
return r.a.post("/api/credit_bundle_purchases", { | |
body: e, | |
token: !0 | |
}) | |
} | |
}; | |
t.a = { | |
mickeyMouse: function() { | |
return r.a.get("/api/mickey_mouse/setup", { | |
params: a() | |
}).then((function(e) { | |
if (e) | |
return e; | |
throw new Error("No config data found in Mickey Mouse response") | |
} | |
)) | |
}, | |
me: function() { | |
return r.a.get("/api/me").then((function(e) { | |
if (e) | |
return e; | |
throw new Error("No config data found in /me response") | |
} | |
)) | |
}, | |
books: s, | |
promotions: function() { | |
return r.a.get(c.a.promotionsUrl, { | |
ajax: !1 | |
}).then((function(e) { | |
if (e) | |
return e; | |
throw new Error("No data found in /promotions response") | |
} | |
)) | |
}, | |
settings: u.a, | |
plans: function() { | |
return r.a.get("/api/plans").then((function(e) { | |
if (e) | |
return e; | |
throw new Error("No plans found.") | |
} | |
)) | |
}, | |
creditBundles: l | |
} | |
}, | |
22: function(e, t, n) { | |
(function(e) { | |
function t(e) { | |
return (t = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function(e) { | |
return typeof e | |
} | |
: function(e) { | |
return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
} | |
)(e) | |
} | |
!function(e) { | |
var n = function() { | |
try { | |
return !!Symbol.iterator | |
} catch (e) { | |
return !1 | |
} | |
}() | |
, r = function(e) { | |
var t = { | |
next: function() { | |
var t = e.shift(); | |
return { | |
done: void 0 === t, | |
value: t | |
} | |
} | |
}; | |
return n && (t[Symbol.iterator] = function() { | |
return t | |
} | |
), | |
t | |
} | |
, i = function(e) { | |
return encodeURIComponent(e).replace(/%20/g, "+") | |
} | |
, o = function(e) { | |
return decodeURIComponent(String(e).replace(/\+/g, " ")) | |
}; | |
(function() { | |
try { | |
var t = e.URLSearchParams; | |
return "a=1" === new t("?a=1").toString() && "function" === typeof t.prototype.set | |
} catch (n) { | |
return !1 | |
} | |
} | |
)() || function() { | |
var o = function e(n) { | |
Object.defineProperty(this, "_entries", { | |
writable: !0, | |
value: {} | |
}); | |
var r = t(n); | |
if ("undefined" === r) | |
; | |
else if ("string" === r) | |
"" !== n && this._fromString(n); | |
else if (n instanceof e) { | |
var i = this; | |
n.forEach((function(e, t) { | |
i.append(t, e) | |
} | |
)) | |
} else { | |
if (null === n || "object" !== r) | |
throw new TypeError("Unsupported input's type for URLSearchParams"); | |
if ("[object Array]" === Object.prototype.toString.call(n)) | |
for (var o = 0; o < n.length; o++) { | |
var a = n[o]; | |
if ("[object Array]" !== Object.prototype.toString.call(a) && 2 === a.length) | |
throw new TypeError("Expected [string, any] as entry at index " + o + " of URLSearchParams's input"); | |
this.append(a[0], a[1]) | |
} | |
else | |
for (var s in n) | |
n.hasOwnProperty(s) && this.append(s, n[s]) | |
} | |
} | |
, a = o.prototype; | |
a.append = function(e, t) { | |
e in this._entries ? this._entries[e].push(String(t)) : this._entries[e] = [String(t)] | |
} | |
, | |
a.delete = function(e) { | |
delete this._entries[e] | |
} | |
, | |
a.get = function(e) { | |
return e in this._entries ? this._entries[e][0] : null | |
} | |
, | |
a.getAll = function(e) { | |
return e in this._entries ? this._entries[e].slice(0) : [] | |
} | |
, | |
a.has = function(e) { | |
return e in this._entries | |
} | |
, | |
a.set = function(e, t) { | |
this._entries[e] = [String(t)] | |
} | |
, | |
a.forEach = function(e, t) { | |
var n; | |
for (var r in this._entries) | |
if (this._entries.hasOwnProperty(r)) { | |
n = this._entries[r]; | |
for (var i = 0; i < n.length; i++) | |
e.call(t, n[i], r, this) | |
} | |
} | |
, | |
a.keys = function() { | |
var e = []; | |
return this.forEach((function(t, n) { | |
e.push(n) | |
} | |
)), | |
r(e) | |
} | |
, | |
a.values = function() { | |
var e = []; | |
return this.forEach((function(t) { | |
e.push(t) | |
} | |
)), | |
r(e) | |
} | |
, | |
a.entries = function() { | |
var e = []; | |
return this.forEach((function(t, n) { | |
e.push([n, t]) | |
} | |
)), | |
r(e) | |
} | |
, | |
n && (a[Symbol.iterator] = a.entries), | |
a.toString = function() { | |
var e = []; | |
return this.forEach((function(t, n) { | |
e.push(i(n) + "=" + i(t)) | |
} | |
)), | |
e.join("&") | |
} | |
, | |
e.URLSearchParams = o | |
}(); | |
var a = e.URLSearchParams.prototype; | |
"function" !== typeof a.sort && (a.sort = function() { | |
var e = this | |
, t = []; | |
this.forEach((function(n, r) { | |
t.push([r, n]), | |
e._entries || e.delete(r) | |
} | |
)), | |
t.sort((function(e, t) { | |
return e[0] < t[0] ? -1 : e[0] > t[0] ? 1 : 0 | |
} | |
)), | |
e._entries && (e._entries = {}); | |
for (var n = 0; n < t.length; n++) | |
this.append(t[n][0], t[n][1]) | |
} | |
), | |
"function" !== typeof a._fromString && Object.defineProperty(a, "_fromString", { | |
enumerable: !1, | |
configurable: !1, | |
writable: !1, | |
value: function(e) { | |
if (this._entries) | |
this._entries = {}; | |
else { | |
var t = []; | |
this.forEach((function(e, n) { | |
t.push(n) | |
} | |
)); | |
for (var n = 0; n < t.length; n++) | |
this.delete(t[n]) | |
} | |
var r, i = (e = e.replace(/^\?/, "")).split("&"); | |
for (n = 0; n < i.length; n++) | |
r = i[n].split("="), | |
this.append(o(r[0]), r.length > 1 ? o(r[1]) : "") | |
} | |
}) | |
}("undefined" !== typeof e ? e : "undefined" !== typeof window ? window : "undefined" !== typeof self ? self : this), | |
function(e) { | |
if (function() { | |
try { | |
var t = new e.URL("b","http://a"); | |
return t.pathname = "c%20d", | |
"http://a/c%20d" === t.href && t.searchParams | |
} catch (n) { | |
return !1 | |
} | |
}() || function() { | |
var t = e.URL | |
, n = function(t, n) { | |
"string" !== typeof t && (t = String(t)); | |
var r, i = document; | |
if (n && (void 0 === e.location || n !== e.location.href)) { | |
(r = (i = document.implementation.createHTMLDocument("")).createElement("base")).href = n, | |
i.head.appendChild(r); | |
try { | |
if (0 !== r.href.indexOf(n)) | |
throw new Error(r.href) | |
} catch (f) { | |
throw new Error("URL unable to set base " + n + " due to " + f) | |
} | |
} | |
var o = i.createElement("a"); | |
if (o.href = t, | |
r && (i.body.appendChild(o), | |
o.href = o.href), | |
":" === o.protocol || !/:/.test(o.href)) | |
throw new TypeError("Invalid URL"); | |
Object.defineProperty(this, "_anchorElement", { | |
value: o | |
}); | |
var a = new e.URLSearchParams(this.search) | |
, s = !0 | |
, c = !0 | |
, u = this; | |
["append", "delete", "set"].forEach((function(e) { | |
var t = a[e]; | |
a[e] = function() { | |
t.apply(a, arguments), | |
s && (c = !1, | |
u.search = a.toString(), | |
c = !0) | |
} | |
} | |
)), | |
Object.defineProperty(this, "searchParams", { | |
value: a, | |
enumerable: !0 | |
}); | |
var l = void 0; | |
Object.defineProperty(this, "_updateSearchParams", { | |
enumerable: !1, | |
configurable: !1, | |
writable: !1, | |
value: function() { | |
this.search !== l && (l = this.search, | |
c && (s = !1, | |
this.searchParams._fromString(this.search), | |
s = !0)) | |
} | |
}) | |
} | |
, r = n.prototype; | |
["hash", "host", "hostname", "port", "protocol"].forEach((function(e) { | |
!function(e) { | |
Object.defineProperty(r, e, { | |
get: function() { | |
return this._anchorElement[e] | |
}, | |
set: function(t) { | |
this._anchorElement[e] = t | |
}, | |
enumerable: !0 | |
}) | |
}(e) | |
} | |
)), | |
Object.defineProperty(r, "search", { | |
get: function() { | |
return this._anchorElement.search | |
}, | |
set: function(e) { | |
this._anchorElement.search = e, | |
this._updateSearchParams() | |
}, | |
enumerable: !0 | |
}), | |
Object.defineProperties(r, { | |
toString: { | |
get: function() { | |
var e = this; | |
return function() { | |
return e.href | |
} | |
} | |
}, | |
href: { | |
get: function() { | |
return this._anchorElement.href.replace(/\?$/, "") | |
}, | |
set: function(e) { | |
this._anchorElement.href = e, | |
this._updateSearchParams() | |
}, | |
enumerable: !0 | |
}, | |
pathname: { | |
get: function() { | |
return this._anchorElement.pathname.replace(/(^\/?)/, "/") | |
}, | |
set: function(e) { | |
this._anchorElement.pathname = e | |
}, | |
enumerable: !0 | |
}, | |
origin: { | |
get: function() { | |
var e = { | |
"http:": 80, | |
"https:": 443, | |
"ftp:": 21 | |
}[this._anchorElement.protocol] | |
, t = this._anchorElement.port != e && "" !== this._anchorElement.port; | |
return this._anchorElement.protocol + "//" + this._anchorElement.hostname + (t ? ":" + this._anchorElement.port : "") | |
}, | |
enumerable: !0 | |
}, | |
password: { | |
get: function() { | |
return "" | |
}, | |
set: function(e) {}, | |
enumerable: !0 | |
}, | |
username: { | |
get: function() { | |
return "" | |
}, | |
set: function(e) {}, | |
enumerable: !0 | |
} | |
}), | |
n.createObjectURL = function(e) { | |
return t.createObjectURL.apply(t, arguments) | |
} | |
, | |
n.revokeObjectURL = function(e) { | |
return t.revokeObjectURL.apply(t, arguments) | |
} | |
, | |
e.URL = n | |
}(), | |
void 0 !== e.location && !("origin"in e.location)) { | |
var t = function() { | |
return e.location.protocol + "//" + e.location.hostname + (e.location.port ? ":" + e.location.port : "") | |
}; | |
try { | |
Object.defineProperty(e.location, "origin", { | |
get: t, | |
enumerable: !0 | |
}) | |
} catch (n) { | |
setInterval((function() { | |
e.location.origin = t() | |
} | |
), 100) | |
} | |
} | |
}("undefined" !== typeof e ? e : "undefined" !== typeof window ? window : "undefined" !== typeof self ? self : this) | |
} | |
).call(this, n(13)) | |
}, | |
23: function(e, t, n) { | |
"use strict"; | |
var r = {}; | |
n.r(r), | |
n.d(r, "push", (function() { | |
return l | |
} | |
)), | |
n.d(r, "track", (function() { | |
return f | |
} | |
)), | |
n.d(r, "trackEvent", (function() { | |
return d | |
} | |
)), | |
n.d(r, "trackBIEvent", (function() { | |
return p | |
} | |
)), | |
n.d(r, "setAbTestsCustomVariable", (function() { | |
return h | |
} | |
)), | |
n.d(r, "setConfig", (function() { | |
return v | |
} | |
)); | |
var i, o = n(0), a = n(21), s = n(1), c = n(4); | |
function u(e) { | |
return function(e) { | |
if (Array.isArray(e)) { | |
for (var t = 0, n = new Array(e.length); t < e.length; t++) | |
n[t] = e[t]; | |
return n | |
} | |
}(e) || function(e) { | |
if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) | |
return Array.from(e) | |
}(e) || function() { | |
throw new TypeError("Invalid attempt to spread non-iterable instance") | |
}() | |
} | |
var l = function() { | |
window._paq = window._paq || []; | |
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) | |
t[n] = arguments[n]; | |
window._paq.push(t) | |
} | |
, f = function() { | |
l.apply(void 0, arguments) | |
} | |
, d = function() { | |
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) | |
t[n] = arguments[n]; | |
var r = ["trackEvent"].concat(t); | |
l("deleteCustomVariable", 6, "page"), | |
f.apply(void 0, u(r)) | |
} | |
, p = function() { | |
for (var e = ["body-20190207-bi_event", "1-fire"], t = ["trackEvent"].concat(e), n = arguments.length, r = new Array(n), i = 0; i < n; i++) | |
r[i] = arguments[i]; | |
l("setCustomVariable", 6, "BIevent", JSON.stringify(r), "page"), | |
f.apply(void 0, u(t)) | |
} | |
, h = function() { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; | |
Object.keys(e).map((function(t) { | |
var n = "".concat(t, "-").concat(e[t]); | |
s.a.abtests.indexOf(n) < 0 && s.a.abtests.push(n) | |
} | |
)), | |
s.a.abtests.length > 0 && l("setCustomVariable", 1, "ABtests", s.a.abtests, "page"), | |
Object(c.a)("bk_c_n_ab") && l("setCustomVariable", 5, "ABSessionId", Object(c.a)("bk_c_n_ab"), "page") | |
} | |
, v = function(e) { | |
var t, n, r; | |
t = (i = e).guest ? 1 : 0, | |
n = Object(c.a)("bk_c_n") || i.fingerprint, | |
r = i.segment || s.a.segment, | |
l((function() { | |
this.appendToTrackingUrl("bk_u_g=".concat(t, "&bk_c_n=").concat(n, "&bk_u_s=").concat(r)) | |
} | |
)) | |
} | |
, m = n(11) | |
, y = n(19) | |
, g = n(5); | |
function b(e) { | |
return function(e) { | |
if (Array.isArray(e)) { | |
for (var t = 0, n = new Array(e.length); t < e.length; t++) | |
n[t] = e[t]; | |
return n | |
} | |
}(e) || function(e) { | |
if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) | |
return Array.from(e) | |
}(e) || function() { | |
throw new TypeError("Invalid attempt to spread non-iterable instance") | |
}() | |
} | |
n.d(t, "a", (function() { | |
return x | |
} | |
)), | |
n.d(t, "b", (function() { | |
return E | |
} | |
)); | |
var w = !1 | |
, _ = [] | |
, k = [] | |
, x = function() { | |
a.a.mickeyMouse().catch((function() { | |
return Object(g.a)("Failed to fetch mickeyMouse") | |
} | |
)).then((function(e) { | |
O(e), | |
e.is_captcha_disabled && (window.globals.recaptcha.activated = !1); | |
var t = e.test_categories; | |
o.a.emit("setup:ready", e), | |
o.a.emit("abtest:ready", t || {}) | |
} | |
)) | |
} | |
, O = function(e) { | |
["development", "test"].indexOf(s.a.env) >= 0 || Object(y.a)() ? S(e) : o.a.on("cookiebot:accept", (function() { | |
return Object(y.a)() && S(e) | |
} | |
)) | |
} | |
, S = function(e) { | |
var t = e.test_categories; | |
w = !0, | |
v(e), | |
h(t), | |
l("trackPageView"), | |
_.forEach((function(e) { | |
return E.apply(void 0, b(e)) | |
} | |
)), | |
k.forEach((function(e) { | |
return C.apply(void 0, b(e)) | |
} | |
)), | |
m.a({ | |
ab_tests: s.a.abtests | |
}), | |
window._bk_paq && !window._bk_paq.proxyOn && window._bk_paq.turnProxyOn(), | |
A() | |
} | |
, E = function() { | |
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) | |
t[n] = arguments[n]; | |
w ? d.apply(r, t) : _.push(t) | |
} | |
, C = function() { | |
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) | |
t[n] = arguments[n]; | |
w ? p.apply(r, t) : k.push(t) | |
} | |
, A = function() { | |
document.addEventListener("click", (function(e) { | |
var t = e.target.closest(".js-pw-link"); | |
if (t) { | |
var n = t.dataset | |
, r = n.eventCategory | |
, i = void 0 === r ? "body-20170330-fallback_piwik_link" : r | |
, o = n.eventAction | |
, a = void 0 === o ? "1-click" : o | |
, s = n.eventDepth | |
, c = void 0 === s ? 1 : s | |
, u = n.eventName | |
, l = [i, "".concat(c, "-").concat(a)]; | |
u && l.push(u), | |
E.apply(void 0, l) | |
} | |
} | |
)) | |
} | |
}, | |
24: function(e, t, n) { | |
"use strict"; | |
n.d(t, "b", (function() { | |
return o | |
} | |
)), | |
n.d(t, "a", (function() { | |
return a | |
} | |
)); | |
var r = n(32) | |
, i = new (n.n(r).a) | |
, o = (i.getDevice().type, | |
function() { | |
return i.getOS().name.toLowerCase() | |
} | |
) | |
, a = function() { | |
return i.getBrowser().name.toLowerCase().indexOf("chrome") >= 0 | |
} | |
}, | |
246: function(e, t, n) { | |
"use strict"; | |
var r = n(172); | |
n.n(r).a | |
}, | |
247: function(e, t, n) { | |
"use strict"; | |
var r = n(173); | |
n.n(r).a | |
}, | |
248: function(e, t, n) { | |
"use strict"; | |
var r = n(174); | |
n.n(r).a | |
}, | |
249: function(e, t, n) {}, | |
25: function(e, t, n) { | |
"use strict"; | |
var r = n(0) | |
, i = n(10) | |
, o = n(4) | |
, a = (n(12), | |
{ | |
props: { | |
id: { | |
type: String, | |
default: null | |
}, | |
steps: { | |
type: Object, | |
default: function() { | |
return {} | |
} | |
}, | |
content: { | |
type: String, | |
default: null | |
}, | |
hasCloseButton: { | |
type: Boolean, | |
default: !0 | |
}, | |
trackingName: { | |
type: String, | |
default: "popup-20181026-modal_fallback" | |
}, | |
timeout: { | |
type: [String, Number], | |
default: 0 | |
}, | |
timeoutClose: { | |
type: [String, Number], | |
default: 0 | |
}, | |
openActionName: { | |
type: String, | |
default: "1-open" | |
}, | |
closeActionName: { | |
type: String, | |
default: "2-close" | |
}, | |
show: { | |
type: Boolean, | |
default: !1 | |
}, | |
modifiers: { | |
type: Array, | |
default: function() { | |
return [] | |
} | |
}, | |
cookie: { | |
type: [String, Number], | |
default: 0 | |
}, | |
fixedSizes: { | |
type: Boolean, | |
default: !1 | |
} | |
}, | |
data: function() { | |
return { | |
isBlocked: !1, | |
activeModal: !1, | |
activeWrapper: !1, | |
currentStep: null, | |
inStepTransition: !1 | |
} | |
}, | |
computed: { | |
classname: function() { | |
return this.modifiers.push(this.id), | |
Object(i.a)("modal", this.modifiers) | |
}, | |
hasSteps: function() { | |
return Object.keys(this.steps).length > 0 | |
}, | |
showCloseButton: function() { | |
var e = this.hasCloseButton; | |
return this.hasSteps && (e = e && !this.inStepTransition), | |
e | |
} | |
}, | |
watch: { | |
show: function(e) { | |
e ? this.open() : this.close() | |
} | |
}, | |
mounted: function() { | |
var e = this; | |
Object(o.a)("modal-".concat(this.id)) || (r.a.on("modal:".concat(this.id, ":open"), (function(t, n) { | |
return e.open(t, n) | |
} | |
)), | |
r.a.on("modal:".concat(this.id, ":close"), (function(t, n) { | |
return e.close(t, n) | |
} | |
)), | |
r.a.on("modal:all:close", this.close), | |
Object.keys(this.steps).forEach((function(t) { | |
r.a.on("modal:".concat(e.id, ":step:").concat(t, ":show"), (function() { | |
e.showStep(t) | |
} | |
)) | |
} | |
)), | |
r.a.on("modal:".concat(this.id, ":step:next"), this.nextStep), | |
this.timeout && setTimeout((function() { | |
return e.open() | |
} | |
), parseInt(this.timeout)), | |
r.a.on("modal:opened", (function(t) { | |
t !== e.id && (e.isBlocked = !0) | |
} | |
)), | |
r.a.on("modal:closed", (function() { | |
e.isBlocked = !1 | |
} | |
)), | |
document.addEventListener("click", (function(t) { | |
return t.target.closest('[data-modal-open="'.concat(e.id, '"]')) ? (t.preventDefault(), | |
t.stopPropagation(), | |
void e.open()) : t.target.closest('[data-modal-close="'.concat(e.id, '"]')) ? (t.preventDefault(), | |
t.stopPropagation(), | |
void e.close()) : void Object.keys(e.steps).forEach((function(n) { | |
t.target.closest('[data-modal-open-step="'.concat(e.id, ":").concat(n, '"]')) && (t.preventDefault(), | |
e.showStep(n)) | |
} | |
)) | |
} | |
))) | |
}, | |
methods: { | |
open: function() { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.trackingName | |
, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.openActionName; | |
this.isBlocked || (this.activeModal = !0, | |
this.hasSteps && !this.currentStep ? this.nextStep() : this.timeoutClose && !this.hasSteps && setTimeout(this.close, this.timeoutClose), | |
u(), | |
r.a.track(e, t), | |
this.$emit("open", e), | |
this.cookie && Object(o.a)("modal-".concat(this.id), 1, this.cookie)) | |
}, | |
close: function() { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.trackingName | |
, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.closeActionName; | |
this.activeWrapper = !1, | |
c(), | |
r.a.track(e, t), | |
this.$emit("close") | |
}, | |
onClosed: function() { | |
this.$emit("closed"), | |
r.a.emit("modal:".concat(this.id, ":closed")) | |
}, | |
showStep: function(e) { | |
if (e) { | |
this.activeModal || this.open(), | |
this.currentStep = e; | |
var t = Object.keys(this.steps); | |
t.indexOf(this.currentStep) >= t.length - 1 && this.timeoutClose && setTimeout(this.close, this.timeoutClose) | |
} else | |
this.nextStep() | |
}, | |
nextStep: function() { | |
var e, t = Object.keys(this.steps); | |
if (this.currentStep) { | |
var n = t.indexOf(this.currentStep); | |
if (n >= t.length) | |
return void this.close(); | |
e = t[n + 1] | |
} else | |
e = t[0]; | |
e && this.showStep(e) | |
}, | |
onStepEnter: function() { | |
var e = this; | |
this.inStepTransition = !1, | |
r.a.emit("modal:".concat(this.id, ":step:").concat(this.currentStep, ":opened"), this.$refs.el); | |
var t = this.$refs.resizer | |
, n = t.clientWidth | |
, i = t.clientHeight; | |
this.$refs.resizer.style.width = "auto", | |
this.$refs.resizer.style.height = "auto"; | |
var o = this.$refs.step | |
, a = o.clientWidth | |
, s = o.clientHeight; | |
this.$refs.resizer.style.width = "".concat(n, "px"), | |
this.$refs.resizer.style.height = "".concat(i, "px"), | |
requestAnimationFrame((function() { | |
e.$refs.resizer.style.width = "".concat(a, "px"), | |
e.$refs.resizer.style.height = "".concat(s, "px") | |
} | |
)) | |
}, | |
afterStepEnter: function() { | |
this.$refs.resizer.style.width = "auto", | |
this.$refs.resizer.style.height = "auto", | |
r.a.emit("modal:".concat(this.id, ":step:").concat(this.currentStep, ":after-opened")) | |
}, | |
onStepLeave: function() { | |
this.inStepTransition = !0; | |
var e = this.$refs.resizer | |
, t = e.clientWidth | |
, n = e.clientHeight; | |
this.$refs.resizer.style.width = "".concat(t, "px"), | |
this.$refs.resizer.style.height = "".concat(n, "px"), | |
r.a.emit("modal:".concat(this.id, ":step:").concat(this.currentStep, ":closed")) | |
}, | |
onModalEnter: function() { | |
r.a.emit("modal:opened", this.id), | |
r.a.emit("modal:".concat(this.id, ":opened"), this.$refs.modal), | |
this.hasSteps && r.a.emit("modal:".concat(this.id, ":step:").concat(this.currentStep, ":opened")) | |
}, | |
afterModalEnter: function() { | |
r.a.emit("modal:".concat(this.id, ":after-opened")), | |
this.hasSteps && r.a.emit("modal:".concat(this.id, ":step:").concat(this.currentStep, ":after-opened")) | |
}, | |
onModalLeave: function() { | |
this.activeModal = !1, | |
r.a.emit("modal:closed", this.id), | |
r.a.emit("modal:".concat(this.id, ":closed")) | |
}, | |
elementClick: function(e) { | |
for (var t = e.target; t; ) { | |
if (t === this.$refs.container) | |
return; | |
t = t.parentNode | |
} | |
this.close() | |
} | |
} | |
}) | |
, s = document.querySelector("body") | |
, c = function() { | |
s.classList.remove("scroll-disabled") | |
} | |
, u = function() { | |
s.classList.add("scroll-disabled") | |
} | |
, l = a | |
, f = (n(38), | |
n(3)) | |
, d = Object(f.a)(l, (function() { | |
var e = this | |
, t = e.$createElement | |
, n = e._self._c || t; | |
return n("transition", { | |
attrs: { | |
name: "modal-fade" | |
}, | |
on: { | |
enter: function(t) { | |
e.activeWrapper = !0 | |
}, | |
"after-leave": e.onClosed | |
} | |
}, [e.activeModal ? n("div", { | |
ref: "modal", | |
class: e.classname, | |
on: { | |
click: e.elementClick | |
} | |
}, [n("transition", { | |
attrs: { | |
name: "modal-scale" | |
}, | |
on: { | |
enter: e.onModalEnter, | |
"after-enter": e.afterModalEnter, | |
leave: e.onModalLeave | |
} | |
}, [e.activeWrapper ? n("div", { | |
staticClass: "modal__wrapper" | |
}, [n("div", { | |
ref: "resizer", | |
staticClass: "modal__resizer" | |
}, [n("div", { | |
ref: "container", | |
staticClass: "modal__container" | |
}, [n("transition", { | |
attrs: { | |
name: "step" | |
} | |
}, [e.showCloseButton ? n("span", { | |
staticClass: "modal__close", | |
on: { | |
click: e.close | |
} | |
}) : e._e()]), e._v(" "), e.hasSteps ? [n("transition", { | |
attrs: { | |
name: "step", | |
mode: "out-in", | |
duration: { | |
enter: 500, | |
leave: 250 | |
} | |
}, | |
on: { | |
enter: e.onStepEnter, | |
"after-enter": e.afterStepEnter, | |
leave: e.onStepLeave | |
} | |
}, [n("div", { | |
key: e.currentStep, | |
ref: "step", | |
staticClass: "modal__step", | |
domProps: { | |
innerHTML: e._s(e.steps[e.currentStep]) | |
} | |
})])] : e.content ? n("div", { | |
domProps: { | |
innerHTML: e._s(e.content) | |
} | |
}) : e._t("default")], 2)])]) : e._e()])], 1) : e._e()]) | |
} | |
), [], !1, null, null, null); | |
t.a = d.exports | |
}, | |
26: function(e, t, n) { | |
"use strict"; | |
var r = n(2); | |
t.a = { | |
loadAccounts: function() { | |
return r.a.get("/nc/settings/account_list") | |
}, | |
unlinkSocialAccount: function(e) { | |
return r.a.delete("/api/social_accounts", { | |
params: { | |
type: e | |
}, | |
token: !0 | |
}) | |
}, | |
addLogin: function(e, t) { | |
return r.a.post("/api/blinkist_account", { | |
body: { | |
email: e, | |
password: t | |
}, | |
token: !0 | |
}) | |
}, | |
changePassword: function(e, t) { | |
return r.a.put("/api/password", { | |
body: { | |
old_password: e, | |
password1: t, | |
password2: t | |
}, | |
token: !0 | |
}) | |
}, | |
changeEmail: function(e, t) { | |
return r.a.put("/api/blinkist_account", { | |
body: { | |
email: e, | |
password: t | |
}, | |
token: !0 | |
}) | |
} | |
} | |
}, | |
27: function(e, t) { | |
var n, r, i = e.exports = {}; | |
function o() { | |
throw new Error("setTimeout has not been defined") | |
} | |
function a() { | |
throw new Error("clearTimeout has not been defined") | |
} | |
function s(e) { | |
if (n === setTimeout) | |
return setTimeout(e, 0); | |
if ((n === o || !n) && setTimeout) | |
return n = setTimeout, | |
setTimeout(e, 0); | |
try { | |
return n(e, 0) | |
} catch (t) { | |
try { | |
return n.call(null, e, 0) | |
} catch (t) { | |
return n.call(this, e, 0) | |
} | |
} | |
} | |
!function() { | |
try { | |
n = "function" === typeof setTimeout ? setTimeout : o | |
} catch (e) { | |
n = o | |
} | |
try { | |
r = "function" === typeof clearTimeout ? clearTimeout : a | |
} catch (e) { | |
r = a | |
} | |
}(); | |
var c, u = [], l = !1, f = -1; | |
function d() { | |
l && c && (l = !1, | |
c.length ? u = c.concat(u) : f = -1, | |
u.length && p()) | |
} | |
function p() { | |
if (!l) { | |
var e = s(d); | |
l = !0; | |
for (var t = u.length; t; ) { | |
for (c = u, | |
u = []; ++f < t; ) | |
c && c[f].run(); | |
f = -1, | |
t = u.length | |
} | |
c = null, | |
l = !1, | |
function(e) { | |
if (r === clearTimeout) | |
return clearTimeout(e); | |
if ((r === a || !r) && clearTimeout) | |
return r = clearTimeout, | |
clearTimeout(e); | |
try { | |
r(e) | |
} catch (t) { | |
try { | |
return r.call(null, e) | |
} catch (t) { | |
return r.call(this, e) | |
} | |
} | |
}(e) | |
} | |
} | |
function h(e, t) { | |
this.fun = e, | |
this.array = t | |
} | |
function v() {} | |
i.nextTick = function(e) { | |
var t = new Array(arguments.length - 1); | |
if (arguments.length > 1) | |
for (var n = 1; n < arguments.length; n++) | |
t[n - 1] = arguments[n]; | |
u.push(new h(e,t)), | |
1 !== u.length || l || s(p) | |
} | |
, | |
h.prototype.run = function() { | |
this.fun.apply(null, this.array) | |
} | |
, | |
i.title = "browser", | |
i.browser = !0, | |
i.env = {}, | |
i.argv = [], | |
i.version = "", | |
i.versions = {}, | |
i.on = v, | |
i.addListener = v, | |
i.once = v, | |
i.off = v, | |
i.removeListener = v, | |
i.removeAllListeners = v, | |
i.emit = v, | |
i.prependListener = v, | |
i.prependOnceListener = v, | |
i.listeners = function(e) { | |
return [] | |
} | |
, | |
i.binding = function(e) { | |
throw new Error("process.binding is not supported") | |
} | |
, | |
i.cwd = function() { | |
return "/" | |
} | |
, | |
i.chdir = function(e) { | |
throw new Error("process.chdir is not supported") | |
} | |
, | |
i.umask = function() { | |
return 0 | |
} | |
}, | |
275: function(e, t, n) { | |
"use strict"; | |
n.r(t); | |
n(19), | |
n(41); | |
var r = n(0) | |
, i = n(1) | |
, o = n(21) | |
, a = n(9) | |
, s = n(59) | |
, c = { | |
props: { | |
audioUrl: { | |
type: String, | |
default: null | |
}, | |
onPlay: { | |
type: Function, | |
default: null | |
}, | |
onEnded: { | |
type: Function, | |
default: null | |
} | |
}, | |
components: { | |
AudioPlayer: s.a | |
} | |
} | |
, u = (n(246), | |
n(3)) | |
, l = Object(u.a)(c, (function() { | |
var e = this.$createElement; | |
return (this._self._c || e)("audio-player", { | |
attrs: { | |
"has-volume": !0, | |
"audio-url": this.audioUrl, | |
"block-name": "reader-audio-player" | |
}, | |
on: { | |
play: this.onPlay, | |
ended: this.onEnded | |
} | |
}) | |
} | |
), [], !1, null, null, null).exports | |
, f = { | |
props: { | |
bookTitle: { | |
type: String, | |
default: "" | |
}, | |
currentChapter: { | |
type: Number, | |
default: 0 | |
}, | |
totalChapters: { | |
type: Number, | |
default: 0 | |
} | |
} | |
} | |
, d = (n(247), | |
Object(u.a)(f, (function() { | |
var e = this | |
, t = e.$createElement | |
, n = e._self._c || t; | |
return n("div", { | |
staticClass: "reader-chapter-indicator" | |
}, [n("span", { | |
staticClass: "reader-chapter-indicator__title", | |
domProps: { | |
innerHTML: e._s(e.bookTitle) | |
} | |
}), e._v(" "), n("div", { | |
staticClass: "reader-chapter-indicator__counter" | |
}, [n("span", { | |
staticClass: "reader-chapter-indicator__current" | |
}, [e._v("\n " + e._s(e.currentChapter) + "\n ")]), e._v(" "), n("span", { | |
staticClass: "reader-chapter-indicator__total" | |
}, [e._v("\n " + e._s(e.totalChapters) + "\n ")])])]) | |
} | |
), [], !1, null, null, null).exports) | |
, p = { | |
props: { | |
bookTitle: { | |
type: String, | |
default: null | |
}, | |
currentChapter: { | |
type: Number, | |
default: null | |
}, | |
totalChapters: { | |
type: Number, | |
default: null | |
}, | |
audioUrl: { | |
type: String, | |
default: null | |
}, | |
handleAudioPlayEvent: { | |
type: Function, | |
default: null | |
}, | |
handleAudioEndedEvent: { | |
type: Function, | |
default: null | |
} | |
}, | |
components: { | |
ReaderAudioPlayer: l, | |
ReaderChapterIndicator: d | |
} | |
} | |
, h = (n(248), | |
Object(u.a)(p, (function() { | |
var e = this.$createElement | |
, t = this._self._c || e; | |
return t("div", { | |
staticClass: "reader-audio" | |
}, [t("reader-chapter-indicator", { | |
staticClass: "reader-audio__chapter", | |
attrs: { | |
"book-title": this.bookTitle, | |
"current-chapter": this.currentChapter, | |
"total-chapters": this.totalChapters | |
} | |
}), this._v(" "), t("reader-audio-player", { | |
staticClass: "reader-audio__player", | |
attrs: { | |
"audio-url": this.audioUrl, | |
"on-play": this.handleAudioPlayEvent, | |
"on-ended": this.handleAudioEndedEvent | |
} | |
})], 1) | |
} | |
), [], !1, null, null, null).exports) | |
, v = { | |
props: { | |
currentChapter: { | |
type: Number, | |
default: 0 | |
}, | |
totalChapters: { | |
type: Number, | |
default: 0 | |
} | |
}, | |
data: function() { | |
return { | |
displayPin: !1 | |
} | |
}, | |
computed: { | |
progress: function() { | |
return this.currentChapter / this.totalChapters | |
}, | |
progressWidth: function() { | |
var e = 93 * this.progress; | |
return "".concat(e, "%") | |
} | |
}, | |
watch: { | |
currentChapter: function() { | |
var e = this; | |
e.displayPin = !0, | |
setTimeout((function() { | |
e.displayPin = !1 | |
} | |
), 900) | |
} | |
} | |
} | |
, m = Object(u.a)(v, (function() { | |
var e = this.$createElement | |
, t = this._self._c || e; | |
return t("div", { | |
staticClass: "reader__container__progress_bar__full" | |
}, [t("div", { | |
staticClass: "reader__container__progress_bar__current_progress", | |
style: { | |
width: this.progressWidth | |
} | |
}, [t("transition", { | |
attrs: { | |
name: "fade" | |
} | |
}, [this.displayPin ? t("div", { | |
staticClass: "reader__pin-icon" | |
}, [t("div", { | |
staticClass: "reader__pin-icon__text" | |
}, [this._v(this._s(this.currentChapter))])]) : this._e()])], 1)]) | |
} | |
), [], !1, null, null, null).exports | |
, y = n(5); | |
new a.a; | |
r.a.on("reader:playing-chapter-audio", (function(e) { | |
r.a.track("body-20180108-reader_audio", "2-play", e) | |
} | |
)), | |
r.a.on("reader:audio-ended", (function() { | |
r.a.emit("reader:go_to_next_chapter") | |
} | |
)), | |
r.a.on("reader:chapter-shown", (function(e, t) { | |
i.a.book.hasAudio && o.a.books.chapterAudio(e, t).then((function(e) { | |
r.a.emit("reader:book:chapter:id:changed", t), | |
r.a.emit("reader:audio-url:changed", e), | |
r.a.track("body-20180108-reader_audio", "1-show", t) | |
} | |
)).catch((function() { | |
return Object(y.a)("Failed to fetch api.books.chapterAudio") | |
} | |
)) | |
} | |
)), | |
new a.a({ | |
data: { | |
bookTitle: i.a.book.bookTitle, | |
currentChapter: null, | |
totalChapters: null, | |
audioUrl: null, | |
chapterId: null | |
}, | |
el: "#reader__bottom_bar-v2", | |
components: { | |
ReaderAudio: h, | |
ProgressBarComponent: m | |
}, | |
methods: { | |
handleAudioPlayEvent: function() { | |
r.a.emit("reader:playing-chapter-audio", this.chapterId) | |
}, | |
handleAudioEndedEvent: function() { | |
r.a.emit("reader:audio-ended") | |
} | |
}, | |
created: function() { | |
for (var e = this, t = { | |
"reader:audio-url:changed": "audioUrl", | |
"reader:book:chapter:current:changed": "currentChapter", | |
"reader:book:chapter:id:changed": "chapterId", | |
"reader:book:chapters:total:changed": "totalChapters" | |
}, n = function(n) { | |
var i = Object.keys(t)[n]; | |
r.a.on(i, (function(n) { | |
e[t[i]] = n | |
} | |
)) | |
}, i = 0; i < Object.keys(t).length; i++) | |
n(i); | |
r.a.emit("reader:created") | |
}, | |
template: '\n <div class="reader">\n <progress-bar-component\n :current-chapter="currentChapter"\n :total-chapters="totalChapters" />\n <reader-audio\n v-if="audioUrl"\n :book-title="bookTitle"\n :current-chapter="currentChapter"\n :total-chapters="totalChapters"\n :audio-url="audioUrl"\n :handle-audio-play-event="handleAudioPlayEvent"\n :handle-audio-ended-event="handleAudioEndedEvent" />\n </div>\n ' | |
}); | |
n(80), | |
n(249) | |
}, | |
28: function(e, t) { | |
e.exports = function(e) { | |
return e.webpackPolyfill || (e.deprecate = function() {} | |
, | |
e.paths = [], | |
e.children || (e.children = []), | |
Object.defineProperty(e, "loaded", { | |
enumerable: !0, | |
get: function() { | |
return e.l | |
} | |
}), | |
Object.defineProperty(e, "id", { | |
enumerable: !0, | |
get: function() { | |
return e.i | |
} | |
}), | |
e.webpackPolyfill = 1), | |
e | |
} | |
}, | |
29: function(e, t) { | |
t.endianness = function() { | |
return "LE" | |
} | |
, | |
t.hostname = function() { | |
return "undefined" !== typeof location ? location.hostname : "" | |
} | |
, | |
t.loadavg = function() { | |
return [] | |
} | |
, | |
t.uptime = function() { | |
return 0 | |
} | |
, | |
t.freemem = function() { | |
return Number.MAX_VALUE | |
} | |
, | |
t.totalmem = function() { | |
return Number.MAX_VALUE | |
} | |
, | |
t.cpus = function() { | |
return [] | |
} | |
, | |
t.type = function() { | |
return "Browser" | |
} | |
, | |
t.release = function() { | |
return "undefined" !== typeof navigator ? navigator.appVersion : "" | |
} | |
, | |
t.networkInterfaces = t.getNetworkInterfaces = function() { | |
return {} | |
} | |
, | |
t.arch = function() { | |
return "javascript" | |
} | |
, | |
t.platform = function() { | |
return "browser" | |
} | |
, | |
t.tmpdir = t.tmpDir = function() { | |
return "/tmp" | |
} | |
, | |
t.EOL = "\n", | |
t.homedir = function() { | |
return "/" | |
} | |
}, | |
3: function(e, t, n) { | |
"use strict"; | |
function r(e, t, n, r, i, o, a, s) { | |
var c, u = "function" === typeof e ? e.options : e; | |
if (t && (u.render = t, | |
u.staticRenderFns = n, | |
u._compiled = !0), | |
r && (u.functional = !0), | |
o && (u._scopeId = "data-v-" + o), | |
a ? (c = function(e) { | |
(e = e || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || "undefined" === typeof __VUE_SSR_CONTEXT__ || (e = __VUE_SSR_CONTEXT__), | |
i && i.call(this, e), | |
e && e._registeredComponents && e._registeredComponents.add(a) | |
} | |
, | |
u._ssrRegister = c) : i && (c = s ? function() { | |
i.call(this, this.$root.$options.shadowRoot) | |
} | |
: i), | |
c) | |
if (u.functional) { | |
u._injectStyles = c; | |
var l = u.render; | |
u.render = function(e, t) { | |
return c.call(t), | |
l(e, t) | |
} | |
} else { | |
var f = u.beforeCreate; | |
u.beforeCreate = f ? [].concat(f, c) : [c] | |
} | |
return { | |
exports: e, | |
options: u | |
} | |
} | |
n.d(t, "a", (function() { | |
return r | |
} | |
)) | |
}, | |
30: function(e, t, n) { | |
"use strict"; | |
function r(e) { | |
return (r = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function(e) { | |
return typeof e | |
} | |
: function(e) { | |
return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
} | |
)(e) | |
} | |
var i, o = "object" === ("undefined" === typeof Reflect ? "undefined" : r(Reflect)) ? Reflect : null, a = o && "function" === typeof o.apply ? o.apply : function(e, t, n) { | |
return Function.prototype.apply.call(e, t, n) | |
} | |
; | |
i = o && "function" === typeof o.ownKeys ? o.ownKeys : Object.getOwnPropertySymbols ? function(e) { | |
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)) | |
} | |
: function(e) { | |
return Object.getOwnPropertyNames(e) | |
} | |
; | |
var s = Number.isNaN || function(e) { | |
return e !== e | |
} | |
; | |
function c() { | |
c.init.call(this) | |
} | |
e.exports = c, | |
c.EventEmitter = c, | |
c.prototype._events = void 0, | |
c.prototype._eventsCount = 0, | |
c.prototype._maxListeners = void 0; | |
var u = 10; | |
function l(e) { | |
return void 0 === e._maxListeners ? c.defaultMaxListeners : e._maxListeners | |
} | |
function f(e, t, n, i) { | |
var o, a, s, c; | |
if ("function" !== typeof n) | |
throw new TypeError('The "listener" argument must be of type Function. Received type ' + r(n)); | |
if (void 0 === (a = e._events) ? (a = e._events = Object.create(null), | |
e._eventsCount = 0) : (void 0 !== a.newListener && (e.emit("newListener", t, n.listener ? n.listener : n), | |
a = e._events), | |
s = a[t]), | |
void 0 === s) | |
s = a[t] = n, | |
++e._eventsCount; | |
else if ("function" === typeof s ? s = a[t] = i ? [n, s] : [s, n] : i ? s.unshift(n) : s.push(n), | |
(o = l(e)) > 0 && s.length > o && !s.warned) { | |
s.warned = !0; | |
var u = new Error("Possible EventEmitter memory leak detected. " + s.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit"); | |
u.name = "MaxListenersExceededWarning", | |
u.emitter = e, | |
u.type = t, | |
u.count = s.length, | |
c = u, | |
console && console.warn && console.warn(c) | |
} | |
return e | |
} | |
function d() { | |
for (var e = [], t = 0; t < arguments.length; t++) | |
e.push(arguments[t]); | |
this.fired || (this.target.removeListener(this.type, this.wrapFn), | |
this.fired = !0, | |
a(this.listener, this.target, e)) | |
} | |
function p(e, t, n) { | |
var r = { | |
fired: !1, | |
wrapFn: void 0, | |
target: e, | |
type: t, | |
listener: n | |
} | |
, i = d.bind(r); | |
return i.listener = n, | |
r.wrapFn = i, | |
i | |
} | |
function h(e, t, n) { | |
var r = e._events; | |
if (void 0 === r) | |
return []; | |
var i = r[t]; | |
return void 0 === i ? [] : "function" === typeof i ? n ? [i.listener || i] : [i] : n ? function(e) { | |
for (var t = new Array(e.length), n = 0; n < t.length; ++n) | |
t[n] = e[n].listener || e[n]; | |
return t | |
}(i) : m(i, i.length) | |
} | |
function v(e) { | |
var t = this._events; | |
if (void 0 !== t) { | |
var n = t[e]; | |
if ("function" === typeof n) | |
return 1; | |
if (void 0 !== n) | |
return n.length | |
} | |
return 0 | |
} | |
function m(e, t) { | |
for (var n = new Array(t), r = 0; r < t; ++r) | |
n[r] = e[r]; | |
return n | |
} | |
Object.defineProperty(c, "defaultMaxListeners", { | |
enumerable: !0, | |
get: function() { | |
return u | |
}, | |
set: function(e) { | |
if ("number" !== typeof e || e < 0 || s(e)) | |
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + "."); | |
u = e | |
} | |
}), | |
c.init = function() { | |
void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events || (this._events = Object.create(null), | |
this._eventsCount = 0), | |
this._maxListeners = this._maxListeners || void 0 | |
} | |
, | |
c.prototype.setMaxListeners = function(e) { | |
if ("number" !== typeof e || e < 0 || s(e)) | |
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + "."); | |
return this._maxListeners = e, | |
this | |
} | |
, | |
c.prototype.getMaxListeners = function() { | |
return l(this) | |
} | |
, | |
c.prototype.emit = function(e) { | |
for (var t = [], n = 1; n < arguments.length; n++) | |
t.push(arguments[n]); | |
var r = "error" === e | |
, i = this._events; | |
if (void 0 !== i) | |
r = r && void 0 === i.error; | |
else if (!r) | |
return !1; | |
if (r) { | |
var o; | |
if (t.length > 0 && (o = t[0]), | |
o instanceof Error) | |
throw o; | |
var s = new Error("Unhandled error." + (o ? " (" + o.message + ")" : "")); | |
throw s.context = o, | |
s | |
} | |
var c = i[e]; | |
if (void 0 === c) | |
return !1; | |
if ("function" === typeof c) | |
a(c, this, t); | |
else { | |
var u = c.length | |
, l = m(c, u); | |
for (n = 0; n < u; ++n) | |
a(l[n], this, t) | |
} | |
return !0 | |
} | |
, | |
c.prototype.addListener = function(e, t) { | |
return f(this, e, t, !1) | |
} | |
, | |
c.prototype.on = c.prototype.addListener, | |
c.prototype.prependListener = function(e, t) { | |
return f(this, e, t, !0) | |
} | |
, | |
c.prototype.once = function(e, t) { | |
if ("function" !== typeof t) | |
throw new TypeError('The "listener" argument must be of type Function. Received type ' + r(t)); | |
return this.on(e, p(this, e, t)), | |
this | |
} | |
, | |
c.prototype.prependOnceListener = function(e, t) { | |
if ("function" !== typeof t) | |
throw new TypeError('The "listener" argument must be of type Function. Received type ' + r(t)); | |
return this.prependListener(e, p(this, e, t)), | |
this | |
} | |
, | |
c.prototype.removeListener = function(e, t) { | |
var n, i, o, a, s; | |
if ("function" !== typeof t) | |
throw new TypeError('The "listener" argument must be of type Function. Received type ' + r(t)); | |
if (void 0 === (i = this._events)) | |
return this; | |
if (void 0 === (n = i[e])) | |
return this; | |
if (n === t || n.listener === t) | |
0 === --this._eventsCount ? this._events = Object.create(null) : (delete i[e], | |
i.removeListener && this.emit("removeListener", e, n.listener || t)); | |
else if ("function" !== typeof n) { | |
for (o = -1, | |
a = n.length - 1; a >= 0; a--) | |
if (n[a] === t || n[a].listener === t) { | |
s = n[a].listener, | |
o = a; | |
break | |
} | |
if (o < 0) | |
return this; | |
0 === o ? n.shift() : function(e, t) { | |
for (; t + 1 < e.length; t++) | |
e[t] = e[t + 1]; | |
e.pop() | |
}(n, o), | |
1 === n.length && (i[e] = n[0]), | |
void 0 !== i.removeListener && this.emit("removeListener", e, s || t) | |
} | |
return this | |
} | |
, | |
c.prototype.off = c.prototype.removeListener, | |
c.prototype.removeAllListeners = function(e) { | |
var t, n, r; | |
if (void 0 === (n = this._events)) | |
return this; | |
if (void 0 === n.removeListener) | |
return 0 === arguments.length ? (this._events = Object.create(null), | |
this._eventsCount = 0) : void 0 !== n[e] && (0 === --this._eventsCount ? this._events = Object.create(null) : delete n[e]), | |
this; | |
if (0 === arguments.length) { | |
var i, o = Object.keys(n); | |
for (r = 0; r < o.length; ++r) | |
"removeListener" !== (i = o[r]) && this.removeAllListeners(i); | |
return this.removeAllListeners("removeListener"), | |
this._events = Object.create(null), | |
this._eventsCount = 0, | |
this | |
} | |
if ("function" === typeof (t = n[e])) | |
this.removeListener(e, t); | |
else if (void 0 !== t) | |
for (r = t.length - 1; r >= 0; r--) | |
this.removeListener(e, t[r]); | |
return this | |
} | |
, | |
c.prototype.listeners = function(e) { | |
return h(this, e, !0) | |
} | |
, | |
c.prototype.rawListeners = function(e) { | |
return h(this, e, !1) | |
} | |
, | |
c.listenerCount = function(e, t) { | |
return "function" === typeof e.listenerCount ? e.listenerCount(t) : v.call(e, t) | |
} | |
, | |
c.prototype.listenerCount = v, | |
c.prototype.eventNames = function() { | |
return this._eventsCount > 0 ? i(this._events) : [] | |
} | |
}, | |
31: function(e, t, n) { | |
(function(e, r) { | |
var i, o, a, s; | |
function c(e) { | |
return (c = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function(e) { | |
return typeof e | |
} | |
: function(e) { | |
return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
} | |
)(e) | |
} | |
"undefined" !== typeof self && self, | |
s = function(t, n) { | |
return function(e) { | |
var t = {}; | |
function n(r) { | |
if (t[r]) | |
return t[r].exports; | |
var i = t[r] = { | |
i: r, | |
l: !1, | |
exports: {} | |
}; | |
return e[r].call(i.exports, i, i.exports, n), | |
i.l = !0, | |
i.exports | |
} | |
return n.m = e, | |
n.c = t, | |
n.d = function(e, t, r) { | |
n.o(e, t) || Object.defineProperty(e, t, { | |
enumerable: !0, | |
get: r | |
}) | |
} | |
, | |
n.r = function(e) { | |
"undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { | |
value: "Module" | |
}), | |
Object.defineProperty(e, "__esModule", { | |
value: !0 | |
}) | |
} | |
, | |
n.t = function(e, t) { | |
if (1 & t && (e = n(e)), | |
8 & t) | |
return e; | |
if (4 & t && "object" === c(e) && e && e.__esModule) | |
return e; | |
var r = Object.create(null); | |
if (n.r(r), | |
Object.defineProperty(r, "default", { | |
enumerable: !0, | |
value: e | |
}), | |
2 & t && "string" != typeof e) | |
for (var i in e) | |
n.d(r, i, function(t) { | |
return e[t] | |
} | |
.bind(null, i)); | |
return r | |
} | |
, | |
n.n = function(e) { | |
var t = e && e.__esModule ? function() { | |
return e.default | |
} | |
: function() { | |
return e | |
} | |
; | |
return n.d(t, "a", t), | |
t | |
} | |
, | |
n.o = function(e, t) { | |
return Object.prototype.hasOwnProperty.call(e, t) | |
} | |
, | |
n.p = "", | |
n(n.s = 0) | |
}({ | |
"./node_modules/error-stack-parser/error-stack-parser.js": function(e, t, n) { | |
!function(t, r) { | |
"use strict"; | |
e.exports = r(n("./node_modules/stackframe/stackframe.js")) | |
}(0, (function(e) { | |
"use strict"; | |
var t = /(^|@)\S+\:\d+/ | |
, n = /^\s*at .*(\S+\:\d+|\(native\))/m | |
, r = /^(eval@)?(\[native code\])?$/; | |
return { | |
parse: function(e) { | |
if ("undefined" !== typeof e.stacktrace || "undefined" !== typeof e["opera#sourceloc"]) | |
return this.parseOpera(e); | |
if (e.stack && e.stack.match(n)) | |
return this.parseV8OrIE(e); | |
if (e.stack) | |
return this.parseFFOrSafari(e); | |
throw new Error("Cannot parse given Error object") | |
}, | |
extractLocation: function(e) { | |
if (-1 === e.indexOf(":")) | |
return [e]; | |
var t = /(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g, "")); | |
return [t[1], t[2] || void 0, t[3] || void 0] | |
}, | |
parseV8OrIE: function(t) { | |
return t.stack.split("\n").filter((function(e) { | |
return !!e.match(n) | |
} | |
), this).map((function(t) { | |
t.indexOf("(eval ") > -1 && (t = t.replace(/eval code/g, "eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g, "")); | |
var n = t.replace(/^\s+/, "").replace(/\(eval code/g, "(").split(/\s+/).slice(1) | |
, r = this.extractLocation(n.pop()) | |
, i = n.join(" ") || void 0 | |
, o = ["eval", "<anonymous>"].indexOf(r[0]) > -1 ? void 0 : r[0]; | |
return new e({ | |
functionName: i, | |
fileName: o, | |
lineNumber: r[1], | |
columnNumber: r[2], | |
source: t | |
}) | |
} | |
), this) | |
}, | |
parseFFOrSafari: function(t) { | |
return t.stack.split("\n").filter((function(e) { | |
return !e.match(r) | |
} | |
), this).map((function(t) { | |
if (t.indexOf(" > eval") > -1 && (t = t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g, ":$1")), | |
-1 === t.indexOf("@") && -1 === t.indexOf(":")) | |
return new e({ | |
functionName: t | |
}); | |
var n = /((.*".+"[^@]*)?[^@]*)(?:@)/ | |
, r = t.match(n) | |
, i = r && r[1] ? r[1] : void 0 | |
, o = this.extractLocation(t.replace(n, "")); | |
return new e({ | |
functionName: i, | |
fileName: o[0], | |
lineNumber: o[1], | |
columnNumber: o[2], | |
source: t | |
}) | |
} | |
), this) | |
}, | |
parseOpera: function(e) { | |
return !e.stacktrace || e.message.indexOf("\n") > -1 && e.message.split("\n").length > e.stacktrace.split("\n").length ? this.parseOpera9(e) : e.stack ? this.parseOpera11(e) : this.parseOpera10(e) | |
}, | |
parseOpera9: function(t) { | |
for (var n = /Line (\d+).*script (?:in )?(\S+)/i, r = t.message.split("\n"), i = [], o = 2, a = r.length; o < a; o += 2) { | |
var s = n.exec(r[o]); | |
s && i.push(new e({ | |
fileName: s[2], | |
lineNumber: s[1], | |
source: r[o] | |
})) | |
} | |
return i | |
}, | |
parseOpera10: function(t) { | |
for (var n = /Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i, r = t.stacktrace.split("\n"), i = [], o = 0, a = r.length; o < a; o += 2) { | |
var s = n.exec(r[o]); | |
s && i.push(new e({ | |
functionName: s[3] || void 0, | |
fileName: s[2], | |
lineNumber: s[1], | |
source: r[o] | |
})) | |
} | |
return i | |
}, | |
parseOpera11: function(n) { | |
return n.stack.split("\n").filter((function(e) { | |
return !!e.match(t) && !e.match(/^Error created at/) | |
} | |
), this).map((function(t) { | |
var n, r = t.split("@"), i = this.extractLocation(r.pop()), o = r.shift() || "", a = o.replace(/<anonymous function(: (\w+))?>/, "$2").replace(/\([^\)]*\)/g, "") || void 0; | |
o.match(/\(([^\)]*)\)/) && (n = o.replace(/^[^\(]+\(([^\)]*)\)$/, "$1")); | |
var s = void 0 === n || "[arguments not available]" === n ? void 0 : n.split(","); | |
return new e({ | |
functionName: a, | |
args: s, | |
fileName: i[0], | |
lineNumber: i[1], | |
columnNumber: i[2], | |
source: t | |
}) | |
} | |
), this) | |
} | |
} | |
} | |
)) | |
}, | |
"./node_modules/promise-polyfill/src/finally.js": function(e, t, n) { | |
"use strict"; | |
n.r(t), | |
t.default = function(e) { | |
var t = this.constructor; | |
return this.then((function(n) { | |
return t.resolve(e()).then((function() { | |
return n | |
} | |
)) | |
} | |
), (function(n) { | |
return t.resolve(e()).then((function() { | |
return t.reject(n) | |
} | |
)) | |
} | |
)) | |
} | |
}, | |
"./node_modules/promise-polyfill/src/index.js": function(e, t, n) { | |
"use strict"; | |
n.r(t), | |
function(e) { | |
var r = n("./node_modules/promise-polyfill/src/finally.js") | |
, i = setTimeout; | |
function o() {} | |
function a(e) { | |
if (!(this instanceof a)) | |
throw new TypeError("Promises must be constructed via new"); | |
if ("function" !== typeof e) | |
throw new TypeError("not a function"); | |
this._state = 0, | |
this._handled = !1, | |
this._value = void 0, | |
this._deferreds = [], | |
p(e, this) | |
} | |
function s(e, t) { | |
for (; 3 === e._state; ) | |
e = e._value; | |
0 !== e._state ? (e._handled = !0, | |
a._immediateFn((function() { | |
var n = 1 === e._state ? t.onFulfilled : t.onRejected; | |
if (null !== n) { | |
var r; | |
try { | |
r = n(e._value) | |
} catch (i) { | |
return void l(t.promise, i) | |
} | |
u(t.promise, r) | |
} else | |
(1 === e._state ? u : l)(t.promise, e._value) | |
} | |
))) : e._deferreds.push(t) | |
} | |
function u(e, t) { | |
try { | |
if (t === e) | |
throw new TypeError("A promise cannot be resolved with itself."); | |
if (t && ("object" === c(t) || "function" === typeof t)) { | |
var n = t.then; | |
if (t instanceof a) | |
return e._state = 3, | |
e._value = t, | |
void f(e); | |
if ("function" === typeof n) | |
return void p((r = n, | |
i = t, | |
function() { | |
r.apply(i, arguments) | |
} | |
), e) | |
} | |
e._state = 1, | |
e._value = t, | |
f(e) | |
} catch (o) { | |
l(e, o) | |
} | |
var r, i | |
} | |
function l(e, t) { | |
e._state = 2, | |
e._value = t, | |
f(e) | |
} | |
function f(e) { | |
2 === e._state && 0 === e._deferreds.length && a._immediateFn((function() { | |
e._handled || a._unhandledRejectionFn(e._value) | |
} | |
)); | |
for (var t = 0, n = e._deferreds.length; t < n; t++) | |
s(e, e._deferreds[t]); | |
e._deferreds = null | |
} | |
function d(e, t, n) { | |
this.onFulfilled = "function" === typeof e ? e : null, | |
this.onRejected = "function" === typeof t ? t : null, | |
this.promise = n | |
} | |
function p(e, t) { | |
var n = !1; | |
try { | |
e((function(e) { | |
n || (n = !0, | |
u(t, e)) | |
} | |
), (function(e) { | |
n || (n = !0, | |
l(t, e)) | |
} | |
)) | |
} catch (r) { | |
if (n) | |
return; | |
n = !0, | |
l(t, r) | |
} | |
} | |
a.prototype.catch = function(e) { | |
return this.then(null, e) | |
} | |
, | |
a.prototype.then = function(e, t) { | |
var n = new this.constructor(o); | |
return s(this, new d(e,t,n)), | |
n | |
} | |
, | |
a.prototype.finally = r.default, | |
a.all = function(e) { | |
return new a((function(t, n) { | |
if (!e || "undefined" === typeof e.length) | |
throw new TypeError("Promise.all accepts an array"); | |
var r = Array.prototype.slice.call(e); | |
if (0 === r.length) | |
return t([]); | |
var i = r.length; | |
function o(e, a) { | |
try { | |
if (a && ("object" === c(a) || "function" === typeof a)) { | |
var s = a.then; | |
if ("function" === typeof s) | |
return void s.call(a, (function(t) { | |
o(e, t) | |
} | |
), n) | |
} | |
r[e] = a, | |
0 === --i && t(r) | |
} catch (u) { | |
n(u) | |
} | |
} | |
for (var a = 0; a < r.length; a++) | |
o(a, r[a]) | |
} | |
)) | |
} | |
, | |
a.resolve = function(e) { | |
return e && "object" === c(e) && e.constructor === a ? e : new a((function(t) { | |
t(e) | |
} | |
)) | |
} | |
, | |
a.reject = function(e) { | |
return new a((function(t, n) { | |
n(e) | |
} | |
)) | |
} | |
, | |
a.race = function(e) { | |
return new a((function(t, n) { | |
for (var r = 0, i = e.length; r < i; r++) | |
e[r].then(t, n) | |
} | |
)) | |
} | |
, | |
a._immediateFn = "function" === typeof e && function(t) { | |
e(t) | |
} | |
|| function(e) { | |
i(e, 0) | |
} | |
, | |
a._unhandledRejectionFn = function(e) { | |
"undefined" !== typeof console && console && console.warn("Possible Unhandled Promise Rejection:", e) | |
} | |
, | |
t.default = a | |
} | |
.call(this, n("./node_modules/timers-browserify/main.js").setImmediate) | |
}, | |
"./node_modules/promise-polyfill/src/polyfill.js": function(e, t, n) { | |
"use strict"; | |
n.r(t), | |
function(e) { | |
var t = n("./node_modules/promise-polyfill/src/index.js") | |
, r = n("./node_modules/promise-polyfill/src/finally.js") | |
, i = function() { | |
if ("undefined" !== typeof self) | |
return self; | |
if ("undefined" !== typeof window) | |
return window; | |
if ("undefined" !== typeof e) | |
return e; | |
throw new Error("unable to locate global object") | |
}(); | |
"Promise"in i ? i.Promise.prototype.finally || (i.Promise.prototype.finally = r.default) : i.Promise = t.default | |
} | |
.call(this, n("./node_modules/webpack/buildin/global.js")) | |
}, | |
"./node_modules/setimmediate/setImmediate.js": function(t, n, r) { | |
(function(t) { | |
!function(t, n) { | |
"use strict"; | |
if (!t.setImmediate) { | |
var r, i, o, a, s, c = 1, u = {}, l = !1, f = t.document, d = Object.getPrototypeOf && Object.getPrototypeOf(t); | |
d = d && d.setTimeout ? d : t, | |
"[object process]" === {}.toString.call(t.process) ? r = function(t) { | |
e.nextTick((function() { | |
h(t) | |
} | |
)) | |
} | |
: function() { | |
if (t.postMessage && !t.importScripts) { | |
var e = !0 | |
, n = t.onmessage; | |
return t.onmessage = function() { | |
e = !1 | |
} | |
, | |
t.postMessage("", "*"), | |
t.onmessage = n, | |
e | |
} | |
}() ? (a = "setImmediate$" + Math.random() + "$", | |
s = function(e) { | |
e.source === t && "string" === typeof e.data && 0 === e.data.indexOf(a) && h(+e.data.slice(a.length)) | |
} | |
, | |
t.addEventListener ? t.addEventListener("message", s, !1) : t.attachEvent("onmessage", s), | |
r = function(e) { | |
t.postMessage(a + e, "*") | |
} | |
) : t.MessageChannel ? ((o = new MessageChannel).port1.onmessage = function(e) { | |
h(e.data) | |
} | |
, | |
r = function(e) { | |
o.port2.postMessage(e) | |
} | |
) : f && "onreadystatechange"in f.createElement("script") ? (i = f.documentElement, | |
r = function(e) { | |
var t = f.createElement("script"); | |
t.onreadystatechange = function() { | |
h(e), | |
t.onreadystatechange = null, | |
i.removeChild(t), | |
t = null | |
} | |
, | |
i.appendChild(t) | |
} | |
) : r = function(e) { | |
setTimeout(h, 0, e) | |
} | |
, | |
d.setImmediate = function(e) { | |
"function" !== typeof e && (e = new Function("" + e)); | |
for (var t = new Array(arguments.length - 1), n = 0; n < t.length; n++) | |
t[n] = arguments[n + 1]; | |
var i = { | |
callback: e, | |
args: t | |
}; | |
return u[c] = i, | |
r(c), | |
c++ | |
} | |
, | |
d.clearImmediate = p | |
} | |
function p(e) { | |
delete u[e] | |
} | |
function h(e) { | |
if (l) | |
setTimeout(h, 0, e); | |
else { | |
var t = u[e]; | |
if (t) { | |
l = !0; | |
try { | |
!function(e) { | |
var t = e.callback | |
, r = e.args; | |
switch (r.length) { | |
case 0: | |
t(); | |
break; | |
case 1: | |
t(r[0]); | |
break; | |
case 2: | |
t(r[0], r[1]); | |
break; | |
case 3: | |
t(r[0], r[1], r[2]); | |
break; | |
default: | |
t.apply(n, r) | |
} | |
}(t) | |
} finally { | |
p(e), | |
l = !1 | |
} | |
} | |
} | |
} | |
}("undefined" === typeof self ? "undefined" === typeof t ? this : t : self) | |
} | |
).call(this, r("./node_modules/webpack/buildin/global.js")) | |
}, | |
"./node_modules/stackframe/stackframe.js": function(e, t, n) { | |
!function(t, n) { | |
"use strict"; | |
e.exports = n() | |
}(0, (function() { | |
"use strict"; | |
function e(e) { | |
return !isNaN(parseFloat(e)) && isFinite(e) | |
} | |
function t(e) { | |
return e.charAt(0).toUpperCase() + e.substring(1) | |
} | |
function n(e) { | |
return function() { | |
return this[e] | |
} | |
} | |
var r = ["isConstructor", "isEval", "isNative", "isToplevel"] | |
, i = ["columnNumber", "lineNumber"] | |
, o = ["fileName", "functionName", "source"] | |
, a = r.concat(i, o, ["args"]); | |
function s(e) { | |
if (e instanceof Object) | |
for (var n = 0; n < a.length; n++) | |
e.hasOwnProperty(a[n]) && void 0 !== e[a[n]] && this["set" + t(a[n])](e[a[n]]) | |
} | |
s.prototype = { | |
getArgs: function() { | |
return this.args | |
}, | |
setArgs: function(e) { | |
if ("[object Array]" !== Object.prototype.toString.call(e)) | |
throw new TypeError("Args must be an Array"); | |
this.args = e | |
}, | |
getEvalOrigin: function() { | |
return this.evalOrigin | |
}, | |
setEvalOrigin: function(e) { | |
if (e instanceof s) | |
this.evalOrigin = e; | |
else { | |
if (!(e instanceof Object)) | |
throw new TypeError("Eval Origin must be an Object or StackFrame"); | |
this.evalOrigin = new s(e) | |
} | |
}, | |
toString: function() { | |
return (this.getFunctionName() || "{anonymous}") + "(" + (this.getArgs() || []).join(",") + ")" + (this.getFileName() ? "@" + this.getFileName() : "") + (e(this.getLineNumber()) ? ":" + this.getLineNumber() : "") + (e(this.getColumnNumber()) ? ":" + this.getColumnNumber() : "") | |
} | |
}; | |
for (var c = 0; c < r.length; c++) | |
s.prototype["get" + t(r[c])] = n(r[c]), | |
s.prototype["set" + t(r[c])] = function(e) { | |
return function(t) { | |
this[e] = Boolean(t) | |
} | |
}(r[c]); | |
for (var u = 0; u < i.length; u++) | |
s.prototype["get" + t(i[u])] = n(i[u]), | |
s.prototype["set" + t(i[u])] = function(t) { | |
return function(n) { | |
if (!e(n)) | |
throw new TypeError(t + " must be a Number"); | |
this[t] = Number(n) | |
} | |
}(i[u]); | |
for (var l = 0; l < o.length; l++) | |
s.prototype["get" + t(o[l])] = n(o[l]), | |
s.prototype["set" + t(o[l])] = function(e) { | |
return function(t) { | |
this[e] = String(t) | |
} | |
}(o[l]); | |
return s | |
} | |
)) | |
}, | |
"./node_modules/timers-browserify/main.js": function(e, t, n) { | |
(function(e) { | |
var r = "undefined" !== typeof e && e || "undefined" !== typeof self && self || window | |
, i = Function.prototype.apply; | |
function o(e, t) { | |
this._id = e, | |
this._clearFn = t | |
} | |
t.setTimeout = function() { | |
return new o(i.call(setTimeout, r, arguments),clearTimeout) | |
} | |
, | |
t.setInterval = function() { | |
return new o(i.call(setInterval, r, arguments),clearInterval) | |
} | |
, | |
t.clearTimeout = t.clearInterval = function(e) { | |
e && e.close() | |
} | |
, | |
o.prototype.unref = o.prototype.ref = function() {} | |
, | |
o.prototype.close = function() { | |
this._clearFn.call(r, this._id) | |
} | |
, | |
t.enroll = function(e, t) { | |
clearTimeout(e._idleTimeoutId), | |
e._idleTimeout = t | |
} | |
, | |
t.unenroll = function(e) { | |
clearTimeout(e._idleTimeoutId), | |
e._idleTimeout = -1 | |
} | |
, | |
t._unrefActive = t.active = function(e) { | |
clearTimeout(e._idleTimeoutId); | |
var t = e._idleTimeout; | |
t >= 0 && (e._idleTimeoutId = setTimeout((function() { | |
e._onTimeout && e._onTimeout() | |
} | |
), t)) | |
} | |
, | |
n("./node_modules/setimmediate/setImmediate.js"), | |
t.setImmediate = "undefined" !== typeof self && self.setImmediate || "undefined" !== typeof e && e.setImmediate || this && this.setImmediate, | |
t.clearImmediate = "undefined" !== typeof self && self.clearImmediate || "undefined" !== typeof e && e.clearImmediate || this && this.clearImmediate | |
} | |
).call(this, n("./node_modules/webpack/buildin/global.js")) | |
}, | |
"./node_modules/webpack/buildin/global.js": function(e, t) { | |
var n; | |
n = function() { | |
return this | |
}(); | |
try { | |
n = n || new Function("return this")() | |
} catch (r) { | |
"object" === ("undefined" === typeof window ? "undefined" : c(window)) && (n = window) | |
} | |
e.exports = n | |
}, | |
"./src/client.ts": function(t, n, r) { | |
"use strict"; | |
var i = this && this.__assign || function() { | |
return (i = Object.assign || function(e) { | |
for (var t, n = 1, r = arguments.length; n < r; n++) | |
for (var i in t = arguments[n]) | |
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); | |
return e | |
} | |
).apply(this, arguments) | |
} | |
, o = this && this.__importDefault || function(e) { | |
return e && e.__esModule ? e : { | |
default: e | |
} | |
} | |
; | |
r("./node_modules/promise-polyfill/src/polyfill.js"); | |
var a = o(r("./src/jsonify_notice.ts")) | |
, s = o(r("./src/processor/stacktracejs.ts")) | |
, u = o(r("./src/filter/angular_message.ts")) | |
, l = o(r("./src/filter/debounce.ts")) | |
, f = o(r("./src/filter/ignore.ts")) | |
, d = o(r("./src/filter/node.ts")) | |
, p = o(r("./src/filter/uncaught_message.ts")) | |
, h = o(r("./src/filter/window.ts")) | |
, v = r("./src/http_req/index.ts") | |
, m = r("./src/historian.ts") | |
, y = r("./src/routes.ts") | |
, g = function() { | |
function t(t) { | |
var n = this; | |
if (this.filters = [], | |
this.offline = !1, | |
this.todo = [], | |
this.onClose = [], | |
!t.projectId || !t.projectKey) | |
throw new Error("airbrake: projectId and projectKey are required"); | |
this.opts = t, | |
this.opts.host = this.opts.host || "https://api.airbrake.io", | |
this.opts.timeout = this.opts.timeout || 1e4, | |
this.opts.keysBlacklist = this.opts.keysBlacklist || [/password/, /secret/], | |
this.url = this.opts.host + "/api/v3/projects/" + this.opts.projectId + "/notices?key=" + this.opts.projectKey, | |
this.processor = this.opts.processor || s.default, | |
this.requester = v.makeRequester(this.opts), | |
this.addFilter(f.default), | |
this.addFilter(l.default()), | |
this.addFilter(p.default), | |
this.addFilter(u.default), | |
this.opts.environment || "undefined" === typeof e || (this.opts.environment = "production"), | |
this.opts.environment && this.addFilter((function(e) { | |
return e.context.environment = n.opts.environment, | |
e | |
} | |
)), | |
"object" === ("undefined" === typeof window ? "undefined" : c(window)) ? (this.addFilter(h.default), | |
window.addEventListener && (this.onOnline = this.onOnline.bind(this), | |
window.addEventListener("online", this.onOnline), | |
this.onOffline = this.onOffline.bind(this), | |
window.addEventListener("offline", this.onOffline), | |
this.onUnhandledrejection = this.onUnhandledrejection.bind(this), | |
window.addEventListener("unhandledrejection", this.onUnhandledrejection), | |
this.onClose.push((function() { | |
window.removeEventListener("online", n.onOnline), | |
window.removeEventListener("offline", n.onOffline), | |
window.removeEventListener("unhandledrejection", n.onUnhandledrejection) | |
} | |
)))) : this.addFilter(d.default); | |
var r, i = t.instrumentation || {}; | |
void 0 === c(i.console) && (i.console = !((r = t.environment) && r.startsWith && r.startsWith("dev"))), | |
this.historian = m.Historian.instance(i), | |
this.historian.registerNotifier(this) | |
} | |
return t.prototype.close = function() { | |
for (var e = 0, t = this.onClose; e < t.length; e++) | |
(0, | |
t[e])(); | |
this.historian.unregisterNotifier(this) | |
} | |
, | |
t.prototype.addFilter = function(e) { | |
this.filters.push(e) | |
} | |
, | |
t.prototype.notify = function(e) { | |
var t = this | |
, n = { | |
id: "", | |
errors: [], | |
context: i({ | |
severity: "error" | |
}, e.context), | |
params: e.params || {}, | |
environment: e.environment || {}, | |
session: e.session || {} | |
}; | |
if ("object" === c(e) && void 0 !== e.error || (e = { | |
error: e | |
}), | |
!e.error) | |
return n.error = new Error("airbrake: got err=" + JSON.stringify(e.error) + ", wanted an Error"), | |
Promise.resolve(n); | |
if (this.opts.ignoreWindowError && e.context && e.context.windowError) | |
return n.error = new Error("airbrake: window error is ignored"), | |
Promise.resolve(n); | |
if (this.offline) | |
return new Promise((function(r, i) { | |
for (t.todo.push({ | |
err: e, | |
resolve: r, | |
reject: i | |
}); t.todo.length > 100; ) { | |
var o = t.todo.shift(); | |
if (void 0 === o) | |
break; | |
n.error = new Error("airbrake: offline queue is too large"), | |
o.resolve(n) | |
} | |
} | |
)); | |
var r = this.historian.getHistory(); | |
r.length > 0 && (n.context.history = r); | |
var o = this.processor(e.error); | |
n.errors.push(o); | |
for (var a = 0, s = this.filters; a < s.length; a++) { | |
var u = (0, | |
s[a])(n); | |
if (null === u) | |
return n.error = new Error("airbrake: error is filtered"), | |
Promise.resolve(n); | |
n = u | |
} | |
return n.context || (n.context = {}), | |
n.context.language = "JavaScript", | |
n.context.notifier = { | |
name: "airbrake-js", | |
version: "1.6.8", | |
url: "https://github.com/airbrake/airbrake-js" | |
}, | |
this.sendNotice(n) | |
} | |
, | |
t.prototype.sendNotice = function(e) { | |
var t = a.default(e, { | |
keysBlacklist: this.opts.keysBlacklist | |
}); | |
if (this.opts.reporter) { | |
if ("function" === typeof this.opts.reporter) | |
return this.opts.reporter(e); | |
console.warn("airbrake: options.reporter must be a function") | |
} | |
var n = { | |
method: "POST", | |
url: this.url, | |
body: t | |
}; | |
return this.requester(n).then((function(t) { | |
return e.id = t.json.id, | |
e | |
} | |
)).catch((function(t) { | |
return e.error = t, | |
e | |
} | |
)) | |
} | |
, | |
t.prototype.wrap = function(e, t) { | |
if (void 0 === t && (t = []), | |
e._airbrake) | |
return e; | |
var n = this | |
, r = function() { | |
var t = Array.prototype.slice.call(arguments) | |
, r = n.wrapArguments(t); | |
try { | |
return e.apply(this, r) | |
} catch (i) { | |
throw n.notify({ | |
error: i, | |
params: { | |
arguments: t | |
} | |
}), | |
this.historian.ignoreNextWindowError(), | |
i | |
} | |
}; | |
for (var i in e) | |
e.hasOwnProperty(i) && (r[i] = e[i]); | |
for (var o = 0, a = t; o < a.length; o++) | |
i = a[o], | |
e.hasOwnProperty(i) && (r[i] = e[i]); | |
return r._airbrake = !0, | |
r.inner = e, | |
r | |
} | |
, | |
t.prototype.wrapArguments = function(e) { | |
for (var t = 0; t < e.length; t++) { | |
var n = e[t]; | |
"function" === typeof n && (e[t] = this.wrap(n)) | |
} | |
return e | |
} | |
, | |
t.prototype.call = function(e) { | |
for (var t = [], n = 1; n < arguments.length; n++) | |
t[n - 1] = arguments[n]; | |
var r = this.wrap(e); | |
return r.apply(this, Array.prototype.slice.call(arguments, 1)) | |
} | |
, | |
t.prototype.onerror = function() { | |
this.historian.onerror.apply(this.historian, arguments) | |
} | |
, | |
t.prototype.notifyRequest = function(e) { | |
this.opts.TDigest && (this.routes || (this.routes = new y.Routes(this.opts)), | |
this.routes.notifyRequest(e)) | |
} | |
, | |
t.prototype.onOnline = function() { | |
this.offline = !1; | |
for (var e = function(e) { | |
t.notify(e.err).then((function(t) { | |
e.resolve(t) | |
} | |
)) | |
}, t = this, n = 0, r = this.todo; n < r.length; n++) | |
e(r[n]); | |
this.todo = [] | |
} | |
, | |
t.prototype.onOffline = function() { | |
this.offline = !0 | |
} | |
, | |
t.prototype.onUnhandledrejection = function(e) { | |
var t = e.reason || e.detail && e.detail.reason; | |
if (t) { | |
var n = t.message || String(t); | |
n.indexOf && 0 === n.indexOf("airbrake: ") || this.notify(t) | |
} | |
} | |
, | |
t | |
}(); | |
t.exports = g | |
}, | |
"./src/filter/angular_message.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = new RegExp(["^", "\\[(\\$.+)\\]", "\\s", "([\\s\\S]+)", "$"].join("")); | |
t.default = function(e) { | |
var t = e.errors[0]; | |
if ("" !== t.type && "Error" !== t.type) | |
return e; | |
var n = t.message.match(r); | |
return null !== n && (t.type = n[1], | |
t.message = n[2]), | |
e | |
} | |
}, | |
"./src/filter/debounce.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), | |
t.default = function() { | |
var e, t; | |
return function(n) { | |
var r = JSON.stringify(n.errors); | |
return r === e ? null : (t && clearTimeout(t), | |
e = r, | |
t = setTimeout((function() { | |
e = "" | |
} | |
), 1e3), | |
n) | |
} | |
} | |
}, | |
"./src/filter/ignore.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = ["Script error", "Script error.", "InvalidAccessError"]; | |
t.default = function(e) { | |
var t = e.errors[0]; | |
return "" === t.type && -1 !== r.indexOf(t.message) ? null : t.backtrace && t.backtrace.length > 0 && "<anonymous>" === t.backtrace[0].file ? null : e | |
} | |
}, | |
"./src/filter/node.ts": function(t, n, r) { | |
"use strict"; | |
Object.defineProperty(n, "__esModule", { | |
value: !0 | |
}), | |
n.default = function(t) { | |
var n; | |
try { | |
n = r("os") | |
} catch (i) {} | |
return n && (t.context.os = n.type() + "/" + n.release(), | |
t.context.architecture = n.arch(), | |
t.context.hostname = n.hostname(), | |
t.params.os = { | |
homedir: n.homedir(), | |
uptime: n.uptime(), | |
freemem: n.freemem(), | |
totalmem: n.totalmem(), | |
loadavg: n.loadavg() | |
}), | |
e && (t.context.platform = e.platform, | |
t.context.rootDirectory || (t.context.rootDirectory = e.cwd()), | |
t.params.process = { | |
pid: e.pid, | |
cwd: e.cwd(), | |
execPath: e.execPath, | |
argv: e.argv | |
}, | |
["uptime", "cpuUsage", "memoryUsage"].map((function(n) { | |
e[n] && (t.params.process[n] = e[n]()) | |
} | |
))), | |
t | |
} | |
}, | |
"./src/filter/uncaught_message.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = new RegExp(["^", "Uncaught\\s", "(.+?)", ":\\s", "(.+)", "$"].join("")); | |
t.default = function(e) { | |
var t = e.errors[0]; | |
if ("" !== t.type && "Error" !== t.type) | |
return e; | |
var n = t.message.match(r); | |
return null !== n && (t.type = n[1], | |
t.message = n[2]), | |
e | |
} | |
}, | |
"./src/filter/window.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), | |
t.default = function(e) { | |
return window.navigator && window.navigator.userAgent && (e.context.userAgent = window.navigator.userAgent), | |
window.location && (e.context.url = String(window.location), | |
e.context.rootDirectory = window.location.protocol + "//" + window.location.host), | |
e | |
} | |
}, | |
"./src/historian.ts": function(t, n, r) { | |
"use strict"; | |
Object.defineProperty(n, "__esModule", { | |
value: !0 | |
}); | |
var i = r("./src/instrumentation/dom.ts") | |
, o = ["debug", "log", "info", "warn", "error"] | |
, a = function() { | |
function t(t) { | |
var n = this; | |
if (void 0 === t && (t = {}), | |
this.historyMaxLen = 20, | |
this.notifiers = [], | |
this.errors = [], | |
this.ignoreWindowError = 0, | |
this.history = [], | |
this.ignoreNextXHR = 0, | |
s(t.console) && "object" === ("undefined" === typeof console ? "undefined" : c(console)) && console.error && (this.consoleError = console.error), | |
"object" === ("undefined" === typeof window ? "undefined" : c(window))) { | |
if (s(t.onerror)) { | |
var r = this | |
, i = window.onerror; | |
window.onerror = function() { | |
i && i.apply(this, arguments), | |
r.onerror.apply(r, arguments) | |
} | |
} | |
this.domEvents(), | |
s(t.fetch) && "function" === typeof fetch && this.instrumentFetch(), | |
s(t.history) && "object" === ("undefined" === typeof history ? "undefined" : c(history)) && this.location() | |
} | |
"undefined" === typeof window && "object" === ("undefined" === typeof e ? "undefined" : c(e)) && "function" === typeof e.on && (e.on("uncaughtException", (function(t) { | |
n.notify(t).then((function() { | |
1 === e.listeners("uncaughtException").length && (n.consoleError && n.consoleError("uncaught exception", t), | |
e.exit(1)) | |
} | |
)) | |
} | |
)), | |
e.on("unhandledRejection", (function(t, r) { | |
var i = t.message || String(t); | |
i.indexOf && 0 === i.indexOf("airbrake: ") || n.notify(t).then((function() { | |
1 === e.listeners("unhandledRejection").length && (n.consoleError && n.consoleError("unhandled rejection", t), | |
e.exit(1)) | |
} | |
)) | |
} | |
))), | |
s(t.console) && "object" === ("undefined" === typeof console ? "undefined" : c(console)) && this.console(), | |
s(t.xhr) && "undefined" !== typeof XMLHttpRequest && this.xhr() | |
} | |
return t.instance = function(e) { | |
return void 0 === e && (e = {}), | |
t._instance || (t._instance = new t(e)), | |
t._instance | |
} | |
, | |
t.prototype.registerNotifier = function(e) { | |
this.notifiers.push(e); | |
for (var t = 0, n = this.errors; t < n.length; t++) { | |
var r = n[t]; | |
this.notifyNotifiers(r) | |
} | |
this.errors = [] | |
} | |
, | |
t.prototype.unregisterNotifier = function(e) { | |
var t = this.notifiers.indexOf(e); | |
-1 !== t && this.notifiers.splice(t, 1) | |
} | |
, | |
t.prototype.notify = function(e) { | |
return this.notifiers.length > 0 ? this.notifyNotifiers(e) : (this.errors.push(e), | |
this.errors.length > this.historyMaxLen && (this.errors = this.errors.slice(-this.historyMaxLen)), | |
Promise.resolve(null)) | |
} | |
, | |
t.prototype.notifyNotifiers = function(e) { | |
for (var t = [], n = 0, r = this.notifiers; n < r.length; n++) { | |
var i = r[n]; | |
t.push(i.notify(e)) | |
} | |
return Promise.all(t).then((function(e) { | |
return e[0] | |
} | |
)) | |
} | |
, | |
t.prototype.onerror = function(e, t, n, r, i) { | |
this.ignoreWindowError > 0 || (i ? this.notify({ | |
error: i, | |
context: { | |
windowError: !0 | |
} | |
}) : t && n && this.notify({ | |
error: { | |
message: e, | |
fileName: t, | |
lineNumber: n, | |
columnNumber: r, | |
noStack: !0 | |
}, | |
context: { | |
windowError: !0 | |
} | |
})) | |
} | |
, | |
t.prototype.ignoreNextWindowError = function() { | |
var e = this; | |
this.ignoreWindowError++, | |
setTimeout((function() { | |
return e.ignoreWindowError-- | |
} | |
)) | |
} | |
, | |
t.prototype.getHistory = function() { | |
return this.history | |
} | |
, | |
t.prototype.pushHistory = function(e) { | |
this.isDupState(e) ? this.lastState.num ? this.lastState.num++ : this.lastState.num = 2 : (e.date || (e.date = new Date), | |
this.history.push(e), | |
this.lastState = e, | |
this.history.length > this.historyMaxLen && (this.history = this.history.slice(-this.historyMaxLen))) | |
} | |
, | |
t.prototype.isDupState = function(e) { | |
if (!this.lastState) | |
return !1; | |
for (var t in e) | |
if (e.hasOwnProperty(t) && "date" !== t && e[t] !== this.lastState[t]) | |
return !1; | |
return !0 | |
} | |
, | |
t.prototype.domEvents = function() { | |
var e = i.makeEventHandler(this); | |
window.addEventListener && (window.addEventListener("load", e), | |
window.addEventListener("error", (function(t) { | |
"error"in t || e(t) | |
} | |
), !0)), | |
"object" === ("undefined" === typeof document ? "undefined" : c(document)) && document.addEventListener && (document.addEventListener("DOMContentLoaded", e), | |
document.addEventListener("click", e), | |
document.addEventListener("keypress", e)) | |
} | |
, | |
t.prototype.console = function() { | |
for (var e = this, t = function(t) { | |
if (!(t in console)) | |
return "continue"; | |
var n = console[t] | |
, r = function() { | |
for (var r = [], i = 0; i < arguments.length; i++) | |
r[i] = arguments[i]; | |
n.apply(console, r), | |
e.pushHistory({ | |
type: "log", | |
severity: t, | |
arguments: r | |
}) | |
}; | |
r.inner = n, | |
console[t] = r | |
}, n = 0, r = o; n < r.length; n++) | |
t(r[n]) | |
} | |
, | |
t.prototype.unwrapConsole = function() { | |
for (var e = 0, t = o; e < t.length; e++) { | |
var n = t[e]; | |
n in console && console[n].inner && (console[n] = console[n].inner) | |
} | |
} | |
, | |
t.prototype.instrumentFetch = function() { | |
var e = this | |
, t = window.fetch; | |
window.fetch = function(n, r) { | |
var i = { | |
type: "xhr", | |
date: new Date | |
}; | |
return i.method = r && r.method ? r.method : "GET", | |
"string" === typeof n ? i.url = n : (i.method = n.method, | |
i.url = n.url), | |
e.ignoreNextXHR++, | |
setTimeout((function() { | |
return e.ignoreNextXHR-- | |
} | |
)), | |
t.apply(this, arguments).then((function(t) { | |
return i.statusCode = t.status, | |
i.duration = (new Date).getTime() - i.date.getTime(), | |
e.pushHistory(i), | |
t | |
} | |
)).catch((function(t) { | |
throw i.error = t, | |
i.duration = (new Date).getTime() - i.date.getTime(), | |
e.pushHistory(i), | |
t | |
} | |
)) | |
} | |
} | |
, | |
t.prototype.xhr = function() { | |
var e = this | |
, t = XMLHttpRequest.prototype.open; | |
XMLHttpRequest.prototype.open = function(n, r, i, o, a) { | |
0 === e.ignoreNextXHR && (this.__state = { | |
type: "xhr", | |
method: n, | |
url: r | |
}), | |
t.apply(this, arguments) | |
} | |
; | |
var n = XMLHttpRequest.prototype.send; | |
XMLHttpRequest.prototype.send = function(t) { | |
var r = this.onreadystatechange; | |
return this.onreadystatechange = function(t) { | |
if (4 === this.readyState && this.__state && e.recordReq(this), | |
r) | |
return r.apply(this, arguments) | |
} | |
, | |
this.__state && (this.__state.date = new Date), | |
n.apply(this, arguments) | |
} | |
} | |
, | |
t.prototype.recordReq = function(e) { | |
var t = e.__state; | |
t.statusCode = e.status, | |
t.duration = (new Date).getTime() - t.date.getTime(), | |
this.pushHistory(t) | |
} | |
, | |
t.prototype.location = function() { | |
this.lastLocation = document.location.pathname; | |
var e = this | |
, t = window.onpopstate; | |
window.onpopstate = function(n) { | |
if (e.recordLocation(document.location.pathname), | |
t) | |
return t.apply(this, arguments) | |
} | |
; | |
var n = history.pushState; | |
history.pushState = function(t, r, i) { | |
i && e.recordLocation(i.toString()), | |
n.apply(this, arguments) | |
} | |
} | |
, | |
t.prototype.recordLocation = function(e) { | |
var t = e.indexOf("://"); | |
t >= 0 ? (t = (e = e.slice(t + 3)).indexOf("/"), | |
e = t >= 0 ? e.slice(t) : "/") : "/" !== e.charAt(0) && (e = "/" + e), | |
this.pushHistory({ | |
type: "location", | |
from: this.lastLocation, | |
to: e | |
}), | |
this.lastLocation = e | |
} | |
, | |
t | |
}(); | |
function s(e) { | |
return void 0 === e || !0 === e | |
} | |
n.Historian = a | |
}, | |
"./src/http_req/fetch.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = n("cross-fetch") | |
, i = n("./src/http_req/index.ts") | |
, o = 0; | |
t.request = function(e) { | |
if (Date.now() / 1e3 < o) | |
return Promise.reject(i.errors.ipRateLimited); | |
var t = { | |
method: e.method, | |
body: e.body | |
}; | |
return r(e.url, t).then((function(e) { | |
if (401 === e.status) | |
throw i.errors.unauthorized; | |
if (429 === e.status) { | |
var t = e.headers.get("X-RateLimit-Delay"); | |
if (!t) | |
throw i.errors.ipRateLimited; | |
var n = parseInt(t, 10); | |
throw n > 0 && (o = Date.now() / 1e3 + n), | |
i.errors.ipRateLimited | |
} | |
return 204 === e.status ? { | |
json: null | |
} : e.status >= 200 && e.status < 300 ? e.json().then((function(e) { | |
return { | |
json: e | |
} | |
} | |
)) : e.status >= 400 && e.status < 500 ? e.json().then((function(e) { | |
throw new Error(e.message) | |
} | |
)) : e.text().then((function(t) { | |
throw new Error("airbrake: fetch: unexpected response: code=" + e.status + " body='" + t + "'") | |
} | |
)) | |
} | |
)) | |
} | |
}, | |
"./src/http_req/index.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = n("./src/http_req/fetch.ts") | |
, i = n("./src/http_req/node.ts"); | |
t.makeRequester = function(e) { | |
return e.request ? i.makeRequester(e.request) : r.request | |
} | |
, | |
t.errors = { | |
unauthorized: new Error("airbrake: unauthorized: project id or key are wrong"), | |
ipRateLimited: new Error("airbrake: IP is rate limited") | |
} | |
}, | |
"./src/http_req/node.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = n("./src/http_req/index.ts"); | |
t.makeRequester = function(e) { | |
return function(t) { | |
return function(e, t) { | |
return Date.now() / 1e3 < i ? Promise.reject(r.errors.ipRateLimited) : new Promise((function(n, o) { | |
t({ | |
url: e.url, | |
method: e.method, | |
body: e.body, | |
headers: { | |
"content-type": "application/json" | |
}, | |
timeout: e.timeout | |
}, (function(e, t, a) { | |
if (e) | |
o(e); | |
else { | |
if (!t.statusCode) | |
return e = new Error("airbrake: request: response statusCode is " + t.statusCode), | |
void o(e); | |
if (401 !== t.statusCode) | |
if (429 !== t.statusCode) | |
if (204 !== t.statusCode) | |
if (t.statusCode >= 200 && t.statusCode < 300) { | |
var s = void 0; | |
try { | |
s = JSON.parse(a) | |
} catch (f) { | |
return void o(f) | |
} | |
n(s) | |
} else { | |
if (t.statusCode >= 400 && t.statusCode < 500) { | |
s = void 0; | |
try { | |
s = JSON.parse(a) | |
} catch (f) { | |
return void o(f) | |
} | |
return e = new Error(s.message), | |
void o(e) | |
} | |
a = a.trim(), | |
e = new Error("airbrake: node: unexpected response: code=" + t.statusCode + " body='" + a + "'"), | |
o(e) | |
} | |
else | |
n({ | |
json: null | |
}); | |
else { | |
o(r.errors.ipRateLimited); | |
var c = t.headers["x-ratelimit-delay"]; | |
if (!c) | |
return; | |
var u = void 0; | |
if ("string" === typeof c) | |
u = c; | |
else { | |
if (!(c instanceof Array)) | |
return; | |
u = c[0] | |
} | |
var l = parseInt(u, 10); | |
l > 0 && (i = Date.now() / 1e3 + l) | |
} | |
else | |
o(r.errors.unauthorized) | |
} | |
} | |
)) | |
} | |
)) | |
}(t, e) | |
} | |
} | |
; | |
var i = 0 | |
}, | |
"./src/instrumentation/dom.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = ["type", "name", "src"]; | |
function i(e) { | |
if (!e) | |
return ""; | |
var t, n = []; | |
if (e.tagName && n.push(e.tagName.toLowerCase()), | |
e.id && (n.push("#"), | |
n.push(e.id)), | |
e.classList && Array.from) | |
n.push("."), | |
n.push(Array.from(e.classList).join(".")); | |
else if (e.className) { | |
var i = (t = e.className).split ? t.split(" ").join(".") : t.baseVal && t.baseVal.split ? t.baseVal.split(" ").join(".") : (console.error("unsupported HTMLElement.className type", c(t)), | |
""); | |
"" !== i && (n.push("."), | |
n.push(i)) | |
} | |
if (e.getAttribute) | |
for (var o = 0, a = r; o < a.length; o++) { | |
var s = a[o] | |
, u = e.getAttribute(s); | |
u && n.push("[" + s + '="' + u + '"]') | |
} | |
return n.join("") | |
} | |
t.makeEventHandler = function(e) { | |
return function(t) { | |
var n; | |
try { | |
n = t.target | |
} catch (o) { | |
return | |
} | |
if (n) { | |
var r = { | |
type: t.type | |
}; | |
try { | |
r.target = function(e) { | |
for (var t = [], n = e; n; ) { | |
var r = i(n); | |
if ("" !== r && (t.push(r), | |
t.length > 10)) | |
break; | |
n = n.parentNode | |
} | |
return 0 === t.length ? String(e) : t.reverse().join(" > ") | |
}(n) | |
} catch (a) { | |
r.target = "<" + String(a) + ">" | |
} | |
e.pushHistory(r) | |
} | |
} | |
} | |
}, | |
"./src/jsonify_notice.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = 128; | |
function i(e, t) { | |
return e >> t || 1 | |
} | |
t.default = function(e, t) { | |
var n = void 0 === t ? {} : t | |
, r = n.maxLength | |
, i = void 0 === r ? 64e3 : r | |
, s = n.keysBlacklist | |
, c = void 0 === s ? [] : s; | |
if (e.errors) | |
for (var u = 0; u < e.errors.length; u++) { | |
var l = new o({ | |
keysBlacklist: c | |
}); | |
e.errors[u] = l.truncate(e.errors[u]) | |
} | |
for (var f = "", d = ["context", "params", "environment", "session"], p = 0; p < 8; p++) { | |
for (var h = { | |
level: p, | |
keysBlacklist: c | |
}, v = 0, m = d; v < m.length; v++) | |
(_ = e[w = m[v]]) && (e[w] = a(_, h)); | |
if ((f = JSON.stringify(e)).length < i) | |
return f | |
} | |
var y = { | |
json: f.slice(0, Math.floor(i / 2)) + "..." | |
}; | |
d.push("errors"); | |
for (var g = 0, b = d; g < b.length; g++) { | |
var w, _; | |
(_ = e[w = b[g]]) && (f = JSON.stringify(_), | |
y[w] = f.length) | |
} | |
var k = new Error("airbrake: notice exceeds max length and can't be truncated"); | |
throw k.params = y, | |
k | |
} | |
; | |
var o = function() { | |
function e(e) { | |
this.maxStringLength = 1024, | |
this.maxObjectLength = r, | |
this.maxArrayLength = r, | |
this.maxDepth = 8, | |
this.keys = [], | |
this.keysBlacklist = [], | |
this.seen = []; | |
var t = e.level || 0; | |
this.keysBlacklist = e.keysBlacklist || [], | |
this.maxStringLength = i(this.maxStringLength, t), | |
this.maxObjectLength = i(this.maxObjectLength, t), | |
this.maxArrayLength = i(this.maxArrayLength, t), | |
this.maxDepth = i(this.maxDepth, t) | |
} | |
return e.prototype.truncate = function(e, t, n) { | |
if (void 0 === t && (t = ""), | |
void 0 === n && (n = 0), | |
null === e || void 0 === e) | |
return e; | |
switch (c(e)) { | |
case "boolean": | |
case "number": | |
case "function": | |
return e; | |
case "string": | |
return this.truncateString(e); | |
case "object": | |
break; | |
default: | |
return this.truncateString(String(e)) | |
} | |
if (e instanceof String) | |
return this.truncateString(e.toString()); | |
if (e instanceof Boolean || e instanceof Number || e instanceof Date || e instanceof RegExp) | |
return e; | |
if (e instanceof Error) | |
return this.truncateString(e.toString()); | |
if (this.seen.indexOf(e) >= 0) | |
return "[Circular " + this.getPath(e) + "]"; | |
var r = function(e) { | |
return Object.prototype.toString.apply(e).slice("[object ".length, -1) | |
}(e); | |
if (++n > this.maxDepth) | |
return "[Truncated " + r + "]"; | |
switch (this.keys.push(t), | |
this.seen.push(e), | |
r) { | |
case "Array": | |
return this.truncateArray(e, n); | |
case "Object": | |
return this.truncateObject(e, n); | |
default: | |
var i = this.maxDepth; | |
this.maxDepth = 0; | |
var o = this.truncateObject(e, n); | |
return o.__type = r, | |
this.maxDepth = i, | |
o | |
} | |
} | |
, | |
e.prototype.getPath = function(e) { | |
for (var t = this.seen.indexOf(e), n = [this.keys[t]], r = t; r >= 0; r--) { | |
var i = this.seen[r]; | |
i && s(i, n[0]) === e && (e = i, | |
n.unshift(this.keys[r])) | |
} | |
return "~" + n.join(".") | |
} | |
, | |
e.prototype.truncateString = function(e) { | |
return e.length > this.maxStringLength ? e.slice(0, this.maxStringLength) + "..." : e | |
} | |
, | |
e.prototype.truncateArray = function(e, t) { | |
void 0 === t && (t = 0); | |
for (var n = 0, r = [], i = 0; i < e.length; i++) { | |
var o = e[i]; | |
if (r.push(this.truncate(o, i.toString(), t)), | |
++n >= this.maxArrayLength) | |
break | |
} | |
return r | |
} | |
, | |
e.prototype.truncateObject = function(e, t) { | |
void 0 === t && (t = 0); | |
var n = 0 | |
, r = {}; | |
for (var i in e) | |
if (Object.prototype.hasOwnProperty.call(e, i)) | |
if (u(i, this.keysBlacklist)) | |
r[i] = "[Filtered]"; | |
else { | |
var o = s(e, i); | |
if (void 0 !== o && "function" !== typeof o && (r[i] = this.truncate(o, i, t), | |
++n >= this.maxObjectLength)) | |
break | |
} | |
return r | |
} | |
, | |
e | |
}(); | |
function a(e, t) { | |
return void 0 === t && (t = {}), | |
new o(t).truncate(e) | |
} | |
function s(e, t) { | |
try { | |
return e[t] | |
} catch (n) { | |
return | |
} | |
} | |
function u(e, t) { | |
for (var n = 0, r = t; n < r.length; n++) { | |
var i = r[n]; | |
if (i === e) | |
return !0; | |
if (i instanceof RegExp && e.match(i)) | |
return !0 | |
} | |
return !1 | |
} | |
t.truncate = a | |
}, | |
"./src/processor/stacktracejs.ts": function(e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var r = n("./node_modules/error-stack-parser/error-stack-parser.js") | |
, i = "object" === ("undefined" === typeof console ? "undefined" : c(console)) && console.warn; | |
function o(e) { | |
try { | |
return r.parse(e) | |
} catch (t) { | |
i && e.stack && console.warn("ErrorStackParser:", t.toString(), e.stack) | |
} | |
return e.fileName ? [e] : [] | |
} | |
t.default = function(e) { | |
var t = []; | |
if (e.noStack) | |
t.push({ | |
function: e.functionName || "", | |
file: e.fileName || "", | |
line: e.lineNumber || 0, | |
column: e.columnNumber || 0 | |
}); | |
else { | |
var n = o(e); | |
if (0 === n.length) | |
try { | |
throw new Error("fake") | |
} catch (s) { | |
(n = o(s)).shift(), | |
n.shift() | |
} | |
for (var r = 0, i = n; r < i.length; r++) { | |
var a = i[r]; | |
t.push({ | |
function: a.functionName || "", | |
file: a.fileName || "", | |
line: a.lineNumber || 0, | |
column: a.columnNumber || 0 | |
}) | |
} | |
} | |
return { | |
type: e.name ? e.name : "", | |
message: e.message ? String(e.message) : String(e), | |
backtrace: t | |
} | |
} | |
}, | |
"./src/routes.ts": function(e, t, n) { | |
"use strict"; | |
var r = this && this.__assign || function() { | |
return (r = Object.assign || function(e) { | |
for (var t, n = 1, r = arguments.length; n < r; n++) | |
for (var i in t = arguments[n]) | |
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); | |
return e | |
} | |
).apply(this, arguments) | |
} | |
; | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}); | |
var i = n("./src/http_req/index.ts") | |
, o = function() { | |
function e(e) { | |
this.m = {}, | |
this.opts = e, | |
this.url = this.opts.host + "/api/v5/projects/" + this.opts.projectId + "/routes-stats?key=" + this.opts.projectKey, | |
this.requester = i.makeRequester(this.opts) | |
} | |
return e.prototype.notifyRequest = function(e) { | |
var t = this | |
, n = function(e, t) { | |
if (e instanceof Date && t instanceof Date) | |
return t.getTime() - e.getTime(); | |
if ("number" === typeof e && "number" === typeof t) | |
return t - e; | |
throw new Error("unsupported type: " + c(e)) | |
}(e.start, e.end); | |
0 === n && (n = .1), | |
e.start = new Date(6e4 * Math.floor(function(e) { | |
if (e instanceof Date) | |
return e.getTime(); | |
if ("number" === typeof e) | |
return e; | |
throw new Error("unsupported type: " + c(e)) | |
}(e.start) / 6e4)); | |
var r, i = { | |
method: e.method, | |
route: e.route, | |
statusCode: e.statusCode, | |
time: e.start | |
}, o = JSON.stringify(i); | |
o in this.m ? r = this.m[o] : (r = { | |
count: 0, | |
sum: 0, | |
sumsq: 0 | |
}, | |
this.opts.TDigest && (r.tdigest = new this.opts.TDigest), | |
this.m[o] = r), | |
r.count++, | |
r.sum += n, | |
r.sumsq += n * n, | |
r.tdigest && r.tdigest.push(n), | |
this.timer || (this.timer = setTimeout((function() { | |
t.flush() | |
} | |
), 15e3)) | |
} | |
, | |
e.prototype.flush = function() { | |
var e = []; | |
for (var t in this.m) | |
if (this.m.hasOwnProperty(t)) { | |
var n = JSON.parse(t) | |
, i = r({}, n, this.m[t]); | |
i.tdigest && (i.tdigestCentroids = this.tdigestCentroids(i.tdigest), | |
delete i.tdigest), | |
e.push(i) | |
} | |
this.m = {}, | |
this.timer = null; | |
var o = JSON.stringify({ | |
environment: this.opts.environment, | |
routes: e | |
}) | |
, a = { | |
method: "POST", | |
url: this.url, | |
body: o | |
}; | |
this.requester(a).then((function(e) {} | |
)).catch((function(e) { | |
console.error && console.error("can not report routes stats", e) | |
} | |
)) | |
} | |
, | |
e.prototype.tdigestCentroids = function(e) { | |
var t = [] | |
, n = []; | |
return e.centroids.each((function(e) { | |
t.push(e.mean), | |
n.push(e.n) | |
} | |
)), | |
{ | |
mean: t, | |
count: n | |
} | |
} | |
, | |
e | |
}(); | |
t.Routes = o | |
}, | |
0: function(e, t, n) { | |
e.exports = n("./src/client.ts") | |
}, | |
"cross-fetch": function(e, t) { | |
e.exports = n | |
}, | |
os: function(e, n) { | |
if ("undefined" === typeof t) { | |
var r = new Error("Cannot find module 'undefined'"); | |
throw r.code = "MODULE_NOT_FOUND", | |
r | |
} | |
e.exports = t | |
} | |
}) | |
} | |
, | |
"object" === c(t) && "object" === c(r) ? r.exports = s(function() { | |
try { | |
return n(29) | |
} catch (e) {} | |
}(), n(17)) : (o = [n(29), n(17)], | |
void 0 === (a = "function" === typeof (i = s) ? i.apply(t, o) : i) || (r.exports = a)) | |
} | |
).call(this, n(27), n(28)(e)) | |
}, | |
32: function(e, t, n) { | |
(function(e) { | |
var r; | |
function i(e) { | |
return (i = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function(e) { | |
return typeof e | |
} | |
: function(e) { | |
return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
} | |
)(e) | |
} | |
!function(o, a) { | |
"use strict"; | |
var s = "model" | |
, c = "name" | |
, u = "type" | |
, l = "vendor" | |
, f = "version" | |
, d = "mobile" | |
, p = "tablet" | |
, h = { | |
extend: function(e, t) { | |
var n = {}; | |
for (var r in e) | |
t[r] && t[r].length % 2 === 0 ? n[r] = t[r].concat(e[r]) : n[r] = e[r]; | |
return n | |
}, | |
has: function(e, t) { | |
return "string" === typeof e && -1 !== t.toLowerCase().indexOf(e.toLowerCase()) | |
}, | |
lowerize: function(e) { | |
return e.toLowerCase() | |
}, | |
major: function(e) { | |
return "string" === i(e) ? e.replace(/[^\d\.]/g, "").split(".")[0] : void 0 | |
}, | |
trim: function(e) { | |
return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "") | |
} | |
} | |
, v = { | |
rgx: function(e, t) { | |
for (var n, r, o, a, s, c, u = 0; u < t.length && !s; ) { | |
var l = t[u] | |
, f = t[u + 1]; | |
for (n = r = 0; n < l.length && !s; ) | |
if (s = l[n++].exec(e)) | |
for (o = 0; o < f.length; o++) | |
c = s[++r], | |
"object" === i(a = f[o]) && a.length > 0 ? 2 == a.length ? "function" == i(a[1]) ? this[a[0]] = a[1].call(this, c) : this[a[0]] = a[1] : 3 == a.length ? "function" !== i(a[1]) || a[1].exec && a[1].test ? this[a[0]] = c ? c.replace(a[1], a[2]) : void 0 : this[a[0]] = c ? a[1].call(this, c, a[2]) : void 0 : 4 == a.length && (this[a[0]] = c ? a[3].call(this, c.replace(a[1], a[2])) : void 0) : this[a] = c || void 0; | |
u += 2 | |
} | |
}, | |
str: function(e, t) { | |
for (var n in t) | |
if ("object" === i(t[n]) && t[n].length > 0) { | |
for (var r = 0; r < t[n].length; r++) | |
if (h.has(t[n][r], e)) | |
return "?" === n ? void 0 : n | |
} else if (h.has(t[n], e)) | |
return "?" === n ? void 0 : n; | |
return e | |
} | |
} | |
, m = { | |
browser: { | |
oldsafari: { | |
version: { | |
"1.0": "/8", | |
1.2: "/1", | |
1.3: "/3", | |
"2.0": "/412", | |
"2.0.2": "/416", | |
"2.0.3": "/417", | |
"2.0.4": "/419", | |
"?": "/" | |
} | |
} | |
}, | |
device: { | |
amazon: { | |
model: { | |
"Fire Phone": ["SD", "KF"] | |
} | |
}, | |
sprint: { | |
model: { | |
"Evo Shift 4G": "7373KT" | |
}, | |
vendor: { | |
HTC: "APA", | |
Sprint: "Sprint" | |
} | |
} | |
}, | |
os: { | |
windows: { | |
version: { | |
ME: "4.90", | |
"NT 3.11": "NT3.51", | |
"NT 4.0": "NT4.0", | |
2e3: "NT 5.0", | |
XP: ["NT 5.1", "NT 5.2"], | |
Vista: "NT 6.0", | |
7: "NT 6.1", | |
8: "NT 6.2", | |
8.1: "NT 6.3", | |
10: ["NT 6.4", "NT 10.0"], | |
RT: "ARM" | |
} | |
} | |
} | |
} | |
, y = { | |
browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [c, f], [/(opios)[\/\s]+([\w\.]+)/i], [[c, "Opera Mini"], f], [/\s(opr)\/([\w\.]+)/i], [[c, "Opera"], f], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i], [c, f], [/(konqueror)\/([\w\.]+)/i], [[c, "Konqueror"], f], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[c, "IE"], f], [/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i], [[c, "Edge"], f], [/(yabrowser)\/([\w\.]+)/i], [[c, "Yandex"], f], [/(puffin)\/([\w\.]+)/i], [[c, "Puffin"], f], [/(focus)\/([\w\.]+)/i], [[c, "Firefox Focus"], f], [/(opt)\/([\w\.]+)/i], [[c, "Opera Touch"], f], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[c, "UCBrowser"], f], [/(comodo_dragon)\/([\w\.]+)/i], [[c, /_/g, " "], f], [/(windowswechat qbcore)\/([\w\.]+)/i], [[c, "WeChat(Win) Desktop"], f], [/(micromessenger)\/([\w\.]+)/i], [[c, "WeChat"], f], [/(brave)\/([\w\.]+)/i], [[c, "Brave"], f], [/(qqbrowserlite)\/([\w\.]+)/i], [c, f], [/(QQ)\/([\d\.]+)/i], [c, f], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [c, f], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [c, f], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [c, f], [/(MetaSr)[\/\s]?([\w\.]+)/i], [c], [/(LBBROWSER)/i], [c], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [f, [c, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [f, [c, "Facebook"]], [/safari\s(line)\/([\w\.]+)/i, /android.+(line)\/([\w\.]+)\/iab/i], [c, f], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [f, [c, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[c, /(.+)/, "$1 WebView"], f], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[c, /(.+(?:g|us))(.+)/, "$1 $2"], f], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [f, [c, "Android Browser"]], [/(sailfishbrowser)\/([\w\.]+)/i], [[c, "Sailfish Browser"], f], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [c, f], [/(dolfin)\/([\w\.]+)/i], [[c, "Dolphin"], f], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[c, "Chrome"], f], [/(coast)\/([\w\.]+)/i], [[c, "Opera Coast"], f], [/fxios\/([\w\.-]+)/i], [f, [c, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [f, [c, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [f, c], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[c, "GSA"], f], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [c, [f, v.str, m.browser.oldsafari.version]], [/(webkit|khtml)\/([\w\.]+)/i], [c, f], [/(navigator|netscape)\/([\w\.-]+)/i], [[c, "Netscape"], f], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [c, f]], | |
cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [["architecture", "amd64"]], [/(ia32(?=;))/i], [["architecture", h.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [["architecture", "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [["architecture", "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [["architecture", /ower/, "", h.lowerize]], [/(sun4\w)[;\)]/i], [["architecture", "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [["architecture", h.lowerize]]], | |
device: [[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i], [s, l, [u, p]], [/applecoremedia\/[\w\.]+ \((ipad)/], [s, [l, "Apple"], [u, p]], [/(apple\s{0,1}tv)/i], [[s, "Apple TV"], [l, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [l, s, [u, p]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [s, [l, "Amazon"], [u, p]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[s, v.str, m.device.amazon.model], [l, "Amazon"], [u, d]], [/android.+aft([bms])\sbuild/i], [s, [l, "Amazon"], [u, "smarttv"]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [s, l, [u, d]], [/\((ip[honed|\s\w*]+);/i], [s, [l, "Apple"], [u, d]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [l, s, [u, d]], [/\(bb10;\s(\w+)/i], [s, [l, "BlackBerry"], [u, d]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i], [s, [l, "Asus"], [u, p]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[l, "Sony"], [s, "Xperia Tablet"], [u, p]], [/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [s, [l, "Sony"], [u, d]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [l, s, [u, "console"]], [/android.+;\s(shield)\sbuild/i], [s, [l, "Nvidia"], [u, "console"]], [/(playstation\s[34portablevi]+)/i], [s, [l, "Sony"], [u, "console"]], [/(sprint\s(\w+))/i], [[l, v.str, m.device.sprint.vendor], [s, v.str, m.device.sprint.model], [u, d]], [/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [l, [s, /_/g, " "], [u, d]], [/(nexus\s9)/i], [s, [l, "HTC"], [u, p]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [s, [l, "Huawei"], [u, d]], [/(microsoft);\s(lumia[\s\w]+)/i], [l, s, [u, d]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [s, [l, "Microsoft"], [u, "console"]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [l, "Microsoft"], [u, d]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [s, [l, "Motorola"], [u, d]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [s, [l, "Motorola"], [u, p]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[l, h.trim], [s, h.trim], [u, "smarttv"]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [l, "Samsung"], [u, "smarttv"]], [/\(dtv[\);].+(aquos)/i], [s, [l, "Sharp"], [u, "smarttv"]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[l, "Samsung"], s, [u, p]], [/smart-tv.+(samsung)/i], [l, [u, "smarttv"], s], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[l, "Samsung"], s, [u, d]], [/sie-(\w*)/i], [s, [l, "Siemens"], [u, d]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[l, "Nokia"], s, [u, d]], [/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i], [s, [l, "Acer"], [u, p]], [/android.+([vl]k\-?\d{3})\s+build/i], [s, [l, "LG"], [u, p]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[l, "LG"], s, [u, p]], [/(lg) netcast\.tv/i], [l, s, [u, "smarttv"]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [s, [l, "LG"], [u, d]], [/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i], [l, s, [u, p]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [s, [l, "Lenovo"], [u, p]], [/(lenovo)[_\s-]?([\w-]+)/i], [l, s, [u, d]], [/linux;.+((jolla));/i], [l, s, [u, d]], [/((pebble))app\/[\d\.]+\s/i], [l, s, [u, "wearable"]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [l, s, [u, d]], [/crkey/i], [[s, "Chromecast"], [l, "Google"]], [/android.+;\s(glass)\s\d/i], [s, [l, "Google"], [u, "wearable"]], [/android.+;\s(pixel c)[\s)]/i], [s, [l, "Google"], [u, p]], [/android.+;\s(pixel( [23])?( xl)?)[\s)]/i], [s, [l, "Google"], [u, d]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[s, /_/g, " "], [l, "Xiaomi"], [u, d]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[s, /_/g, " "], [l, "Xiaomi"], [u, p]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [s, [l, "Meizu"], [u, d]], [/(mz)-([\w-]{2,})/i], [[l, "Meizu"], s, [u, d]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [s, [l, "OnePlus"], [u, d]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [s, [l, "RCA"], [u, p]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [s, [l, "Dell"], [u, p]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [s, [l, "Verizon"], [u, p]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[l, "Barnes & Noble"], s, [u, p]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [s, [l, "NuVision"], [u, p]], [/android.+;\s(k88)\sbuild/i], [s, [l, "ZTE"], [u, p]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [s, [l, "Swiss"], [u, d]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [s, [l, "Swiss"], [u, p]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [s, [l, "Zeki"], [u, p]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[l, "Dragon Touch"], s, [u, p]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [s, [l, "Insignia"], [u, p]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [s, [l, "NextBook"], [u, p]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[l, "Voice"], s, [u, d]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[l, "LvTel"], s, [u, d]], [/android.+;\s(PH-1)\s/i], [s, [l, "Essential"], [u, d]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [s, [l, "Envizen"], [u, p]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [l, s, [u, p]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [s, [l, "MachSpeed"], [u, p]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [l, s, [u, p]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [s, [l, "Rotor"], [u, p]], [/android.+(KS(.+))\s+build/i], [s, [l, "Amazon"], [u, p]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [l, s, [u, p]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[u, h.lowerize], l, s], [/[\s\/\(](smart-?tv)[;\)]/i], [[u, "smarttv"]], [/(android[\w\.\s\-]{0,9});.+build/i], [s, [l, "Generic"]]], | |
engine: [[/windows.+\sedge\/([\w\.]+)/i], [f, [c, "EdgeHTML"]], [/webkit\/537\.36.+chrome\/(?!27)/i], [[c, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [c, f], [/rv\:([\w\.]{1,9}).+(gecko)/i], [f, c]], | |
os: [[/microsoft\s(windows)\s(vista|xp)/i], [c, f], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [c, [f, v.str, m.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[c, "Windows"], [f, v.str, m.os.windows.version]], [/\((bb)(10);/i], [[c, "BlackBerry"], f], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i], [c, f], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[c, "Symbian"], f], [/\((series40);/i], [c], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[c, "Firefox OS"], f], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [c, f], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[c, "Chromium OS"], f], [/(sunos)\s?([\w\.\d]*)/i], [[c, "Solaris"], f], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [c, f], [/(haiku)\s(\w+)/i], [c, f], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[f, /_/g, "."], [c, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[c, "Mac OS"], [f, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i, /(unix)\s?([\w\.]*)/i], [c, f]] | |
} | |
, g = function e(t, n) { | |
if ("object" === i(t) && (n = t, | |
t = void 0), | |
!(this instanceof e)) | |
return new e(t,n).getResult(); | |
var r = t || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : "") | |
, a = n ? h.extend(y, n) : y; | |
return this.getBrowser = function() { | |
var e = { | |
name: void 0, | |
version: void 0 | |
}; | |
return v.rgx.call(e, r, a.browser), | |
e.major = h.major(e.version), | |
e | |
} | |
, | |
this.getCPU = function() { | |
var e = { | |
architecture: void 0 | |
}; | |
return v.rgx.call(e, r, a.cpu), | |
e | |
} | |
, | |
this.getDevice = function() { | |
var e = { | |
vendor: void 0, | |
model: void 0, | |
type: void 0 | |
}; | |
return v.rgx.call(e, r, a.device), | |
e | |
} | |
, | |
this.getEngine = function() { | |
var e = { | |
name: void 0, | |
version: void 0 | |
}; | |
return v.rgx.call(e, r, a.engine), | |
e | |
} | |
, | |
this.getOS = function() { | |
var e = { | |
name: void 0, | |
version: void 0 | |
}; | |
return v.rgx.call(e, r, a.os), | |
e | |
} | |
, | |
this.getResult = function() { | |
return { | |
ua: this.getUA(), | |
browser: this.getBrowser(), | |
engine: this.getEngine(), | |
os: this.getOS(), | |
device: this.getDevice(), | |
cpu: this.getCPU() | |
} | |
} | |
, | |
this.getUA = function() { | |
return r | |
} | |
, | |
this.setUA = function(e) { | |
return r = e, | |
this | |
} | |
, | |
this | |
}; | |
g.VERSION = "0.7.20", | |
g.BROWSER = { | |
NAME: c, | |
MAJOR: "major", | |
VERSION: f | |
}, | |
g.CPU = { | |
ARCHITECTURE: "architecture" | |
}, | |
g.DEVICE = { | |
MODEL: s, | |
VENDOR: l, | |
TYPE: u, | |
CONSOLE: "console", | |
MOBILE: d, | |
SMARTTV: "smarttv", | |
TABLET: p, | |
WEARABLE: "wearable", | |
EMBEDDED: "embedded" | |
}, | |
g.ENGINE = { | |
NAME: c, | |
VERSION: f | |
}, | |
g.OS = { | |
NAME: c, | |
VERSION: f | |
}, | |
"undefined" !== i(t) ? ("undefined" !== i(e) && e.exports && (t = e.exports = g), | |
t.UAParser = g) : void 0 === (r = function() { | |
return g | |
} | |
.call(t, n, t, e)) || (e.exports = r); | |
var b = o && (o.jQuery || o.Zepto); | |
if ("undefined" !== i(b) && !b.ua) { | |
var w = new g; | |
b.ua = w.getResult(), | |
b.ua.get = function() { | |
return w.getUA() | |
} | |
, | |
b.ua.set = function(e) { | |
w.setUA(e); | |
var t = w.getResult(); | |
for (var n in t) | |
b.ua[n] = t[n] | |
} | |
} | |
}("object" === ("undefined" === typeof window ? "undefined" : i(window)) ? window : this) | |
} | |
).call(this, n(28)(e)) | |
}, | |
34: function(e, t, n) { | |
"use strict"; | |
for (var r, i, o, a, s, c, u = n(9), l = n(25), f = n(4), d = n(0), p = function() { | |
i = document.querySelector(".modal--".concat(s)), | |
o = i.querySelector(".modal-video"), | |
r = i.querySelector(".modal__resizer"); | |
var e = v(a); | |
o.appendChild(e), | |
window.addEventListener("resize", m), | |
m() | |
}, h = function() { | |
window.removeEventListener("resize", m) | |
}, v = function(e) { | |
var t = document.createElement("iframe") | |
, n = new URLSearchParams({ | |
autoplay: 1, | |
iv_load_policy: 3, | |
rel: 0, | |
color: "white", | |
showinfo: 0 | |
}).toString() | |
, r = "https://www.youtube.com/embed/".concat(e, "?").concat(n); | |
return t.setAttribute("src", r), | |
t.setAttribute("frameborder", 0), | |
t.setAttribute("allow", "autoplay; encrypted-media"), | |
t.setAttribute("allowfullscreen", ""), | |
t.style.width = "100%", | |
t.style.height = "100%", | |
t | |
}, m = function() { | |
var e = y(); | |
o.style.width = e.width + "px", | |
o.style.height = e.height + "px" | |
}, y = function() { | |
var e, t, n = r.getBoundingClientRect(); | |
return n.height / n.width > 150 / 267 ? t = (e = n.width) * (150 / 267) : e = (t = n.height) / (150 / 267), | |
{ | |
width: Math.floor(e), | |
height: Math.floor(t) | |
} | |
}, g = document.querySelectorAll("[data-modal]"), b = function(e) { | |
var t = g[e] | |
, n = t.getAttribute("data-modal"); | |
if (Object(f.a)("modal-".concat(n))) | |
return "continue"; | |
var r = t.querySelectorAll("[data-modal-step]") | |
, i = {} | |
, o = void 0; | |
if (r.length > 0) | |
for (var v = 0; v < r.length; v++) { | |
var y = r[v]; | |
i[y.dataset.modalStep] = y.innerHTML | |
} | |
else | |
o = t.innerHTML; | |
var b = t.dataset.modalModifiers ? t.dataset.modalModifiers.split(",") : []; | |
new u.a({ | |
el: t, | |
render: function(e) { | |
return e(l.a, { | |
props: { | |
id: n, | |
content: o, | |
steps: i, | |
timeout: t.dataset.modalTimeout, | |
timeoutClose: t.dataset.modalTimeoutClose, | |
cookie: t.dataset.modalCookie, | |
trackingName: t.dataset.modalPiwikEventCategory, | |
openActionName: t.dataset.modalPiwikEventAction, | |
fixedSizes: "true" === t.dataset.modalFixedSizes, | |
modifiers: b | |
} | |
}) | |
} | |
}), | |
b.indexOf("video") >= 0 && function(e, t) { | |
s = e, | |
a = t, | |
d.a.on("modal:".concat(s, ":opened"), (function() { | |
c !== s && (c = s, | |
p(), | |
d.a.track("body-20180711-homepage_video", "1-click", "open-video")) | |
} | |
)), | |
d.a.on("modal:".concat(s, ":after-opened"), (function() { | |
m() | |
} | |
)), | |
d.a.on("modal:".concat(s, ":closed"), (function() { | |
c = null, | |
h(), | |
d.a.track("body-20180711-homepage_video", "1-click", "close-video") | |
} | |
)) | |
}(n, t.dataset.modalYoutube) | |
}, w = 0; w < g.length; w++) | |
b(w); | |
document.addEventListener("keydown", (function(e) { | |
"Escape" === e.code && d.a.emit("modal:all:close") | |
} | |
)) | |
}, | |
35: function(e, t, n) { | |
"use strict"; | |
n(12); | |
document.addEventListener("click", (function(e) { | |
var t = e.target.closest(".js-toggle-social-signup-list"); | |
t && (e.preventDefault(), | |
e.stopPropagation(), | |
t.closest(".auth-form").classList.add("auth-form--show-social-signup")) | |
} | |
)) | |
}, | |
38: function(e, t, n) { | |
"use strict"; | |
var r = n(18); | |
n.n(r).a | |
}, | |
39: function(e, t, n) { | |
(function(e) { | |
var r = "undefined" !== typeof e && e || "undefined" !== typeof self && self || window | |
, i = Function.prototype.apply; | |
function o(e, t) { | |
this._id = e, | |
this._clearFn = t | |
} | |
t.setTimeout = function() { | |
return new o(i.call(setTimeout, r, arguments),clearTimeout) | |
} | |
, | |
t.setInterval = function() { | |
return new o(i.call(setInterval, r, arguments),clearInterval) | |
} | |
, | |
t.clearTimeout = t.clearInterval = function(e) { | |
e && e.close() | |
} | |
, | |
o.prototype.unref = o.prototype.ref = function() {} | |
, | |
o.prototype.close = function() { | |
this._clearFn.call(r, this._id) | |
} | |
, | |
t.enroll = function(e, t) { | |
clearTimeout(e._idleTimeoutId), | |
e._idleTimeout = t | |
} | |
, | |
t.unenroll = function(e) { | |
clearTimeout(e._idleTimeoutId), | |
e._idleTimeout = -1 | |
} | |
, | |
t._unrefActive = t.active = function(e) { | |
clearTimeout(e._idleTimeoutId); | |
var t = e._idleTimeout; | |
t >= 0 && (e._idleTimeoutId = setTimeout((function() { | |
e._onTimeout && e._onTimeout() | |
} | |
), t)) | |
} | |
, | |
n(40), | |
t.setImmediate = "undefined" !== typeof self && self.setImmediate || "undefined" !== typeof e && e.setImmediate || this && this.setImmediate, | |
t.clearImmediate = "undefined" !== typeof self && self.clearImmediate || "undefined" !== typeof e && e.clearImmediate || this && this.clearImmediate | |
} | |
).call(this, n(13)) | |
}, | |
4: function(e, t, n) { | |
"use strict"; | |
var r = n(1) | |
, i = function(e, t) { | |
var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 30 | |
, i = ""; | |
if (n) { | |
var o = new Date; | |
o.setTime(o.getTime() + 24 * n * 60 * 60 * 1e3), | |
i = "; expires=" + o.toGMTString() | |
} | |
var a = ""; | |
"development" !== r.a.env && (a = " secure"), | |
document.cookie = "".concat(e, "=").concat(t).concat(i).concat(a, "; path=/; SameSite=Strict") | |
}; | |
t.a = function(e, t, n) { | |
return "undefined" === typeof t ? function(e) { | |
for (var t = "".concat(e, "="), n = document.cookie.split(";"), r = 0; r < n.length; r++) { | |
for (var i = n[r]; " " == i.charAt(0); ) | |
i = i.substring(1, i.length); | |
if (0 == i.indexOf(t)) | |
return i.substring(t.length, i.length) | |
} | |
return null | |
}(e) : i(e, t, n) | |
} | |
}, | |
40: function(e, t, n) { | |
(function(e, t) { | |
!function(e, n) { | |
"use strict"; | |
if (!e.setImmediate) { | |
var r, i, o, a, s, c = 1, u = {}, l = !1, f = e.document, d = Object.getPrototypeOf && Object.getPrototypeOf(e); | |
d = d && d.setTimeout ? d : e, | |
"[object process]" === {}.toString.call(e.process) ? r = function(e) { | |
t.nextTick((function() { | |
h(e) | |
} | |
)) | |
} | |
: !function() { | |
if (e.postMessage && !e.importScripts) { | |
var t = !0 | |
, n = e.onmessage; | |
return e.onmessage = function() { | |
t = !1 | |
} | |
, | |
e.postMessage("", "*"), | |
e.onmessage = n, | |
t | |
} | |
}() ? e.MessageChannel ? ((o = new MessageChannel).port1.onmessage = function(e) { | |
h(e.data) | |
} | |
, | |
r = function(e) { | |
o.port2.postMessage(e) | |
} | |
) : f && "onreadystatechange"in f.createElement("script") ? (i = f.documentElement, | |
r = function(e) { | |
var t = f.createElement("script"); | |
t.onreadystatechange = function() { | |
h(e), | |
t.onreadystatechange = null, | |
i.removeChild(t), | |
t = null | |
} | |
, | |
i.appendChild(t) | |
} | |
) : r = function(e) { | |
setTimeout(h, 0, e) | |
} | |
: (a = "setImmediate$" + Math.random() + "$", | |
s = function(t) { | |
t.source === e && "string" === typeof t.data && 0 === t.data.indexOf(a) && h(+t.data.slice(a.length)) | |
} | |
, | |
e.addEventListener ? e.addEventListener("message", s, !1) : e.attachEvent("onmessage", s), | |
r = function(t) { | |
e.postMessage(a + t, "*") | |
} | |
), | |
d.setImmediate = function(e) { | |
"function" !== typeof e && (e = new Function("" + e)); | |
for (var t = new Array(arguments.length - 1), n = 0; n < t.length; n++) | |
t[n] = arguments[n + 1]; | |
var i = { | |
callback: e, | |
args: t | |
}; | |
return u[c] = i, | |
r(c), | |
c++ | |
} | |
, | |
d.clearImmediate = p | |
} | |
function p(e) { | |
delete u[e] | |
} | |
function h(e) { | |
if (l) | |
setTimeout(h, 0, e); | |
else { | |
var t = u[e]; | |
if (t) { | |
l = !0; | |
try { | |
!function(e) { | |
var t = e.callback | |
, r = e.args; | |
switch (r.length) { | |
case 0: | |
t(); | |
break; | |
case 1: | |
t(r[0]); | |
break; | |
case 2: | |
t(r[0], r[1]); | |
break; | |
case 3: | |
t(r[0], r[1], r[2]); | |
break; | |
default: | |
t.apply(n, r) | |
} | |
}(t) | |
} finally { | |
p(e), | |
l = !1 | |
} | |
} | |
} | |
} | |
}("undefined" === typeof self ? "undefined" === typeof e ? this : e : self) | |
} | |
).call(this, n(13), n(27)) | |
}, | |
41: function(e, t, n) { | |
"use strict"; | |
var r = n(0) | |
, i = n(8) | |
, o = n(15) | |
, a = n(5) | |
, s = !1 | |
, c = function() { | |
return s ? Promise.resolve() : new Promise((function(e) { | |
window.reCaptchaCallback = function() { | |
s = !0, | |
e() | |
} | |
} | |
)) | |
} | |
, u = function(e) { | |
if (window.globals.recaptcha.activated) { | |
var t = document.querySelector(".js-".concat(e, "-captcha")); | |
t && Object(o.a)("https://www.google.com/recaptcha/api.js?render=explicit&onload=reCaptchaCallback&hl=".concat(Object(i.a)())).then(c).then((function() { | |
return function(e, t) { | |
var n = !1 | |
, r = document.querySelector(".js-".concat(t, "-captcha-error")); | |
window.grecaptcha.render(e, { | |
sitekey: window.globals.recaptcha.v2_key, | |
callback: function() { | |
n = !0, | |
e.classList.remove("".concat(t, "__captcha-container--error")), | |
r.classList.remove("".concat(t, "__captcha-error--show")) | |
} | |
}); | |
var i = document.querySelector(".js-".concat(t, "-submit")); | |
i ? i.addEventListener("click", (function(i) { | |
!n && window.globals.recaptcha.activated && (i.preventDefault(), | |
e.classList.add("".concat(t, "__captcha-container--error")), | |
r.classList.add("".concat(t, "__captcha-error--show"))) | |
} | |
)) : Object(a.a)("Can't find submit element in captcha with selector .js-".concat(t, "-submit")) | |
}(t, e) | |
} | |
)).catch((function(e) { | |
return Object(a.a)("Can't load script ".concat(e.target.src)) | |
} | |
)) | |
} | |
}; | |
s = !1, | |
window.reCaptchaCallback = function() { | |
s = !0 | |
} | |
; | |
var l = { | |
"setup:ready": function() { | |
u("loginV2") | |
}, | |
"modal:auth-popup:step:login:opened": function() { | |
u("auth-form") | |
} | |
} | |
, f = (n(12), | |
n(20), | |
n(1)) | |
, d = function(e) { | |
var t, n = window.location, r = n.protocol, i = n.host, o = "".concat(r, "//").concat(i); | |
if (e.indexOf("#") > 1 && (t = e.slice(e.indexOf("#")), | |
e = e.slice(0, e.indexOf("#"))), | |
e.length > 0 ? o += e + "?" : o += "?", | |
o.indexOf("highlights") >= 0) | |
o += "utm_medium=bk_blink&utm_source=bk_loop&utm_campaign=highlight"; | |
else if (o.indexOf("insights") >= 0) | |
o += "utm_medium=bk_blink&utm_source=bk_loop&utm_campaign=chapter"; | |
else if (o.indexOf("blinks") >= 0) { | |
o += "utm_medium=bk_book&utm_source=bk_loop&utm_campaign=" + /blinks\/(.*)\//.exec(o)[1] | |
} else | |
o += "utm_medium=bk_referral&utm_source=bk_loop&utm_campaign=blinkist.com"; | |
return f.a.configUserData && f.a.configUserData.referrerToken && (o += "&referrer_token=" + f.a.configUserData.referrerToken), | |
o.indexOf("#") > 1 && (o = o.substring(o.indexOf("#"), o.indexOf("?"))), | |
"undefined" !== typeof t && (o += t), | |
o | |
} | |
, p = n(24) | |
, h = "[data-action=facebook-login]" | |
, v = "[data-action=share-facebook]" | |
, m = !1 | |
, y = function() { | |
var e = Object(i.a)() | |
, t = "https://connect.facebook.net/".concat(e, "_").concat(e.toUpperCase(), "/sdk.js"); | |
return Object(o.a)(t).then((function() { | |
window.FB && window.FB.init({ | |
appId: f.a.facebookAppId, | |
channelUrl: "/fb_channel", | |
status: !0, | |
cookie: !1, | |
xfbml: !0, | |
version: "v4.0" | |
}) | |
} | |
)).catch((function(e) { | |
return Object(a.a)("Can't load script ".concat(e.target.src)) | |
} | |
)) | |
} | |
, g = function() { | |
document.querySelectorAll("".concat(h, ",").concat(v)).forEach((function(e) { | |
return e.removeAttribute("disabled") | |
} | |
)), | |
document.removeEventListener("click", b), | |
document.addEventListener("click", b) | |
} | |
, b = function(e) { | |
var t, n, i = e.target.closest(h); | |
if (i) | |
return e.preventDefault(), | |
(n = (t = i).closest("form")).querySelectorAll("input[type=email],input[type=password]").forEach((function(e) { | |
e.value = "" | |
} | |
)), | |
void (window.FB && window.FB.getLoginStatus ? window.FB.getLoginStatus((function(e) { | |
var r = function(e) { | |
n.querySelector(t.dataset.actionUrl).value = e.accessToken, | |
n.submit() | |
}; | |
"connected" === e.status ? r(e.authResponse) : window.FB.login((function(e) { | |
e.authResponse && r(e.authResponse) | |
} | |
), { | |
scope: "email" | |
}) | |
} | |
)) : (window._blinkist_is_facebook_loaded = !1, | |
y())); | |
var o = e.target.closest(v); | |
return o ? (e.preventDefault(), | |
void function(e) { | |
r.a.track("body-20100417-share", "1-fb"); | |
var t, n = "iframe"; | |
t = e.dataset.disableLinkSharing && e.getAttribute("href") ? d(e.href) : d("/"), | |
Object(p.a)() && (n = "popup"), | |
window.FB && window.FB.ui({ | |
method: "share", | |
display: n, | |
href: t | |
}, (function() {} | |
)) | |
}(o)) : void 0 | |
} | |
, w = function() { | |
var e = document.querySelectorAll("".concat(h, ",").concat(v)); | |
e.length <= 0 || (e.forEach((function(e) { | |
return e.setAttribute("disabled", "disabled") | |
} | |
)), | |
m || (m = !0, | |
y().then(g))) | |
}; | |
r.a.on("facebook:init", w), | |
w(), | |
window.initialiseGoogleLogin = function() { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : document | |
, t = e.querySelectorAll(".js-google-signin"); | |
if (!(t.length <= 0)) { | |
var n = document.querySelector("meta[name='google-signin-client_id']").getAttribute("content"); | |
window.gapi.load("auth2", (function() { | |
var e = window.gapi.auth2.init({ | |
client_id: n, | |
cookiepolicy: "single_host_origin" | |
}); | |
t.forEach((function(t) { | |
e.attachClickHandler(t, {}, (function(e) { | |
var t = e.getAuthResponse().id_token; | |
window.gapi.auth2.getAuthInstance().signOut(); | |
var n = document.querySelector(".js-google-id-token"); | |
n.value = t, | |
n.parentNode.submit() | |
} | |
)) | |
} | |
)) | |
} | |
)) | |
} | |
} | |
, | |
window.googleApisLoaded && window.initialiseGoogleLogin(), | |
r.a.on("modal:auth-popup:step:login:opened", (function(e) { | |
window.googleApisLoaded && window.initialiseGoogleLogin(e) | |
} | |
)); | |
var _ = function(e) { | |
f.a.token = e, | |
document.querySelector("meta[name=csrf-token]").setAttribute("content", e); | |
for (var t = document.querySelectorAll("input[name=authenticity_token]"), n = 0; n < t.length; n++) { | |
var r = t[n]; | |
r.value = e; | |
var i = r.closest("form").querySelector("input[type='submit'][disabled]"); | |
i && !i.classList.contains("js-keep-disabled-on-auth") && i.removeAttribute("disabled") | |
} | |
}; | |
r.a.on("setup:ready", (function(e) { | |
if (e) { | |
var t = e.authenticity_token; | |
_(t), | |
r.a.on("modal:auth-popup:step:signup:opened", (function() { | |
return _(t) | |
} | |
)), | |
r.a.on("modal:auth-popup:step:login:opened", (function() { | |
return _(t) | |
} | |
)), | |
r.a.on("modal:leaving-popup:opened", (function() { | |
return _(t) | |
} | |
)), | |
e.guest ? (document.querySelectorAll(".user-logged-out-item").forEach((function(e) { | |
e.classList.remove("user-logged-out-item") | |
} | |
)), | |
r.a.emit("blinksV2_user_logged_out")) : (document.querySelectorAll(".user-logged-in-item").forEach((function(e) { | |
e.classList.remove("user-logged-in-item") | |
} | |
)), | |
document.querySelectorAll("[data-user-segment*='" + e.segment + "']").forEach((function(e) { | |
e.removeAttribute("data-user-segment") | |
} | |
))) | |
} | |
} | |
)); | |
n(35), | |
n(34); | |
var k, x, O, S, E, C, A = n(16); | |
r.a.on("modal:auth-popup:step:signup:opened", (function() { | |
var e = document.querySelector(".auth-popup-form__headline") | |
, t = document.querySelector(".auth-popup-form__subheadline"); | |
O || (O = e.innerHTML), | |
S || (S = t.innerHTML), | |
e.innerHTML = E || O, | |
t.innerHTML = C || S; | |
var n = document.querySelector(".js-popup-signup-form"); | |
n && k && n.setAttribute("action", k), | |
r.a.emit("facebook.init") | |
} | |
)), | |
r.a.on("modal:auth-popup:step:login:opened", (function() { | |
var e = document.querySelector(".js-popup-login-form"); | |
e && x && e.setAttribute("action", x), | |
r.a.emit("facebook.init"), | |
r.a.emit("google:login") | |
} | |
)), | |
r.a.on("modal:auth-popup:closed", (function() { | |
E = null, | |
C = null, | |
k = null, | |
x = null | |
} | |
)), | |
document.addEventListener("click", (function(e) { | |
var t = e.target.closest(".js-open-signup-popup"); | |
t && !A.a.isLoggedIn() && (e.preventDefault(), | |
j(t), | |
T("signup", t)); | |
var n = e.target.closest(".js-open-login-popup"); | |
n && !A.a.isLoggedIn() && (e.preventDefault(), | |
T("login", n)); | |
var r = e.target.closest("[data-signup-path]"); | |
r && (k = r.dataset.signupPath); | |
var i = e.target.closest("[data-login-path]"); | |
i && (x = i.dataset.loginPath); | |
var o = e.target.closest(".js-password-toggle"); | |
if (o) { | |
var a = o.closest(".form__field"); | |
if (a) { | |
var s = a.querySelector("input[name='signup[password]']"); | |
"password" === s.getAttribute("type") ? (s.setAttribute("type", "text"), | |
o.classList.add("password-toggle--shown")) : (s.setAttribute("type", "password"), | |
o.classList.remove("password-toggle--shown")), | |
s.focus() | |
} | |
} | |
} | |
)); | |
var j = function(e) { | |
E = e.dataset.signupHeadline, | |
C = e.dataset.signupSubheadline | |
}; | |
function T(e, t) { | |
if (A.a.isLoggedIn() && t.classList.contains("js-redirect-on-auth-trigger")) { | |
if (!t.href) | |
return; | |
window.location.href = f.a.routes.library | |
} else | |
f.a.seeSignupDiscount ? r.a.emit("abtest:modal:auth-popup:step:".concat(e, ":show")) : r.a.emit("modal:auth-popup:step:".concat(e, ":show")) | |
} | |
Object(r.b)([l]) | |
}, | |
5: function(e, t, n) { | |
"use strict"; | |
var r, i, o = n(1), a = n(31), s = n.n(a), c = o.a.airbrake || {}, u = c.id, l = c.key, f = c.fingerprint; | |
u && l && (i = window.onerror, | |
window.onerror = function(e, t, n, r, o) { | |
if ("function" === typeof i && i.apply(this, arguments), | |
o instanceof Event) { | |
var a = new Error("Caught [object Event] error. Event type: " + o.type + " Target: " + o.target); | |
window.airbrake && window.airbrake.notify(a) | |
} | |
} | |
, | |
(r = new s.a({ | |
projectId: o.a.airbrake.id, | |
projectKey: o.a.airbrake.key | |
})).addFilter((function(e) { | |
try { | |
for (var t = 0; t < e.errors.length; ++t) | |
if (e.errors[t].message.match(/Blocked a frame with origin .* from accessing a frame with origin/)) | |
return null | |
} catch (n) {} | |
return e | |
} | |
)), | |
r.addFilter((function(e) { | |
var t = e.errors[0]; | |
if (t.backtrace && t.backtrace.length > 0) { | |
var n = t.backtrace[0]; | |
if (/graph\.facebook\.com|connect\.facebook\.net|^chrome(?:-extension)?:\/\/|HTMLDocument\.<anonymous>/.test(n.file)) | |
return null | |
} | |
return e | |
} | |
)), | |
r.addFilter((function(e) { | |
return "TypeError: Illegal invocation" === e.errors[0].message && location.search.indexOf("fbclid") > -1 ? null : e | |
} | |
)), | |
r.addFilter((function(e) { | |
e.context.severity = "warning"; | |
var t = e.errors[0]; | |
if (t.backtrace && t.backtrace.length > 0) { | |
var n = t.backtrace[0]; | |
/(\/assets\/|\/packs\/)/.test(n.file) && (e.context.severity = "error") | |
} | |
return r.addFilter((function(e) { | |
return "[object Event]" === e.errors[0].message ? null : e | |
} | |
)), | |
e | |
} | |
)), | |
r.addFilter((function(e) { | |
return e.context.environment = o.a.env, | |
e.session.fingerprinted_user_id = f, | |
e | |
} | |
))); | |
var d = r; | |
t.a = function(e) { | |
if (!d || "production" !== o.a.env) | |
throw new Error(e); | |
d.notify(e) | |
} | |
}, | |
50: function(e, t, n) {}, | |
52: function(e, t, n) { | |
"use strict"; | |
n.d(t, "b", (function() { | |
return r | |
} | |
)), | |
t.a = function() { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0 | |
, t = parseInt(e / 60) | |
, n = parseInt(e % 60) | |
, i = r(n); | |
return "".concat(t, ":").concat(i) | |
} | |
; | |
var r = function(e) { | |
return "0".concat(e).slice(-2) | |
} | |
}, | |
54: function(e, t, n) {}, | |
55: function(e, t, n) {}, | |
56: function(e, t, n) {}, | |
59: function(e, t, n) { | |
"use strict"; | |
var r = n(0) | |
, i = { | |
props: { | |
value: { | |
type: Number, | |
default: 0 | |
}, | |
min: { | |
type: Number, | |
default: 0 | |
}, | |
max: { | |
type: Number, | |
default: 100 | |
}, | |
hasThumb: { | |
type: Boolean, | |
default: !0 | |
} | |
}, | |
data: function() { | |
return { | |
position: 0 | |
} | |
}, | |
mounted: function() { | |
this.onMouseMoveHandler = this.onMouseMove.bind(this), | |
this.onMouseUpHandler = this.onMouseUp.bind(this), | |
this.lastValue = this.$props.value, | |
this.position = this.getPositionFromValue(this.$props.value), | |
window.addEventListener("resize", this.onResize) | |
}, | |
methods: { | |
getPositionFromValue: function(e) { | |
var t = this.$props.max - this.$props.min; | |
return (e -= this.$props.min) * this.getRect().width / t | |
}, | |
getValueFromPosition: function(e) { | |
var t = (this.$props.max - this.$props.min) * e / this.getRect().width; | |
return t += this.$props.min | |
}, | |
getPositionFromX: function(e) { | |
var t = this.getRect(); | |
return e <= t.left ? 0 : e >= t.right ? t.width : e - t.left | |
}, | |
getRect: function() { | |
return this.$refs.path.getBoundingClientRect() || {} | |
}, | |
setPosition: function(e) { | |
this.position = e; | |
var t = this.getValueFromPosition(e); | |
t !== this.lastValue && (this.$emit("change", t), | |
this.lastValue = t) | |
}, | |
onThumbDown: function(e) { | |
e.preventDefault(), | |
document.addEventListener("mouseup", this.onMouseUpHandler), | |
document.addEventListener("mousemove", this.onMouseMoveHandler) | |
}, | |
onMouseMove: function(e) { | |
var t = this.getPositionFromX(e.pageX); | |
this.setPosition(t) | |
}, | |
onMouseUp: function() { | |
document.removeEventListener("mousemove", this.onMouseMoveHandler), | |
document.removeEventListener("mouseup", this.onMouseUpHandler) | |
}, | |
onPathClick: function(e) { | |
var t = this.getPositionFromX(e.pageX); | |
this.setPosition(t) | |
}, | |
onResize: function() { | |
this.position = this.getPositionFromValue(this.lastValue) | |
} | |
}, | |
watch: { | |
value: function(e) { | |
this.position = this.getPositionFromValue(e), | |
this.lastValue = e | |
} | |
} | |
} | |
, o = (n(83), | |
n(3)) | |
, a = Object(o.a)(i, (function() { | |
var e = this.$createElement | |
, t = this._self._c || e; | |
return t("div", { | |
staticClass: "ranger" | |
}, [t("div", { | |
ref: "path", | |
staticClass: "ranger__path", | |
on: { | |
click: this.onPathClick | |
} | |
}, [t("div", { | |
staticClass: "ranger__trail", | |
style: { | |
width: this.position + "px" | |
} | |
}), this._v(" "), this.hasThumb ? t("div", { | |
staticClass: "ranger__thumb", | |
style: { | |
left: this.position + "px" | |
}, | |
on: { | |
mousedown: this.onThumbDown | |
} | |
}) : this._e()])]) | |
} | |
), [], !1, null, null, null).exports | |
, s = n(52) | |
, c = { | |
props: { | |
audioUrl: { | |
type: String, | |
default: null | |
}, | |
blockName: { | |
type: String, | |
default: null | |
}, | |
hasVolume: { | |
type: Boolean, | |
default: !0 | |
}, | |
hasProgressThumb: { | |
type: Boolean, | |
default: !0 | |
}, | |
hasTime: { | |
type: Boolean, | |
default: !0 | |
}, | |
resetOnEnd: { | |
type: Boolean, | |
default: !1 | |
}, | |
eventName: { | |
type: String, | |
default: "body-20190328-audio_player" | |
}, | |
eventPayload: { | |
type: String, | |
default: null | |
} | |
}, | |
data: function() { | |
return { | |
audio: new Audio, | |
isPaused: !0, | |
currentTime: null, | |
totalTime: null, | |
progressPercent: 0, | |
volumePercent: 100, | |
unmutedVolumePercent: 100 | |
} | |
}, | |
components: { | |
Ranger: a | |
}, | |
computed: { | |
isMuted: function() { | |
return 0 === this.volumePercent | |
}, | |
isPlaying: function() { | |
return !this.isPaused | |
}, | |
prettyCurrentTime: function() { | |
return Object(s.a)(this.currentTime) | |
}, | |
prettyTotalTime: function() { | |
return Object(s.a)(this.totalTime) | |
} | |
}, | |
methods: { | |
setPlaybackRate(playbackRate) { | |
if (!(Number(playbackRate) == playbackRate)) return // Does it coerce to a Number? | |
this.audio.playbackRate = playbackRate | |
window.localStorage.setItem('playbackRate', playbackRate) | |
}, | |
promptPlaybackRate() { | |
const playbackRate | |
= window.prompt('', this.audio.playbackRate) | |
this.setPlaybackRate(playbackRate) | |
}, | |
restorePlaybackRate() { // Restore from local storage | |
const playbackRate | |
= window.localStorage.getItem('playbackRate') | |
this.setPlaybackRate(playbackRate) | |
}, | |
togglePlayPause: function() { | |
this.isPaused ? this.play() : this.pause() | |
}, | |
toggleMute: function() { | |
this.isMuted ? this.volumePercent = this.unmutedVolumePercent : (this.unmutedVolumePercent = this.volumePercent, | |
this.volumePercent = 0) | |
}, | |
play: function() { | |
this.audio.play(), | |
this.$emit("play"), | |
this.track("1-play"), | |
this.isPaused = !1 | |
}, | |
pause: function() { | |
this.isPaused || (this.audio.pause(), | |
this.$emit("pause"), | |
this.track("1-pause"), | |
this.isPaused = !0) | |
}, | |
goTo: function(e) { | |
this.audio.currentTime = e, | |
this.track("1-skip", e) | |
}, | |
onProgressChanged: function(e) { | |
var t = e / 100 * this.totalTime; | |
this.goTo(t) | |
}, | |
onVolumeChanged: function(e) { | |
this.volumePercent = e, | |
this.track("1-volume", e) | |
}, | |
onAudioEnded: function() { | |
this.$emit("ended"), | |
this.resetOnEnd && (this.goTo(0), | |
this.togglePlayPause()) | |
}, | |
onAudioCanPlay: function() { | |
this.currentTime = parseInt(this.audio.currentTime), | |
this.totalTime = parseInt(this.audio.duration), | |
this.isPlaying && this.play() | |
}, | |
onAudioTimeUpdate: function() { | |
this.currentTime = parseInt(this.audio.currentTime) | |
}, | |
track: function(e, t) { | |
var n = [this.eventName, e, this.eventPayload || this.audioUrl]; | |
"undefined" !== typeof t && n.push(t), | |
r.a.track.apply(r.a, n) | |
} | |
}, | |
mounted: function() { | |
this.audio.preload = "metadata", | |
this.audioUrl && (this.audio.src = this.audioUrl, this.restorePlaybackRate()), | |
this.audio.onloadedmetadata = this.onAudioCanPlay, | |
this.audio.ontimeupdate = this.onAudioTimeUpdate, | |
this.audio.onended = this.onAudioEnded | |
}, | |
watch: { | |
audioUrl: function(e) { | |
this.audio.src = e | |
this.restorePlaybackRate() | |
}, | |
currentTime: function(e) { | |
var t = e / this.totalTime * 100; | |
this.progressPercent = parseInt(t) | |
}, | |
volumePercent: function(e) { | |
this.audio.volume = e / 100 | |
} | |
} | |
} | |
, u = Object(o.a)(c, (function() { | |
var e, t, n = this, r = n.$createElement, i = n._self._c || r; | |
return i("div", { | |
class: n.blockName | |
}, [ | |
// My element start | |
i("div", { | |
class: n.blockName + "__element " + n.blockName + "__element--rate" | |
}, [n.audioUrl ? i("div", { | |
class: n.blockName + "__rate", | |
on: { | |
click: n.promptPlaybackRate | |
} | |
}, [n._v(n.audio.playbackRate + 'x')]) : n._e()]), | |
// My element end | |
i("div", { | |
class: n.blockName + "__element " + n.blockName + "__element--play" | |
}, [n.audioUrl ? i("div", { | |
class: (e = {}, | |
e[n.blockName + "__play"] = !0, | |
e[n.blockName + "__pause"] = n.isPlaying, | |
e), | |
on: { | |
click: n.togglePlayPause | |
} | |
}) : n._e()]), n._v(" "), n.hasTime ? i("div", { | |
class: n.blockName + "__element " + n.blockName + "__element--time" | |
}, [i("div", { | |
class: n.blockName + "__remaining-time" | |
}, [n._v("\n " + n._s(n.prettyCurrentTime) + "\n ")])]) : n._e(), n._v(" "), i("div", { | |
class: n.blockName + "__element " + n.blockName + "__element--progress" | |
}, [i("ranger", { | |
class: n.blockName + "__progress", | |
attrs: { | |
value: n.progressPercent, | |
"has-thumb": n.hasProgressThumb | |
}, | |
on: { | |
change: n.onProgressChanged | |
} | |
})], 1), n._v(" "), i("div", { | |
class: n.blockName + "__element " + n.blockName + "__element--total" | |
}, [null !== n.totalTime ? i("div", { | |
class: n.blockName + "__total-time" | |
}, [n._v("\n " + n._s(n.prettyTotalTime) + "\n ")]) : n._e()]), n._v(" "), n.hasVolume ? [i("div", { | |
class: n.blockName + "__element " + n.blockName + "__element--sound" | |
}, [i("div", { | |
class: (t = {}, | |
t[n.blockName + "__sound"] = !0, | |
t[n.blockName + "__sound--mute"] = n.isMuted, | |
t), | |
on: { | |
click: n.toggleMute | |
} | |
})]), n._v(" "), i("div", { | |
class: n.blockName + "__element " + n.blockName + "__element--volume" | |
}, [i("ranger", { | |
class: n.blockName + "__volume", | |
attrs: { | |
value: n.volumePercent | |
}, | |
on: { | |
change: n.onVolumeChanged | |
} | |
})], 1)] : n._e()], 2) | |
} | |
), [], !1, null, null, null); | |
t.a = u.exports | |
}, | |
8: function(e, t, n) { | |
"use strict"; | |
t.a = function() { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : window.location.pathname; | |
return "/de" === e || 0 === e.indexOf("/de/") ? "de" : "en" | |
} | |
}, | |
80: function(e, t, n) { | |
"use strict"; | |
n(20); | |
var r = n(9) | |
, i = n(0) | |
, o = n(10) | |
, a = { | |
props: { | |
duration: { | |
type: Number, | |
default: .3 | |
} | |
}, | |
methods: { | |
enter: function(e) { | |
e.style.animationDuration = "".concat(this.duration, "s"), | |
setTimeout((function() { | |
var t = e.style | |
, n = t.position | |
, r = t.visibility; | |
e.style.position = "absolute", | |
e.style.visibility = "hidden", | |
e.style.height = "auto"; | |
var i = getComputedStyle(e).height; | |
e.style.position = n, | |
e.style.visibility = r, | |
e.style.height = 0, | |
setTimeout((function() { | |
e.style.height = "".concat(i, "px") | |
} | |
)) | |
} | |
)) | |
}, | |
afterEnter: function(e) { | |
e.style.height = "auto" | |
}, | |
leave: function(e) { | |
var t = getComputedStyle(e).height; | |
e.style.height = "".concat(t, "px"), | |
setTimeout((function() { | |
e.style.height = 0 | |
} | |
)) | |
} | |
} | |
} | |
, s = (n(86), | |
n(87), | |
n(3)) | |
, c = Object(s.a)(a, (function() { | |
var e = this.$createElement; | |
return (this._self._c || e)("transition", { | |
attrs: { | |
name: "deploy" | |
}, | |
on: { | |
enter: this.enter, | |
"after-enter": this.afterEnter, | |
leave: this.leave | |
} | |
}, [this._t("default")], 2) | |
} | |
), [], !1, null, "1cc0d2dd", null).exports | |
, u = n(4) | |
, l = { | |
props: { | |
id: { | |
type: String, | |
required: !0 | |
}, | |
type: { | |
type: String, | |
default: "notification" | |
}, | |
content: { | |
type: String, | |
required: !0 | |
}, | |
show: { | |
type: Boolean, | |
default: !1 | |
}, | |
eventCategory: { | |
type: String, | |
default: "body-20190710-banner" | |
}, | |
cookie: { | |
type: [String, Number], | |
default: 0 | |
}, | |
modifiers: { | |
type: Array, | |
default: function() { | |
return [] | |
} | |
} | |
}, | |
data: function() { | |
return { | |
localShow: !1 | |
} | |
}, | |
computed: { | |
className: function() { | |
var e = this.modifiers.concat([this.type, this.id]); | |
return Object(o.a)("banner", e) | |
} | |
}, | |
watch: { | |
show: function(e) { | |
this.localShow = e | |
} | |
}, | |
components: { | |
transitionDeploy: c | |
}, | |
mounted: function() { | |
Object(u.a)(this.id) || this.show && this.open() | |
}, | |
methods: { | |
onCloseClick: function() { | |
this.close() | |
}, | |
open: function() { | |
this.localShow = !0, | |
this.$emit("open"), | |
this.track("1-open") | |
}, | |
close: function() { | |
this.localShow = !1, | |
this.$emit("close"), | |
this.track("1-close"), | |
this.cookie && Object(u.a)(this.id, !0, this.cookie) | |
}, | |
track: function(e) { | |
i.a.track(this.eventCategory, e, this.id) | |
} | |
} | |
} | |
, f = (n(88), | |
Object(s.a)(l, (function() { | |
var e = this.$createElement | |
, t = this._self._c || e; | |
return t("transition-deploy", [this.localShow ? t("div", { | |
class: this.className | |
}, [t("div", { | |
staticClass: "banner__container" | |
}, [t("div", { | |
staticClass: "banner__inner" | |
}, [t("div", { | |
staticClass: "banner__content", | |
domProps: { | |
innerHTML: this._s(this.content) | |
} | |
}), this._v(" "), t("button", { | |
staticClass: "banner__close", | |
on: { | |
click: this.onCloseClick | |
} | |
}, [t("svg", { | |
staticClass: "banner__close-icon", | |
attrs: { | |
xmlns: "http://www.w3.org/2000/svg", | |
viewBox: "0 0 12 12", | |
width: "12", | |
height: "12" | |
} | |
}, [t("polygon", { | |
attrs: { | |
points: "6,7.1 1.1,12 0,10.9 4.9,6 0,1.1 1.1,0 6,4.9 10.9,0 12,1.1 7.1,6 12,10.9 10.9,12 " | |
} | |
})])])])])]) : this._e()]) | |
} | |
), [], !1, null, null, null).exports) | |
, d = n(1); | |
n.d(t, "a", (function() { | |
return v | |
} | |
)); | |
var p, h = document.getElementById("banner"), v = function(e) { | |
var t = document.createElement("div"); | |
h.appendChild(t), | |
new r.a({ | |
el: t, | |
render: function(t) { | |
return t(f, { | |
props: e | |
}) | |
} | |
}) | |
}; | |
h && (p = d.a.banner || {}, | |
Object.keys(p).forEach((function(e) { | |
var t = p[e] | |
, n = t.type | |
, r = t.content | |
, i = t.event; | |
v({ | |
id: e, | |
type: n, | |
content: r, | |
show: !0, | |
eventCategory: i | |
}) | |
} | |
))) | |
}, | |
83: function(e, t, n) { | |
"use strict"; | |
var r = n(50); | |
n.n(r).a | |
}, | |
86: function(e, t, n) { | |
"use strict"; | |
var r = n(54); | |
n.n(r).a | |
}, | |
87: function(e, t, n) { | |
"use strict"; | |
var r = n(55); | |
n.n(r).a | |
}, | |
88: function(e, t, n) { | |
"use strict"; | |
var r = n(56); | |
n.n(r).a | |
}, | |
9: function(e, t, n) { | |
"use strict"; | |
(function(e, n) { | |
function r(e) { | |
return (r = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function(e) { | |
return typeof e | |
} | |
: function(e) { | |
return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
} | |
)(e) | |
} | |
var i = Object.freeze({}); | |
function o(e) { | |
return void 0 === e || null === e | |
} | |
function a(e) { | |
return void 0 !== e && null !== e | |
} | |
function s(e) { | |
return !0 === e | |
} | |
function c(e) { | |
return "string" === typeof e || "number" === typeof e || "symbol" === r(e) || "boolean" === typeof e | |
} | |
function u(e) { | |
return null !== e && "object" === r(e) | |
} | |
var l = Object.prototype.toString; | |
function f(e) { | |
return "[object Object]" === l.call(e) | |
} | |
function d(e) { | |
return "[object RegExp]" === l.call(e) | |
} | |
function p(e) { | |
var t = parseFloat(String(e)); | |
return t >= 0 && Math.floor(t) === t && isFinite(e) | |
} | |
function h(e) { | |
return a(e) && "function" === typeof e.then && "function" === typeof e.catch | |
} | |
function v(e) { | |
return null == e ? "" : Array.isArray(e) || f(e) && e.toString === l ? JSON.stringify(e, null, 2) : String(e) | |
} | |
function m(e) { | |
var t = parseFloat(e); | |
return isNaN(t) ? e : t | |
} | |
function y(e, t) { | |
for (var n = Object.create(null), r = e.split(","), i = 0; i < r.length; i++) | |
n[r[i]] = !0; | |
return t ? function(e) { | |
return n[e.toLowerCase()] | |
} | |
: function(e) { | |
return n[e] | |
} | |
} | |
var g = y("slot,component", !0) | |
, b = y("key,ref,slot,slot-scope,is"); | |
function w(e, t) { | |
if (e.length) { | |
var n = e.indexOf(t); | |
if (n > -1) | |
return e.splice(n, 1) | |
} | |
} | |
var _ = Object.prototype.hasOwnProperty; | |
function k(e, t) { | |
return _.call(e, t) | |
} | |
function x(e) { | |
var t = Object.create(null); | |
return function(n) { | |
return t[n] || (t[n] = e(n)) | |
} | |
} | |
var O = /-(\w)/g | |
, S = x((function(e) { | |
return e.replace(O, (function(e, t) { | |
return t ? t.toUpperCase() : "" | |
} | |
)) | |
} | |
)) | |
, E = x((function(e) { | |
return e.charAt(0).toUpperCase() + e.slice(1) | |
} | |
)) | |
, C = /\B([A-Z])/g | |
, A = x((function(e) { | |
return e.replace(C, "-$1").toLowerCase() | |
} | |
)); | |
var j = Function.prototype.bind ? function(e, t) { | |
return e.bind(t) | |
} | |
: function(e, t) { | |
function n(n) { | |
var r = arguments.length; | |
return r ? r > 1 ? e.apply(t, arguments) : e.call(t, n) : e.call(t) | |
} | |
return n._length = e.length, | |
n | |
} | |
; | |
function T(e, t) { | |
t = t || 0; | |
for (var n = e.length - t, r = new Array(n); n--; ) | |
r[n] = e[n + t]; | |
return r | |
} | |
function $(e, t) { | |
for (var n in t) | |
e[n] = t[n]; | |
return e | |
} | |
function L(e) { | |
for (var t = {}, n = 0; n < e.length; n++) | |
e[n] && $(t, e[n]); | |
return t | |
} | |
function P(e, t, n) {} | |
var N = function(e, t, n) { | |
return !1 | |
} | |
, M = function(e) { | |
return e | |
}; | |
function D(e, t) { | |
if (e === t) | |
return !0; | |
var n = u(e) | |
, r = u(t); | |
if (!n || !r) | |
return !n && !r && String(e) === String(t); | |
try { | |
var i = Array.isArray(e) | |
, o = Array.isArray(t); | |
if (i && o) | |
return e.length === t.length && e.every((function(e, n) { | |
return D(e, t[n]) | |
} | |
)); | |
if (e instanceof Date && t instanceof Date) | |
return e.getTime() === t.getTime(); | |
if (i || o) | |
return !1; | |
var a = Object.keys(e) | |
, s = Object.keys(t); | |
return a.length === s.length && a.every((function(n) { | |
return D(e[n], t[n]) | |
} | |
)) | |
} catch (c) { | |
return !1 | |
} | |
} | |
function R(e, t) { | |
for (var n = 0; n < e.length; n++) | |
if (D(e[n], t)) | |
return n; | |
return -1 | |
} | |
function I(e) { | |
var t = !1; | |
return function() { | |
t || (t = !0, | |
e.apply(this, arguments)) | |
} | |
} | |
var F = "data-server-rendered" | |
, B = ["component", "directive", "filter"] | |
, U = ["beforeCreate", "created", "beforeMount", "mounted", "beforeUpdate", "updated", "beforeDestroy", "destroyed", "activated", "deactivated", "errorCaptured", "serverPrefetch"] | |
, q = { | |
optionMergeStrategies: Object.create(null), | |
silent: !1, | |
productionTip: !1, | |
devtools: !1, | |
performance: !1, | |
errorHandler: null, | |
warnHandler: null, | |
ignoredElements: [], | |
keyCodes: Object.create(null), | |
isReservedTag: N, | |
isReservedAttr: N, | |
isUnknownElement: N, | |
getTagNamespace: P, | |
parsePlatformTagName: M, | |
mustUseProp: N, | |
async: !0, | |
_lifecycleHooks: U | |
} | |
, H = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/; | |
function z(e) { | |
var t = (e + "").charCodeAt(0); | |
return 36 === t || 95 === t | |
} | |
function V(e, t, n, r) { | |
Object.defineProperty(e, t, { | |
value: n, | |
enumerable: !!r, | |
writable: !0, | |
configurable: !0 | |
}) | |
} | |
var W = new RegExp("[^" + H.source + ".$_\\d]"); | |
var X, K = "__proto__"in {}, G = "undefined" !== typeof window, J = "undefined" !== typeof WXEnvironment && !!WXEnvironment.platform, Z = J && WXEnvironment.platform.toLowerCase(), Q = G && window.navigator.userAgent.toLowerCase(), Y = Q && /msie|trident/.test(Q), ee = Q && Q.indexOf("msie 9.0") > 0, te = Q && Q.indexOf("edge/") > 0, ne = (Q && Q.indexOf("android"), | |
Q && /iphone|ipad|ipod|ios/.test(Q) || "ios" === Z), re = (Q && /chrome\/\d+/.test(Q), | |
Q && /phantomjs/.test(Q), | |
Q && Q.match(/firefox\/(\d+)/)), ie = {}.watch, oe = !1; | |
if (G) | |
try { | |
var ae = {}; | |
Object.defineProperty(ae, "passive", { | |
get: function() { | |
oe = !0 | |
} | |
}), | |
window.addEventListener("test-passive", null, ae) | |
} catch (vs) {} | |
var se = function() { | |
return void 0 === X && (X = !G && !J && "undefined" !== typeof e && (e.process && "server" === e.process.env.VUE_ENV)), | |
X | |
} | |
, ce = G && window.__VUE_DEVTOOLS_GLOBAL_HOOK__; | |
function ue(e) { | |
return "function" === typeof e && /native code/.test(e.toString()) | |
} | |
var le, fe = "undefined" !== typeof Symbol && ue(Symbol) && "undefined" !== typeof Reflect && ue(Reflect.ownKeys); | |
le = "undefined" !== typeof Set && ue(Set) ? Set : function() { | |
function e() { | |
this.set = Object.create(null) | |
} | |
return e.prototype.has = function(e) { | |
return !0 === this.set[e] | |
} | |
, | |
e.prototype.add = function(e) { | |
this.set[e] = !0 | |
} | |
, | |
e.prototype.clear = function() { | |
this.set = Object.create(null) | |
} | |
, | |
e | |
}(); | |
var de = P | |
, pe = 0 | |
, he = function() { | |
this.id = pe++, | |
this.subs = [] | |
}; | |
he.prototype.addSub = function(e) { | |
this.subs.push(e) | |
} | |
, | |
he.prototype.removeSub = function(e) { | |
w(this.subs, e) | |
} | |
, | |
he.prototype.depend = function() { | |
he.target && he.target.addDep(this) | |
} | |
, | |
he.prototype.notify = function() { | |
var e = this.subs.slice(); | |
for (var t = 0, n = e.length; t < n; t++) | |
e[t].update() | |
} | |
, | |
he.target = null; | |
var ve = []; | |
function me(e) { | |
ve.push(e), | |
he.target = e | |
} | |
function ye() { | |
ve.pop(), | |
he.target = ve[ve.length - 1] | |
} | |
var ge = function(e, t, n, r, i, o, a, s) { | |
this.tag = e, | |
this.data = t, | |
this.children = n, | |
this.text = r, | |
this.elm = i, | |
this.ns = void 0, | |
this.context = o, | |
this.fnContext = void 0, | |
this.fnOptions = void 0, | |
this.fnScopeId = void 0, | |
this.key = t && t.key, | |
this.componentOptions = a, | |
this.componentInstance = void 0, | |
this.parent = void 0, | |
this.raw = !1, | |
this.isStatic = !1, | |
this.isRootInsert = !0, | |
this.isComment = !1, | |
this.isCloned = !1, | |
this.isOnce = !1, | |
this.asyncFactory = s, | |
this.asyncMeta = void 0, | |
this.isAsyncPlaceholder = !1 | |
} | |
, be = { | |
child: { | |
configurable: !0 | |
} | |
}; | |
be.child.get = function() { | |
return this.componentInstance | |
} | |
, | |
Object.defineProperties(ge.prototype, be); | |
var we = function(e) { | |
void 0 === e && (e = ""); | |
var t = new ge; | |
return t.text = e, | |
t.isComment = !0, | |
t | |
}; | |
function _e(e) { | |
return new ge(void 0,void 0,void 0,String(e)) | |
} | |
function ke(e) { | |
var t = new ge(e.tag,e.data,e.children && e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory); | |
return t.ns = e.ns, | |
t.isStatic = e.isStatic, | |
t.key = e.key, | |
t.isComment = e.isComment, | |
t.fnContext = e.fnContext, | |
t.fnOptions = e.fnOptions, | |
t.fnScopeId = e.fnScopeId, | |
t.asyncMeta = e.asyncMeta, | |
t.isCloned = !0, | |
t | |
} | |
var xe = Array.prototype | |
, Oe = Object.create(xe); | |
["push", "pop", "shift", "unshift", "splice", "sort", "reverse"].forEach((function(e) { | |
var t = xe[e]; | |
V(Oe, e, (function() { | |
for (var n = [], r = arguments.length; r--; ) | |
n[r] = arguments[r]; | |
var i, o = t.apply(this, n), a = this.__ob__; | |
switch (e) { | |
case "push": | |
case "unshift": | |
i = n; | |
break; | |
case "splice": | |
i = n.slice(2) | |
} | |
return i && a.observeArray(i), | |
a.dep.notify(), | |
o | |
} | |
)) | |
} | |
)); | |
var Se = Object.getOwnPropertyNames(Oe) | |
, Ee = !0; | |
function Ce(e) { | |
Ee = e | |
} | |
var Ae = function(e) { | |
this.value = e, | |
this.dep = new he, | |
this.vmCount = 0, | |
V(e, "__ob__", this), | |
Array.isArray(e) ? (K ? function(e, t) { | |
e.__proto__ = t | |
}(e, Oe) : function(e, t, n) { | |
for (var r = 0, i = n.length; r < i; r++) { | |
var o = n[r]; | |
V(e, o, t[o]) | |
} | |
}(e, Oe, Se), | |
this.observeArray(e)) : this.walk(e) | |
}; | |
function je(e, t) { | |
var n; | |
if (u(e) && !(e instanceof ge)) | |
return k(e, "__ob__") && e.__ob__ instanceof Ae ? n = e.__ob__ : Ee && !se() && (Array.isArray(e) || f(e)) && Object.isExtensible(e) && !e._isVue && (n = new Ae(e)), | |
t && n && n.vmCount++, | |
n | |
} | |
function Te(e, t, n, r, i) { | |
var o = new he | |
, a = Object.getOwnPropertyDescriptor(e, t); | |
if (!a || !1 !== a.configurable) { | |
var s = a && a.get | |
, c = a && a.set; | |
s && !c || 2 !== arguments.length || (n = e[t]); | |
var u = !i && je(n); | |
Object.defineProperty(e, t, { | |
enumerable: !0, | |
configurable: !0, | |
get: function() { | |
var t = s ? s.call(e) : n; | |
return he.target && (o.depend(), | |
u && (u.dep.depend(), | |
Array.isArray(t) && function e(t) { | |
for (var n = void 0, r = 0, i = t.length; r < i; r++) | |
(n = t[r]) && n.__ob__ && n.__ob__.dep.depend(), | |
Array.isArray(n) && e(n) | |
}(t))), | |
t | |
}, | |
set: function(t) { | |
var r = s ? s.call(e) : n; | |
t === r || t !== t && r !== r || s && !c || (c ? c.call(e, t) : n = t, | |
u = !i && je(t), | |
o.notify()) | |
} | |
}) | |
} | |
} | |
function $e(e, t, n) { | |
if (Array.isArray(e) && p(t)) | |
return e.length = Math.max(e.length, t), | |
e.splice(t, 1, n), | |
n; | |
if (t in e && !(t in Object.prototype)) | |
return e[t] = n, | |
n; | |
var r = e.__ob__; | |
return e._isVue || r && r.vmCount ? n : r ? (Te(r.value, t, n), | |
r.dep.notify(), | |
n) : (e[t] = n, | |
n) | |
} | |
function Le(e, t) { | |
if (Array.isArray(e) && p(t)) | |
e.splice(t, 1); | |
else { | |
var n = e.__ob__; | |
e._isVue || n && n.vmCount || k(e, t) && (delete e[t], | |
n && n.dep.notify()) | |
} | |
} | |
Ae.prototype.walk = function(e) { | |
for (var t = Object.keys(e), n = 0; n < t.length; n++) | |
Te(e, t[n]) | |
} | |
, | |
Ae.prototype.observeArray = function(e) { | |
for (var t = 0, n = e.length; t < n; t++) | |
je(e[t]) | |
} | |
; | |
var Pe = q.optionMergeStrategies; | |
function Ne(e, t) { | |
if (!t) | |
return e; | |
for (var n, r, i, o = fe ? Reflect.ownKeys(t) : Object.keys(t), a = 0; a < o.length; a++) | |
"__ob__" !== (n = o[a]) && (r = e[n], | |
i = t[n], | |
k(e, n) ? r !== i && f(r) && f(i) && Ne(r, i) : $e(e, n, i)); | |
return e | |
} | |
function Me(e, t, n) { | |
return n ? function() { | |
var r = "function" === typeof t ? t.call(n, n) : t | |
, i = "function" === typeof e ? e.call(n, n) : e; | |
return r ? Ne(r, i) : i | |
} | |
: t ? e ? function() { | |
return Ne("function" === typeof t ? t.call(this, this) : t, "function" === typeof e ? e.call(this, this) : e) | |
} | |
: t : e | |
} | |
function De(e, t) { | |
var n = t ? e ? e.concat(t) : Array.isArray(t) ? t : [t] : e; | |
return n ? function(e) { | |
for (var t = [], n = 0; n < e.length; n++) | |
-1 === t.indexOf(e[n]) && t.push(e[n]); | |
return t | |
}(n) : n | |
} | |
function Re(e, t, n, r) { | |
var i = Object.create(e || null); | |
return t ? $(i, t) : i | |
} | |
Pe.data = function(e, t, n) { | |
return n ? Me(e, t, n) : t && "function" !== typeof t ? e : Me(e, t) | |
} | |
, | |
U.forEach((function(e) { | |
Pe[e] = De | |
} | |
)), | |
B.forEach((function(e) { | |
Pe[e + "s"] = Re | |
} | |
)), | |
Pe.watch = function(e, t, n, r) { | |
if (e === ie && (e = void 0), | |
t === ie && (t = void 0), | |
!t) | |
return Object.create(e || null); | |
if (!e) | |
return t; | |
var i = {}; | |
for (var o in $(i, e), | |
t) { | |
var a = i[o] | |
, s = t[o]; | |
a && !Array.isArray(a) && (a = [a]), | |
i[o] = a ? a.concat(s) : Array.isArray(s) ? s : [s] | |
} | |
return i | |
} | |
, | |
Pe.props = Pe.methods = Pe.inject = Pe.computed = function(e, t, n, r) { | |
if (!e) | |
return t; | |
var i = Object.create(null); | |
return $(i, e), | |
t && $(i, t), | |
i | |
} | |
, | |
Pe.provide = Me; | |
var Ie = function(e, t) { | |
return void 0 === t ? e : t | |
}; | |
function Fe(e, t, n) { | |
if ("function" === typeof t && (t = t.options), | |
function(e, t) { | |
var n = e.props; | |
if (n) { | |
var r, i, o = {}; | |
if (Array.isArray(n)) | |
for (r = n.length; r--; ) | |
"string" === typeof (i = n[r]) && (o[S(i)] = { | |
type: null | |
}); | |
else if (f(n)) | |
for (var a in n) | |
i = n[a], | |
o[S(a)] = f(i) ? i : { | |
type: i | |
}; | |
else | |
0; | |
e.props = o | |
} | |
}(t), | |
function(e, t) { | |
var n = e.inject; | |
if (n) { | |
var r = e.inject = {}; | |
if (Array.isArray(n)) | |
for (var i = 0; i < n.length; i++) | |
r[n[i]] = { | |
from: n[i] | |
}; | |
else if (f(n)) | |
for (var o in n) { | |
var a = n[o]; | |
r[o] = f(a) ? $({ | |
from: o | |
}, a) : { | |
from: a | |
} | |
} | |
else | |
0 | |
} | |
}(t), | |
function(e) { | |
var t = e.directives; | |
if (t) | |
for (var n in t) { | |
var r = t[n]; | |
"function" === typeof r && (t[n] = { | |
bind: r, | |
update: r | |
}) | |
} | |
}(t), | |
!t._base && (t.extends && (e = Fe(e, t.extends, n)), | |
t.mixins)) | |
for (var r = 0, i = t.mixins.length; r < i; r++) | |
e = Fe(e, t.mixins[r], n); | |
var o, a = {}; | |
for (o in e) | |
s(o); | |
for (o in t) | |
k(e, o) || s(o); | |
function s(r) { | |
var i = Pe[r] || Ie; | |
a[r] = i(e[r], t[r], n, r) | |
} | |
return a | |
} | |
function Be(e, t, n, r) { | |
if ("string" === typeof n) { | |
var i = e[t]; | |
if (k(i, n)) | |
return i[n]; | |
var o = S(n); | |
if (k(i, o)) | |
return i[o]; | |
var a = E(o); | |
return k(i, a) ? i[a] : i[n] || i[o] || i[a] | |
} | |
} | |
function Ue(e, t, n, r) { | |
var i = t[e] | |
, o = !k(n, e) | |
, a = n[e] | |
, s = ze(Boolean, i.type); | |
if (s > -1) | |
if (o && !k(i, "default")) | |
a = !1; | |
else if ("" === a || a === A(e)) { | |
var c = ze(String, i.type); | |
(c < 0 || s < c) && (a = !0) | |
} | |
if (void 0 === a) { | |
a = function(e, t, n) { | |
if (!k(t, "default")) | |
return; | |
var r = t.default; | |
0; | |
if (e && e.$options.propsData && void 0 === e.$options.propsData[n] && void 0 !== e._props[n]) | |
return e._props[n]; | |
return "function" === typeof r && "Function" !== qe(t.type) ? r.call(e) : r | |
}(r, i, e); | |
var u = Ee; | |
Ce(!0), | |
je(a), | |
Ce(u) | |
} | |
return a | |
} | |
function qe(e) { | |
var t = e && e.toString().match(/^\s*function (\w+)/); | |
return t ? t[1] : "" | |
} | |
function He(e, t) { | |
return qe(e) === qe(t) | |
} | |
function ze(e, t) { | |
if (!Array.isArray(t)) | |
return He(t, e) ? 0 : -1; | |
for (var n = 0, r = t.length; n < r; n++) | |
if (He(t[n], e)) | |
return n; | |
return -1 | |
} | |
function Ve(e, t, n) { | |
me(); | |
try { | |
if (t) | |
for (var r = t; r = r.$parent; ) { | |
var i = r.$options.errorCaptured; | |
if (i) | |
for (var o = 0; o < i.length; o++) | |
try { | |
if (!1 === i[o].call(r, e, t, n)) | |
return | |
} catch (vs) { | |
Xe(vs, r, "errorCaptured hook") | |
} | |
} | |
Xe(e, t, n) | |
} finally { | |
ye() | |
} | |
} | |
function We(e, t, n, r, i) { | |
var o; | |
try { | |
(o = n ? e.apply(t, n) : e.call(t)) && !o._isVue && h(o) && !o._handled && (o.catch((function(e) { | |
return Ve(e, r, i + " (Promise/async)") | |
} | |
)), | |
o._handled = !0) | |
} catch (vs) { | |
Ve(vs, r, i) | |
} | |
return o | |
} | |
function Xe(e, t, n) { | |
if (q.errorHandler) | |
try { | |
return q.errorHandler.call(null, e, t, n) | |
} catch (vs) { | |
vs !== e && Ke(vs, null, "config.errorHandler") | |
} | |
Ke(e, t, n) | |
} | |
function Ke(e, t, n) { | |
if (!G && !J || "undefined" === typeof console) | |
throw e; | |
console.error(e) | |
} | |
var Ge, Je = !1, Ze = [], Qe = !1; | |
function Ye() { | |
Qe = !1; | |
var e = Ze.slice(0); | |
Ze.length = 0; | |
for (var t = 0; t < e.length; t++) | |
e[t]() | |
} | |
if ("undefined" !== typeof Promise && ue(Promise)) { | |
var et = Promise.resolve(); | |
Ge = function() { | |
et.then(Ye), | |
ne && setTimeout(P) | |
} | |
, | |
Je = !0 | |
} else if (Y || "undefined" === typeof MutationObserver || !ue(MutationObserver) && "[object MutationObserverConstructor]" !== MutationObserver.toString()) | |
Ge = "undefined" !== typeof n && ue(n) ? function() { | |
n(Ye) | |
} | |
: function() { | |
setTimeout(Ye, 0) | |
} | |
; | |
else { | |
var tt = 1 | |
, nt = new MutationObserver(Ye) | |
, rt = document.createTextNode(String(tt)); | |
nt.observe(rt, { | |
characterData: !0 | |
}), | |
Ge = function() { | |
tt = (tt + 1) % 2, | |
rt.data = String(tt) | |
} | |
, | |
Je = !0 | |
} | |
function it(e, t) { | |
var n; | |
if (Ze.push((function() { | |
if (e) | |
try { | |
e.call(t) | |
} catch (vs) { | |
Ve(vs, t, "nextTick") | |
} | |
else | |
n && n(t) | |
} | |
)), | |
Qe || (Qe = !0, | |
Ge()), | |
!e && "undefined" !== typeof Promise) | |
return new Promise((function(e) { | |
n = e | |
} | |
)) | |
} | |
var ot = new le; | |
function at(e) { | |
!function e(t, n) { | |
var r, i, o = Array.isArray(t); | |
if (!o && !u(t) || Object.isFrozen(t) || t instanceof ge) | |
return; | |
if (t.__ob__) { | |
var a = t.__ob__.dep.id; | |
if (n.has(a)) | |
return; | |
n.add(a) | |
} | |
if (o) | |
for (r = t.length; r--; ) | |
e(t[r], n); | |
else | |
for (i = Object.keys(t), | |
r = i.length; r--; ) | |
e(t[i[r]], n) | |
}(e, ot), | |
ot.clear() | |
} | |
var st = x((function(e) { | |
var t = "&" === e.charAt(0) | |
, n = "~" === (e = t ? e.slice(1) : e).charAt(0) | |
, r = "!" === (e = n ? e.slice(1) : e).charAt(0); | |
return { | |
name: e = r ? e.slice(1) : e, | |
once: n, | |
capture: r, | |
passive: t | |
} | |
} | |
)); | |
function ct(e, t) { | |
function n() { | |
var e = arguments | |
, r = n.fns; | |
if (!Array.isArray(r)) | |
return We(r, null, arguments, t, "v-on handler"); | |
for (var i = r.slice(), o = 0; o < i.length; o++) | |
We(i[o], null, e, t, "v-on handler") | |
} | |
return n.fns = e, | |
n | |
} | |
function ut(e, t, n, r, i, a) { | |
var c, u, l, f; | |
for (c in e) | |
u = e[c], | |
l = t[c], | |
f = st(c), | |
o(u) || (o(l) ? (o(u.fns) && (u = e[c] = ct(u, a)), | |
s(f.once) && (u = e[c] = i(f.name, u, f.capture)), | |
n(f.name, u, f.capture, f.passive, f.params)) : u !== l && (l.fns = u, | |
e[c] = l)); | |
for (c in t) | |
o(e[c]) && r((f = st(c)).name, t[c], f.capture) | |
} | |
function lt(e, t, n) { | |
var r; | |
e instanceof ge && (e = e.data.hook || (e.data.hook = {})); | |
var i = e[t]; | |
function c() { | |
n.apply(this, arguments), | |
w(r.fns, c) | |
} | |
o(i) ? r = ct([c]) : a(i.fns) && s(i.merged) ? (r = i).fns.push(c) : r = ct([i, c]), | |
r.merged = !0, | |
e[t] = r | |
} | |
function ft(e, t, n, r, i) { | |
if (a(t)) { | |
if (k(t, n)) | |
return e[n] = t[n], | |
i || delete t[n], | |
!0; | |
if (k(t, r)) | |
return e[n] = t[r], | |
i || delete t[r], | |
!0 | |
} | |
return !1 | |
} | |
function dt(e) { | |
return c(e) ? [_e(e)] : Array.isArray(e) ? function e(t, n) { | |
var r, i, u, l, f = []; | |
for (r = 0; r < t.length; r++) | |
o(i = t[r]) || "boolean" === typeof i || (u = f.length - 1, | |
l = f[u], | |
Array.isArray(i) ? i.length > 0 && (pt((i = e(i, (n || "") + "_" + r))[0]) && pt(l) && (f[u] = _e(l.text + i[0].text), | |
i.shift()), | |
f.push.apply(f, i)) : c(i) ? pt(l) ? f[u] = _e(l.text + i) : "" !== i && f.push(_e(i)) : pt(i) && pt(l) ? f[u] = _e(l.text + i.text) : (s(t._isVList) && a(i.tag) && o(i.key) && a(n) && (i.key = "__vlist" + n + "_" + r + "__"), | |
f.push(i))); | |
return f | |
}(e) : void 0 | |
} | |
function pt(e) { | |
return a(e) && a(e.text) && !1 === e.isComment | |
} | |
function ht(e, t) { | |
if (e) { | |
for (var n = Object.create(null), r = fe ? Reflect.ownKeys(e) : Object.keys(e), i = 0; i < r.length; i++) { | |
var o = r[i]; | |
if ("__ob__" !== o) { | |
for (var a = e[o].from, s = t; s; ) { | |
if (s._provided && k(s._provided, a)) { | |
n[o] = s._provided[a]; | |
break | |
} | |
s = s.$parent | |
} | |
if (!s) | |
if ("default"in e[o]) { | |
var c = e[o].default; | |
n[o] = "function" === typeof c ? c.call(t) : c | |
} else | |
0 | |
} | |
} | |
return n | |
} | |
} | |
function vt(e, t) { | |
if (!e || !e.length) | |
return {}; | |
for (var n = {}, r = 0, i = e.length; r < i; r++) { | |
var o = e[r] | |
, a = o.data; | |
if (a && a.attrs && a.attrs.slot && delete a.attrs.slot, | |
o.context !== t && o.fnContext !== t || !a || null == a.slot) | |
(n.default || (n.default = [])).push(o); | |
else { | |
var s = a.slot | |
, c = n[s] || (n[s] = []); | |
"template" === o.tag ? c.push.apply(c, o.children || []) : c.push(o) | |
} | |
} | |
for (var u in n) | |
n[u].every(mt) && delete n[u]; | |
return n | |
} | |
function mt(e) { | |
return e.isComment && !e.asyncFactory || " " === e.text | |
} | |
function yt(e, t, n) { | |
var r, o = Object.keys(t).length > 0, a = e ? !!e.$stable : !o, s = e && e.$key; | |
if (e) { | |
if (e._normalized) | |
return e._normalized; | |
if (a && n && n !== i && s === n.$key && !o && !n.$hasNormal) | |
return n; | |
for (var c in r = {}, | |
e) | |
e[c] && "$" !== c[0] && (r[c] = gt(t, c, e[c])) | |
} else | |
r = {}; | |
for (var u in t) | |
u in r || (r[u] = bt(t, u)); | |
return e && Object.isExtensible(e) && (e._normalized = r), | |
V(r, "$stable", a), | |
V(r, "$key", s), | |
V(r, "$hasNormal", o), | |
r | |
} | |
function gt(e, t, n) { | |
var i = function() { | |
var e = arguments.length ? n.apply(null, arguments) : n({}); | |
return (e = e && "object" === r(e) && !Array.isArray(e) ? [e] : dt(e)) && (0 === e.length || 1 === e.length && e[0].isComment) ? void 0 : e | |
}; | |
return n.proxy && Object.defineProperty(e, t, { | |
get: i, | |
enumerable: !0, | |
configurable: !0 | |
}), | |
i | |
} | |
function bt(e, t) { | |
return function() { | |
return e[t] | |
} | |
} | |
function wt(e, t) { | |
var n, r, i, o, s; | |
if (Array.isArray(e) || "string" === typeof e) | |
for (n = new Array(e.length), | |
r = 0, | |
i = e.length; r < i; r++) | |
n[r] = t(e[r], r); | |
else if ("number" === typeof e) | |
for (n = new Array(e), | |
r = 0; r < e; r++) | |
n[r] = t(r + 1, r); | |
else if (u(e)) | |
if (fe && e[Symbol.iterator]) { | |
n = []; | |
for (var c = e[Symbol.iterator](), l = c.next(); !l.done; ) | |
n.push(t(l.value, n.length)), | |
l = c.next() | |
} else | |
for (o = Object.keys(e), | |
n = new Array(o.length), | |
r = 0, | |
i = o.length; r < i; r++) | |
s = o[r], | |
n[r] = t(e[s], s, r); | |
return a(n) || (n = []), | |
n._isVList = !0, | |
n | |
} | |
function _t(e, t, n, r) { | |
var i, o = this.$scopedSlots[e]; | |
o ? (n = n || {}, | |
r && (n = $($({}, r), n)), | |
i = o(n) || t) : i = this.$slots[e] || t; | |
var a = n && n.slot; | |
return a ? this.$createElement("template", { | |
slot: a | |
}, i) : i | |
} | |
function kt(e) { | |
return Be(this.$options, "filters", e) || M | |
} | |
function xt(e, t) { | |
return Array.isArray(e) ? -1 === e.indexOf(t) : e !== t | |
} | |
function Ot(e, t, n, r, i) { | |
var o = q.keyCodes[t] || n; | |
return i && r && !q.keyCodes[t] ? xt(i, r) : o ? xt(o, e) : r ? A(r) !== t : void 0 | |
} | |
function St(e, t, n, r, i) { | |
if (n) | |
if (u(n)) { | |
var o; | |
Array.isArray(n) && (n = L(n)); | |
var a = function(a) { | |
if ("class" === a || "style" === a || b(a)) | |
o = e; | |
else { | |
var s = e.attrs && e.attrs.type; | |
o = r || q.mustUseProp(t, s, a) ? e.domProps || (e.domProps = {}) : e.attrs || (e.attrs = {}) | |
} | |
var c = S(a) | |
, u = A(a); | |
c in o || u in o || (o[a] = n[a], | |
i && ((e.on || (e.on = {}))["update:" + a] = function(e) { | |
n[a] = e | |
} | |
)) | |
}; | |
for (var s in n) | |
a(s) | |
} else | |
;return e | |
} | |
function Et(e, t) { | |
var n = this._staticTrees || (this._staticTrees = []) | |
, r = n[e]; | |
return r && !t ? r : (At(r = n[e] = this.$options.staticRenderFns[e].call(this._renderProxy, null, this), "__static__" + e, !1), | |
r) | |
} | |
function Ct(e, t, n) { | |
return At(e, "__once__" + t + (n ? "_" + n : ""), !0), | |
e | |
} | |
function At(e, t, n) { | |
if (Array.isArray(e)) | |
for (var r = 0; r < e.length; r++) | |
e[r] && "string" !== typeof e[r] && jt(e[r], t + "_" + r, n); | |
else | |
jt(e, t, n) | |
} | |
function jt(e, t, n) { | |
e.isStatic = !0, | |
e.key = t, | |
e.isOnce = n | |
} | |
function Tt(e, t) { | |
if (t) | |
if (f(t)) { | |
var n = e.on = e.on ? $({}, e.on) : {}; | |
for (var r in t) { | |
var i = n[r] | |
, o = t[r]; | |
n[r] = i ? [].concat(i, o) : o | |
} | |
} else | |
;return e | |
} | |
function $t(e, t, n, r) { | |
t = t || { | |
$stable: !n | |
}; | |
for (var i = 0; i < e.length; i++) { | |
var o = e[i]; | |
Array.isArray(o) ? $t(o, t, n) : o && (o.proxy && (o.fn.proxy = !0), | |
t[o.key] = o.fn) | |
} | |
return r && (t.$key = r), | |
t | |
} | |
function Lt(e, t) { | |
for (var n = 0; n < t.length; n += 2) { | |
var r = t[n]; | |
"string" === typeof r && r && (e[t[n]] = t[n + 1]) | |
} | |
return e | |
} | |
function Pt(e, t) { | |
return "string" === typeof e ? t + e : e | |
} | |
function Nt(e) { | |
e._o = Ct, | |
e._n = m, | |
e._s = v, | |
e._l = wt, | |
e._t = _t, | |
e._q = D, | |
e._i = R, | |
e._m = Et, | |
e._f = kt, | |
e._k = Ot, | |
e._b = St, | |
e._v = _e, | |
e._e = we, | |
e._u = $t, | |
e._g = Tt, | |
e._d = Lt, | |
e._p = Pt | |
} | |
function Mt(e, t, n, r, o) { | |
var a, c = this, u = o.options; | |
k(r, "_uid") ? (a = Object.create(r))._original = r : (a = r, | |
r = r._original); | |
var l = s(u._compiled) | |
, f = !l; | |
this.data = e, | |
this.props = t, | |
this.children = n, | |
this.parent = r, | |
this.listeners = e.on || i, | |
this.injections = ht(u.inject, r), | |
this.slots = function() { | |
return c.$slots || yt(e.scopedSlots, c.$slots = vt(n, r)), | |
c.$slots | |
} | |
, | |
Object.defineProperty(this, "scopedSlots", { | |
enumerable: !0, | |
get: function() { | |
return yt(e.scopedSlots, this.slots()) | |
} | |
}), | |
l && (this.$options = u, | |
this.$slots = this.slots(), | |
this.$scopedSlots = yt(e.scopedSlots, this.$slots)), | |
u._scopeId ? this._c = function(e, t, n, i) { | |
var o = zt(a, e, t, n, i, f); | |
return o && !Array.isArray(o) && (o.fnScopeId = u._scopeId, | |
o.fnContext = r), | |
o | |
} | |
: this._c = function(e, t, n, r) { | |
return zt(a, e, t, n, r, f) | |
} | |
} | |
function Dt(e, t, n, r, i) { | |
var o = ke(e); | |
return o.fnContext = n, | |
o.fnOptions = r, | |
t.slot && ((o.data || (o.data = {})).slot = t.slot), | |
o | |
} | |
function Rt(e, t) { | |
for (var n in t) | |
e[S(n)] = t[n] | |
} | |
Nt(Mt.prototype); | |
var It = { | |
init: function(e, t) { | |
if (e.componentInstance && !e.componentInstance._isDestroyed && e.data.keepAlive) { | |
var n = e; | |
It.prepatch(n, n) | |
} else { | |
(e.componentInstance = function(e, t) { | |
var n = { | |
_isComponent: !0, | |
_parentVnode: e, | |
parent: t | |
} | |
, r = e.data.inlineTemplate; | |
a(r) && (n.render = r.render, | |
n.staticRenderFns = r.staticRenderFns); | |
return new e.componentOptions.Ctor(n) | |
}(e, en)).$mount(t ? e.elm : void 0, t) | |
} | |
}, | |
prepatch: function(e, t) { | |
var n = t.componentOptions; | |
!function(e, t, n, r, o) { | |
0; | |
var a = r.data.scopedSlots | |
, s = e.$scopedSlots | |
, c = !!(a && !a.$stable || s !== i && !s.$stable || a && e.$scopedSlots.$key !== a.$key) | |
, u = !!(o || e.$options._renderChildren || c); | |
e.$options._parentVnode = r, | |
e.$vnode = r, | |
e._vnode && (e._vnode.parent = r); | |
if (e.$options._renderChildren = o, | |
e.$attrs = r.data.attrs || i, | |
e.$listeners = n || i, | |
t && e.$options.props) { | |
Ce(!1); | |
for (var l = e._props, f = e.$options._propKeys || [], d = 0; d < f.length; d++) { | |
var p = f[d] | |
, h = e.$options.props; | |
l[p] = Ue(p, h, t, e) | |
} | |
Ce(!0), | |
e.$options.propsData = t | |
} | |
n = n || i; | |
var v = e.$options._parentListeners; | |
e.$options._parentListeners = n, | |
Yt(e, n, v), | |
u && (e.$slots = vt(o, r.context), | |
e.$forceUpdate()); | |
0 | |
}(t.componentInstance = e.componentInstance, n.propsData, n.listeners, t, n.children) | |
}, | |
insert: function(e) { | |
var t, n = e.context, r = e.componentInstance; | |
r._isMounted || (r._isMounted = !0, | |
on(r, "mounted")), | |
e.data.keepAlive && (n._isMounted ? ((t = r)._inactive = !1, | |
sn.push(t)) : rn(r, !0)) | |
}, | |
destroy: function(e) { | |
var t = e.componentInstance; | |
t._isDestroyed || (e.data.keepAlive ? function e(t, n) { | |
if (n && (t._directInactive = !0, | |
nn(t))) | |
return; | |
if (!t._inactive) { | |
t._inactive = !0; | |
for (var r = 0; r < t.$children.length; r++) | |
e(t.$children[r]); | |
on(t, "deactivated") | |
} | |
}(t, !0) : t.$destroy()) | |
} | |
} | |
, Ft = Object.keys(It); | |
function Bt(e, t, n, r, c) { | |
if (!o(e)) { | |
var l = n.$options._base; | |
if (u(e) && (e = l.extend(e)), | |
"function" === typeof e) { | |
var f; | |
if (o(e.cid) && void 0 === (e = function(e, t) { | |
if (s(e.error) && a(e.errorComp)) | |
return e.errorComp; | |
if (a(e.resolved)) | |
return e.resolved; | |
var n = Wt; | |
n && a(e.owners) && -1 === e.owners.indexOf(n) && e.owners.push(n); | |
if (s(e.loading) && a(e.loadingComp)) | |
return e.loadingComp; | |
if (n && !a(e.owners)) { | |
var r = e.owners = [n] | |
, i = !0 | |
, c = null | |
, l = null; | |
n.$on("hook:destroyed", (function() { | |
return w(r, n) | |
} | |
)); | |
var f = function(e) { | |
for (var t = 0, n = r.length; t < n; t++) | |
r[t].$forceUpdate(); | |
e && (r.length = 0, | |
null !== c && (clearTimeout(c), | |
c = null), | |
null !== l && (clearTimeout(l), | |
l = null)) | |
} | |
, d = I((function(n) { | |
e.resolved = Xt(n, t), | |
i ? r.length = 0 : f(!0) | |
} | |
)) | |
, p = I((function(t) { | |
a(e.errorComp) && (e.error = !0, | |
f(!0)) | |
} | |
)) | |
, v = e(d, p); | |
return u(v) && (h(v) ? o(e.resolved) && v.then(d, p) : h(v.component) && (v.component.then(d, p), | |
a(v.error) && (e.errorComp = Xt(v.error, t)), | |
a(v.loading) && (e.loadingComp = Xt(v.loading, t), | |
0 === v.delay ? e.loading = !0 : c = setTimeout((function() { | |
c = null, | |
o(e.resolved) && o(e.error) && (e.loading = !0, | |
f(!1)) | |
} | |
), v.delay || 200)), | |
a(v.timeout) && (l = setTimeout((function() { | |
l = null, | |
o(e.resolved) && p(null) | |
} | |
), v.timeout)))), | |
i = !1, | |
e.loading ? e.loadingComp : e.resolved | |
} | |
}(f = e, l))) | |
return function(e, t, n, r, i) { | |
var o = we(); | |
return o.asyncFactory = e, | |
o.asyncMeta = { | |
data: t, | |
context: n, | |
children: r, | |
tag: i | |
}, | |
o | |
}(f, t, n, r, c); | |
t = t || {}, | |
Cn(e), | |
a(t.model) && function(e, t) { | |
var n = e.model && e.model.prop || "value" | |
, r = e.model && e.model.event || "input"; | |
(t.attrs || (t.attrs = {}))[n] = t.model.value; | |
var i = t.on || (t.on = {}) | |
, o = i[r] | |
, s = t.model.callback; | |
a(o) ? (Array.isArray(o) ? -1 === o.indexOf(s) : o !== s) && (i[r] = [s].concat(o)) : i[r] = s | |
}(e.options, t); | |
var d = function(e, t, n) { | |
var r = t.options.props; | |
if (!o(r)) { | |
var i = {} | |
, s = e.attrs | |
, c = e.props; | |
if (a(s) || a(c)) | |
for (var u in r) { | |
var l = A(u); | |
ft(i, c, u, l, !0) || ft(i, s, u, l, !1) | |
} | |
return i | |
} | |
}(t, e); | |
if (s(e.options.functional)) | |
return function(e, t, n, r, o) { | |
var s = e.options | |
, c = {} | |
, u = s.props; | |
if (a(u)) | |
for (var l in u) | |
c[l] = Ue(l, u, t || i); | |
else | |
a(n.attrs) && Rt(c, n.attrs), | |
a(n.props) && Rt(c, n.props); | |
var f = new Mt(n,c,o,r,e) | |
, d = s.render.call(null, f._c, f); | |
if (d instanceof ge) | |
return Dt(d, n, f.parent, s, f); | |
if (Array.isArray(d)) { | |
for (var p = dt(d) || [], h = new Array(p.length), v = 0; v < p.length; v++) | |
h[v] = Dt(p[v], n, f.parent, s, f); | |
return h | |
} | |
}(e, d, t, n, r); | |
var p = t.on; | |
if (t.on = t.nativeOn, | |
s(e.options.abstract)) { | |
var v = t.slot; | |
t = {}, | |
v && (t.slot = v) | |
} | |
!function(e) { | |
for (var t = e.hook || (e.hook = {}), n = 0; n < Ft.length; n++) { | |
var r = Ft[n] | |
, i = t[r] | |
, o = It[r]; | |
i === o || i && i._merged || (t[r] = i ? Ut(o, i) : o) | |
} | |
}(t); | |
var m = e.options.name || c; | |
return new ge("vue-component-" + e.cid + (m ? "-" + m : ""),t,void 0,void 0,void 0,n,{ | |
Ctor: e, | |
propsData: d, | |
listeners: p, | |
tag: c, | |
children: r | |
},f) | |
} | |
} | |
} | |
function Ut(e, t) { | |
var n = function(n, r) { | |
e(n, r), | |
t(n, r) | |
}; | |
return n._merged = !0, | |
n | |
} | |
var qt = 1 | |
, Ht = 2; | |
function zt(e, t, n, r, i, l) { | |
return (Array.isArray(n) || c(n)) && (i = r, | |
r = n, | |
n = void 0), | |
s(l) && (i = Ht), | |
function(e, t, n, r, i) { | |
if (a(n) && a(n.__ob__)) | |
return we(); | |
a(n) && a(n.is) && (t = n.is); | |
if (!t) | |
return we(); | |
0; | |
Array.isArray(r) && "function" === typeof r[0] && ((n = n || {}).scopedSlots = { | |
default: r[0] | |
}, | |
r.length = 0); | |
i === Ht ? r = dt(r) : i === qt && (r = function(e) { | |
for (var t = 0; t < e.length; t++) | |
if (Array.isArray(e[t])) | |
return Array.prototype.concat.apply([], e); | |
return e | |
}(r)); | |
var c, l; | |
if ("string" === typeof t) { | |
var f; | |
l = e.$vnode && e.$vnode.ns || q.getTagNamespace(t), | |
c = q.isReservedTag(t) ? new ge(q.parsePlatformTagName(t),n,r,void 0,void 0,e) : n && n.pre || !a(f = Be(e.$options, "components", t)) ? new ge(t,n,r,void 0,void 0,e) : Bt(f, n, e, r, t) | |
} else | |
c = Bt(t, n, e, r); | |
return Array.isArray(c) ? c : a(c) ? (a(l) && function e(t, n, r) { | |
t.ns = n, | |
"foreignObject" === t.tag && (n = void 0, | |
r = !0); | |
if (a(t.children)) | |
for (var i = 0, c = t.children.length; i < c; i++) { | |
var u = t.children[i]; | |
a(u.tag) && (o(u.ns) || s(r) && "svg" !== u.tag) && e(u, n, r) | |
} | |
}(c, l), | |
a(n) && function(e) { | |
u(e.style) && at(e.style); | |
u(e.class) && at(e.class) | |
}(n), | |
c) : we() | |
}(e, t, n, r, i) | |
} | |
var Vt, Wt = null; | |
function Xt(e, t) { | |
return (e.__esModule || fe && "Module" === e[Symbol.toStringTag]) && (e = e.default), | |
u(e) ? t.extend(e) : e | |
} | |
function Kt(e) { | |
return e.isComment && e.asyncFactory | |
} | |
function Gt(e) { | |
if (Array.isArray(e)) | |
for (var t = 0; t < e.length; t++) { | |
var n = e[t]; | |
if (a(n) && (a(n.componentOptions) || Kt(n))) | |
return n | |
} | |
} | |
function Jt(e, t) { | |
Vt.$on(e, t) | |
} | |
function Zt(e, t) { | |
Vt.$off(e, t) | |
} | |
function Qt(e, t) { | |
var n = Vt; | |
return function r() { | |
var i = t.apply(null, arguments); | |
null !== i && n.$off(e, r) | |
} | |
} | |
function Yt(e, t, n) { | |
Vt = e, | |
ut(t, n || {}, Jt, Zt, Qt, e), | |
Vt = void 0 | |
} | |
var en = null; | |
function tn(e) { | |
var t = en; | |
return en = e, | |
function() { | |
en = t | |
} | |
} | |
function nn(e) { | |
for (; e && (e = e.$parent); ) | |
if (e._inactive) | |
return !0; | |
return !1 | |
} | |
function rn(e, t) { | |
if (t) { | |
if (e._directInactive = !1, | |
nn(e)) | |
return | |
} else if (e._directInactive) | |
return; | |
if (e._inactive || null === e._inactive) { | |
e._inactive = !1; | |
for (var n = 0; n < e.$children.length; n++) | |
rn(e.$children[n]); | |
on(e, "activated") | |
} | |
} | |
function on(e, t) { | |
me(); | |
var n = e.$options[t] | |
, r = t + " hook"; | |
if (n) | |
for (var i = 0, o = n.length; i < o; i++) | |
We(n[i], e, null, e, r); | |
e._hasHookEvent && e.$emit("hook:" + t), | |
ye() | |
} | |
var an = [] | |
, sn = [] | |
, cn = {} | |
, un = !1 | |
, ln = !1 | |
, fn = 0; | |
var dn = 0 | |
, pn = Date.now; | |
if (G && !Y) { | |
var hn = window.performance; | |
hn && "function" === typeof hn.now && pn() > document.createEvent("Event").timeStamp && (pn = function() { | |
return hn.now() | |
} | |
) | |
} | |
function vn() { | |
var e, t; | |
for (dn = pn(), | |
ln = !0, | |
an.sort((function(e, t) { | |
return e.id - t.id | |
} | |
)), | |
fn = 0; fn < an.length; fn++) | |
(e = an[fn]).before && e.before(), | |
t = e.id, | |
cn[t] = null, | |
e.run(); | |
var n = sn.slice() | |
, r = an.slice(); | |
fn = an.length = sn.length = 0, | |
cn = {}, | |
un = ln = !1, | |
function(e) { | |
for (var t = 0; t < e.length; t++) | |
e[t]._inactive = !0, | |
rn(e[t], !0) | |
}(n), | |
function(e) { | |
var t = e.length; | |
for (; t--; ) { | |
var n = e[t] | |
, r = n.vm; | |
r._watcher === n && r._isMounted && !r._isDestroyed && on(r, "updated") | |
} | |
}(r), | |
ce && q.devtools && ce.emit("flush") | |
} | |
var mn = 0 | |
, yn = function(e, t, n, r, i) { | |
this.vm = e, | |
i && (e._watcher = this), | |
e._watchers.push(this), | |
r ? (this.deep = !!r.deep, | |
this.user = !!r.user, | |
this.lazy = !!r.lazy, | |
this.sync = !!r.sync, | |
this.before = r.before) : this.deep = this.user = this.lazy = this.sync = !1, | |
this.cb = n, | |
this.id = ++mn, | |
this.active = !0, | |
this.dirty = this.lazy, | |
this.deps = [], | |
this.newDeps = [], | |
this.depIds = new le, | |
this.newDepIds = new le, | |
this.expression = "", | |
"function" === typeof t ? this.getter = t : (this.getter = function(e) { | |
if (!W.test(e)) { | |
var t = e.split("."); | |
return function(e) { | |
for (var n = 0; n < t.length; n++) { | |
if (!e) | |
return; | |
e = e[t[n]] | |
} | |
return e | |
} | |
} | |
}(t), | |
this.getter || (this.getter = P)), | |
this.value = this.lazy ? void 0 : this.get() | |
}; | |
yn.prototype.get = function() { | |
var e; | |
me(this); | |
var t = this.vm; | |
try { | |
e = this.getter.call(t, t) | |
} catch (vs) { | |
if (!this.user) | |
throw vs; | |
Ve(vs, t, 'getter for watcher "' + this.expression + '"') | |
} finally { | |
this.deep && at(e), | |
ye(), | |
this.cleanupDeps() | |
} | |
return e | |
} | |
, | |
yn.prototype.addDep = function(e) { | |
var t = e.id; | |
this.newDepIds.has(t) || (this.newDepIds.add(t), | |
this.newDeps.push(e), | |
this.depIds.has(t) || e.addSub(this)) | |
} | |
, | |
yn.prototype.cleanupDeps = function() { | |
for (var e = this.deps.length; e--; ) { | |
var t = this.deps[e]; | |
this.newDepIds.has(t.id) || t.removeSub(this) | |
} | |
var n = this.depIds; | |
this.depIds = this.newDepIds, | |
this.newDepIds = n, | |
this.newDepIds.clear(), | |
n = this.deps, | |
this.deps = this.newDeps, | |
this.newDeps = n, | |
this.newDeps.length = 0 | |
} | |
, | |
yn.prototype.update = function() { | |
this.lazy ? this.dirty = !0 : this.sync ? this.run() : function(e) { | |
var t = e.id; | |
if (null == cn[t]) { | |
if (cn[t] = !0, | |
ln) { | |
for (var n = an.length - 1; n > fn && an[n].id > e.id; ) | |
n--; | |
an.splice(n + 1, 0, e) | |
} else | |
an.push(e); | |
un || (un = !0, | |
it(vn)) | |
} | |
}(this) | |
} | |
, | |
yn.prototype.run = function() { | |
if (this.active) { | |
var e = this.get(); | |
if (e !== this.value || u(e) || this.deep) { | |
var t = this.value; | |
if (this.value = e, | |
this.user) | |
try { | |
this.cb.call(this.vm, e, t) | |
} catch (vs) { | |
Ve(vs, this.vm, 'callback for watcher "' + this.expression + '"') | |
} | |
else | |
this.cb.call(this.vm, e, t) | |
} | |
} | |
} | |
, | |
yn.prototype.evaluate = function() { | |
this.value = this.get(), | |
this.dirty = !1 | |
} | |
, | |
yn.prototype.depend = function() { | |
for (var e = this.deps.length; e--; ) | |
this.deps[e].depend() | |
} | |
, | |
yn.prototype.teardown = function() { | |
if (this.active) { | |
this.vm._isBeingDestroyed || w(this.vm._watchers, this); | |
for (var e = this.deps.length; e--; ) | |
this.deps[e].removeSub(this); | |
this.active = !1 | |
} | |
} | |
; | |
var gn = { | |
enumerable: !0, | |
configurable: !0, | |
get: P, | |
set: P | |
}; | |
function bn(e, t, n) { | |
gn.get = function() { | |
return this[t][n] | |
} | |
, | |
gn.set = function(e) { | |
this[t][n] = e | |
} | |
, | |
Object.defineProperty(e, n, gn) | |
} | |
function wn(e) { | |
e._watchers = []; | |
var t = e.$options; | |
t.props && function(e, t) { | |
var n = e.$options.propsData || {} | |
, r = e._props = {} | |
, i = e.$options._propKeys = []; | |
e.$parent && Ce(!1); | |
var o = function(o) { | |
i.push(o); | |
var a = Ue(o, t, n, e); | |
Te(r, o, a), | |
o in e || bn(e, "_props", o) | |
}; | |
for (var a in t) | |
o(a); | |
Ce(!0) | |
}(e, t.props), | |
t.methods && function(e, t) { | |
e.$options.props; | |
for (var n in t) | |
e[n] = "function" !== typeof t[n] ? P : j(t[n], e) | |
}(e, t.methods), | |
t.data ? function(e) { | |
var t = e.$options.data; | |
f(t = e._data = "function" === typeof t ? function(e, t) { | |
me(); | |
try { | |
return e.call(t, t) | |
} catch (vs) { | |
return Ve(vs, t, "data()"), | |
{} | |
} finally { | |
ye() | |
} | |
}(t, e) : t || {}) || (t = {}); | |
var n = Object.keys(t) | |
, r = e.$options.props | |
, i = (e.$options.methods, | |
n.length); | |
for (; i--; ) { | |
var o = n[i]; | |
0, | |
r && k(r, o) || z(o) || bn(e, "_data", o) | |
} | |
je(t, !0) | |
}(e) : je(e._data = {}, !0), | |
t.computed && function(e, t) { | |
var n = e._computedWatchers = Object.create(null) | |
, r = se(); | |
for (var i in t) { | |
var o = t[i] | |
, a = "function" === typeof o ? o : o.get; | |
0, | |
r || (n[i] = new yn(e,a || P,P,_n)), | |
i in e || kn(e, i, o) | |
} | |
}(e, t.computed), | |
t.watch && t.watch !== ie && function(e, t) { | |
for (var n in t) { | |
var r = t[n]; | |
if (Array.isArray(r)) | |
for (var i = 0; i < r.length; i++) | |
Sn(e, n, r[i]); | |
else | |
Sn(e, n, r) | |
} | |
}(e, t.watch) | |
} | |
var _n = { | |
lazy: !0 | |
}; | |
function kn(e, t, n) { | |
var r = !se(); | |
"function" === typeof n ? (gn.get = r ? xn(t) : On(n), | |
gn.set = P) : (gn.get = n.get ? r && !1 !== n.cache ? xn(t) : On(n.get) : P, | |
gn.set = n.set || P), | |
Object.defineProperty(e, t, gn) | |
} | |
function xn(e) { | |
return function() { | |
var t = this._computedWatchers && this._computedWatchers[e]; | |
if (t) | |
return t.dirty && t.evaluate(), | |
he.target && t.depend(), | |
t.value | |
} | |
} | |
function On(e) { | |
return function() { | |
return e.call(this, this) | |
} | |
} | |
function Sn(e, t, n, r) { | |
return f(n) && (r = n, | |
n = n.handler), | |
"string" === typeof n && (n = e[n]), | |
e.$watch(t, n, r) | |
} | |
var En = 0; | |
function Cn(e) { | |
var t = e.options; | |
if (e.super) { | |
var n = Cn(e.super); | |
if (n !== e.superOptions) { | |
e.superOptions = n; | |
var r = function(e) { | |
var t, n = e.options, r = e.sealedOptions; | |
for (var i in n) | |
n[i] !== r[i] && (t || (t = {}), | |
t[i] = n[i]); | |
return t | |
}(e); | |
r && $(e.extendOptions, r), | |
(t = e.options = Fe(n, e.extendOptions)).name && (t.components[t.name] = e) | |
} | |
} | |
return t | |
} | |
function An(e) { | |
this._init(e) | |
} | |
function jn(e) { | |
e.cid = 0; | |
var t = 1; | |
e.extend = function(e) { | |
e = e || {}; | |
var n = this | |
, r = n.cid | |
, i = e._Ctor || (e._Ctor = {}); | |
if (i[r]) | |
return i[r]; | |
var o = e.name || n.options.name; | |
var a = function(e) { | |
this._init(e) | |
}; | |
return (a.prototype = Object.create(n.prototype)).constructor = a, | |
a.cid = t++, | |
a.options = Fe(n.options, e), | |
a.super = n, | |
a.options.props && function(e) { | |
var t = e.options.props; | |
for (var n in t) | |
bn(e.prototype, "_props", n) | |
}(a), | |
a.options.computed && function(e) { | |
var t = e.options.computed; | |
for (var n in t) | |
kn(e.prototype, n, t[n]) | |
}(a), | |
a.extend = n.extend, | |
a.mixin = n.mixin, | |
a.use = n.use, | |
B.forEach((function(e) { | |
a[e] = n[e] | |
} | |
)), | |
o && (a.options.components[o] = a), | |
a.superOptions = n.options, | |
a.extendOptions = e, | |
a.sealedOptions = $({}, a.options), | |
i[r] = a, | |
a | |
} | |
} | |
function Tn(e) { | |
return e && (e.Ctor.options.name || e.tag) | |
} | |
function $n(e, t) { | |
return Array.isArray(e) ? e.indexOf(t) > -1 : "string" === typeof e ? e.split(",").indexOf(t) > -1 : !!d(e) && e.test(t) | |
} | |
function Ln(e, t) { | |
var n = e.cache | |
, r = e.keys | |
, i = e._vnode; | |
for (var o in n) { | |
var a = n[o]; | |
if (a) { | |
var s = Tn(a.componentOptions); | |
s && !t(s) && Pn(n, o, r, i) | |
} | |
} | |
} | |
function Pn(e, t, n, r) { | |
var i = e[t]; | |
!i || r && i.tag === r.tag || i.componentInstance.$destroy(), | |
e[t] = null, | |
w(n, t) | |
} | |
!function(e) { | |
e.prototype._init = function(e) { | |
var t = this; | |
t._uid = En++, | |
t._isVue = !0, | |
e && e._isComponent ? function(e, t) { | |
var n = e.$options = Object.create(e.constructor.options) | |
, r = t._parentVnode; | |
n.parent = t.parent, | |
n._parentVnode = r; | |
var i = r.componentOptions; | |
n.propsData = i.propsData, | |
n._parentListeners = i.listeners, | |
n._renderChildren = i.children, | |
n._componentTag = i.tag, | |
t.render && (n.render = t.render, | |
n.staticRenderFns = t.staticRenderFns) | |
}(t, e) : t.$options = Fe(Cn(t.constructor), e || {}, t), | |
t._renderProxy = t, | |
t._self = t, | |
function(e) { | |
var t = e.$options | |
, n = t.parent; | |
if (n && !t.abstract) { | |
for (; n.$options.abstract && n.$parent; ) | |
n = n.$parent; | |
n.$children.push(e) | |
} | |
e.$parent = n, | |
e.$root = n ? n.$root : e, | |
e.$children = [], | |
e.$refs = {}, | |
e._watcher = null, | |
e._inactive = null, | |
e._directInactive = !1, | |
e._isMounted = !1, | |
e._isDestroyed = !1, | |
e._isBeingDestroyed = !1 | |
}(t), | |
function(e) { | |
e._events = Object.create(null), | |
e._hasHookEvent = !1; | |
var t = e.$options._parentListeners; | |
t && Yt(e, t) | |
}(t), | |
function(e) { | |
e._vnode = null, | |
e._staticTrees = null; | |
var t = e.$options | |
, n = e.$vnode = t._parentVnode | |
, r = n && n.context; | |
e.$slots = vt(t._renderChildren, r), | |
e.$scopedSlots = i, | |
e._c = function(t, n, r, i) { | |
return zt(e, t, n, r, i, !1) | |
} | |
, | |
e.$createElement = function(t, n, r, i) { | |
return zt(e, t, n, r, i, !0) | |
} | |
; | |
var o = n && n.data; | |
Te(e, "$attrs", o && o.attrs || i, null, !0), | |
Te(e, "$listeners", t._parentListeners || i, null, !0) | |
}(t), | |
on(t, "beforeCreate"), | |
function(e) { | |
var t = ht(e.$options.inject, e); | |
t && (Ce(!1), | |
Object.keys(t).forEach((function(n) { | |
Te(e, n, t[n]) | |
} | |
)), | |
Ce(!0)) | |
}(t), | |
wn(t), | |
function(e) { | |
var t = e.$options.provide; | |
t && (e._provided = "function" === typeof t ? t.call(e) : t) | |
}(t), | |
on(t, "created"), | |
t.$options.el && t.$mount(t.$options.el) | |
} | |
}(An), | |
function(e) { | |
var t = { | |
get: function() { | |
return this._data | |
} | |
} | |
, n = { | |
get: function() { | |
return this._props | |
} | |
}; | |
Object.defineProperty(e.prototype, "$data", t), | |
Object.defineProperty(e.prototype, "$props", n), | |
e.prototype.$set = $e, | |
e.prototype.$delete = Le, | |
e.prototype.$watch = function(e, t, n) { | |
if (f(t)) | |
return Sn(this, e, t, n); | |
(n = n || {}).user = !0; | |
var r = new yn(this,e,t,n); | |
if (n.immediate) | |
try { | |
t.call(this, r.value) | |
} catch (i) { | |
Ve(i, this, 'callback for immediate watcher "' + r.expression + '"') | |
} | |
return function() { | |
r.teardown() | |
} | |
} | |
}(An), | |
function(e) { | |
var t = /^hook:/; | |
e.prototype.$on = function(e, n) { | |
var r = this; | |
if (Array.isArray(e)) | |
for (var i = 0, o = e.length; i < o; i++) | |
r.$on(e[i], n); | |
else | |
(r._events[e] || (r._events[e] = [])).push(n), | |
t.test(e) && (r._hasHookEvent = !0); | |
return r | |
} | |
, | |
e.prototype.$once = function(e, t) { | |
var n = this; | |
function r() { | |
n.$off(e, r), | |
t.apply(n, arguments) | |
} | |
return r.fn = t, | |
n.$on(e, r), | |
n | |
} | |
, | |
e.prototype.$off = function(e, t) { | |
var n = this; | |
if (!arguments.length) | |
return n._events = Object.create(null), | |
n; | |
if (Array.isArray(e)) { | |
for (var r = 0, i = e.length; r < i; r++) | |
n.$off(e[r], t); | |
return n | |
} | |
var o, a = n._events[e]; | |
if (!a) | |
return n; | |
if (!t) | |
return n._events[e] = null, | |
n; | |
for (var s = a.length; s--; ) | |
if ((o = a[s]) === t || o.fn === t) { | |
a.splice(s, 1); | |
break | |
} | |
return n | |
} | |
, | |
e.prototype.$emit = function(e) { | |
var t = this | |
, n = t._events[e]; | |
if (n) { | |
n = n.length > 1 ? T(n) : n; | |
for (var r = T(arguments, 1), i = 'event handler for "' + e + '"', o = 0, a = n.length; o < a; o++) | |
We(n[o], t, r, t, i) | |
} | |
return t | |
} | |
}(An), | |
function(e) { | |
e.prototype._update = function(e, t) { | |
var n = this | |
, r = n.$el | |
, i = n._vnode | |
, o = tn(n); | |
n._vnode = e, | |
n.$el = i ? n.__patch__(i, e) : n.__patch__(n.$el, e, t, !1), | |
o(), | |
r && (r.__vue__ = null), | |
n.$el && (n.$el.__vue__ = n), | |
n.$vnode && n.$parent && n.$vnode === n.$parent._vnode && (n.$parent.$el = n.$el) | |
} | |
, | |
e.prototype.$forceUpdate = function() { | |
this._watcher && this._watcher.update() | |
} | |
, | |
e.prototype.$destroy = function() { | |
var e = this; | |
if (!e._isBeingDestroyed) { | |
on(e, "beforeDestroy"), | |
e._isBeingDestroyed = !0; | |
var t = e.$parent; | |
!t || t._isBeingDestroyed || e.$options.abstract || w(t.$children, e), | |
e._watcher && e._watcher.teardown(); | |
for (var n = e._watchers.length; n--; ) | |
e._watchers[n].teardown(); | |
e._data.__ob__ && e._data.__ob__.vmCount--, | |
e._isDestroyed = !0, | |
e.__patch__(e._vnode, null), | |
on(e, "destroyed"), | |
e.$off(), | |
e.$el && (e.$el.__vue__ = null), | |
e.$vnode && (e.$vnode.parent = null) | |
} | |
} | |
}(An), | |
function(e) { | |
Nt(e.prototype), | |
e.prototype.$nextTick = function(e) { | |
return it(e, this) | |
} | |
, | |
e.prototype._render = function() { | |
var e, t = this, n = t.$options, r = n.render, i = n._parentVnode; | |
i && (t.$scopedSlots = yt(i.data.scopedSlots, t.$slots, t.$scopedSlots)), | |
t.$vnode = i; | |
try { | |
Wt = t, | |
e = r.call(t._renderProxy, t.$createElement) | |
} catch (vs) { | |
Ve(vs, t, "render"), | |
e = t._vnode | |
} finally { | |
Wt = null | |
} | |
return Array.isArray(e) && 1 === e.length && (e = e[0]), | |
e instanceof ge || (e = we()), | |
e.parent = i, | |
e | |
} | |
}(An); | |
var Nn = [String, RegExp, Array] | |
, Mn = { | |
KeepAlive: { | |
name: "keep-alive", | |
abstract: !0, | |
props: { | |
include: Nn, | |
exclude: Nn, | |
max: [String, Number] | |
}, | |
created: function() { | |
this.cache = Object.create(null), | |
this.keys = [] | |
}, | |
destroyed: function() { | |
for (var e in this.cache) | |
Pn(this.cache, e, this.keys) | |
}, | |
mounted: function() { | |
var e = this; | |
this.$watch("include", (function(t) { | |
Ln(e, (function(e) { | |
return $n(t, e) | |
} | |
)) | |
} | |
)), | |
this.$watch("exclude", (function(t) { | |
Ln(e, (function(e) { | |
return !$n(t, e) | |
} | |
)) | |
} | |
)) | |
}, | |
render: function() { | |
var e = this.$slots.default | |
, t = Gt(e) | |
, n = t && t.componentOptions; | |
if (n) { | |
var r = Tn(n) | |
, i = this.include | |
, o = this.exclude; | |
if (i && (!r || !$n(i, r)) || o && r && $n(o, r)) | |
return t; | |
var a = this.cache | |
, s = this.keys | |
, c = null == t.key ? n.Ctor.cid + (n.tag ? "::" + n.tag : "") : t.key; | |
a[c] ? (t.componentInstance = a[c].componentInstance, | |
w(s, c), | |
s.push(c)) : (a[c] = t, | |
s.push(c), | |
this.max && s.length > parseInt(this.max) && Pn(a, s[0], s, this._vnode)), | |
t.data.keepAlive = !0 | |
} | |
return t || e && e[0] | |
} | |
} | |
}; | |
!function(e) { | |
var t = { | |
get: function() { | |
return q | |
} | |
}; | |
Object.defineProperty(e, "config", t), | |
e.util = { | |
warn: de, | |
extend: $, | |
mergeOptions: Fe, | |
defineReactive: Te | |
}, | |
e.set = $e, | |
e.delete = Le, | |
e.nextTick = it, | |
e.observable = function(e) { | |
return je(e), | |
e | |
} | |
, | |
e.options = Object.create(null), | |
B.forEach((function(t) { | |
e.options[t + "s"] = Object.create(null) | |
} | |
)), | |
e.options._base = e, | |
$(e.options.components, Mn), | |
function(e) { | |
e.use = function(e) { | |
var t = this._installedPlugins || (this._installedPlugins = []); | |
if (t.indexOf(e) > -1) | |
return this; | |
var n = T(arguments, 1); | |
return n.unshift(this), | |
"function" === typeof e.install ? e.install.apply(e, n) : "function" === typeof e && e.apply(null, n), | |
t.push(e), | |
this | |
} | |
}(e), | |
function(e) { | |
e.mixin = function(e) { | |
return this.options = Fe(this.options, e), | |
this | |
} | |
}(e), | |
jn(e), | |
function(e) { | |
B.forEach((function(t) { | |
e[t] = function(e, n) { | |
return n ? ("component" === t && f(n) && (n.name = n.name || e, | |
n = this.options._base.extend(n)), | |
"directive" === t && "function" === typeof n && (n = { | |
bind: n, | |
update: n | |
}), | |
this.options[t + "s"][e] = n, | |
n) : this.options[t + "s"][e] | |
} | |
} | |
)) | |
}(e) | |
}(An), | |
Object.defineProperty(An.prototype, "$isServer", { | |
get: se | |
}), | |
Object.defineProperty(An.prototype, "$ssrContext", { | |
get: function() { | |
return this.$vnode && this.$vnode.ssrContext | |
} | |
}), | |
Object.defineProperty(An, "FunctionalRenderContext", { | |
value: Mt | |
}), | |
An.version = "2.6.10"; | |
var Dn = y("style,class") | |
, Rn = y("input,textarea,option,select,progress") | |
, In = function(e, t, n) { | |
return "value" === n && Rn(e) && "button" !== t || "selected" === n && "option" === e || "checked" === n && "input" === e || "muted" === n && "video" === e | |
} | |
, Fn = y("contenteditable,draggable,spellcheck") | |
, Bn = y("events,caret,typing,plaintext-only") | |
, Un = function(e, t) { | |
return Wn(t) || "false" === t ? "false" : "contenteditable" === e && Bn(t) ? t : "true" | |
} | |
, qn = y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible") | |
, Hn = "http://www.w3.org/1999/xlink" | |
, zn = function(e) { | |
return ":" === e.charAt(5) && "xlink" === e.slice(0, 5) | |
} | |
, Vn = function(e) { | |
return zn(e) ? e.slice(6, e.length) : "" | |
} | |
, Wn = function(e) { | |
return null == e || !1 === e | |
}; | |
function Xn(e) { | |
for (var t = e.data, n = e, r = e; a(r.componentInstance); ) | |
(r = r.componentInstance._vnode) && r.data && (t = Kn(r.data, t)); | |
for (; a(n = n.parent); ) | |
n && n.data && (t = Kn(t, n.data)); | |
return function(e, t) { | |
if (a(e) || a(t)) | |
return Gn(e, Jn(t)); | |
return "" | |
}(t.staticClass, t.class) | |
} | |
function Kn(e, t) { | |
return { | |
staticClass: Gn(e.staticClass, t.staticClass), | |
class: a(e.class) ? [e.class, t.class] : t.class | |
} | |
} | |
function Gn(e, t) { | |
return e ? t ? e + " " + t : e : t || "" | |
} | |
function Jn(e) { | |
return Array.isArray(e) ? function(e) { | |
for (var t, n = "", r = 0, i = e.length; r < i; r++) | |
a(t = Jn(e[r])) && "" !== t && (n && (n += " "), | |
n += t); | |
return n | |
}(e) : u(e) ? function(e) { | |
var t = ""; | |
for (var n in e) | |
e[n] && (t && (t += " "), | |
t += n); | |
return t | |
}(e) : "string" === typeof e ? e : "" | |
} | |
var Zn = { | |
svg: "http://www.w3.org/2000/svg", | |
math: "http://www.w3.org/1998/Math/MathML" | |
} | |
, Qn = y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot") | |
, Yn = y("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view", !0) | |
, er = function(e) { | |
return Qn(e) || Yn(e) | |
}; | |
function tr(e) { | |
return Yn(e) ? "svg" : "math" === e ? "math" : void 0 | |
} | |
var nr = Object.create(null); | |
var rr = y("text,number,password,search,email,tel,url"); | |
function ir(e) { | |
if ("string" === typeof e) { | |
var t = document.querySelector(e); | |
return t || document.createElement("div") | |
} | |
return e | |
} | |
var or = Object.freeze({ | |
createElement: function(e, t) { | |
var n = document.createElement(e); | |
return "select" !== e ? n : (t.data && t.data.attrs && void 0 !== t.data.attrs.multiple && n.setAttribute("multiple", "multiple"), | |
n) | |
}, | |
createElementNS: function(e, t) { | |
return document.createElementNS(Zn[e], t) | |
}, | |
createTextNode: function(e) { | |
return document.createTextNode(e) | |
}, | |
createComment: function(e) { | |
return document.createComment(e) | |
}, | |
insertBefore: function(e, t, n) { | |
e.insertBefore(t, n) | |
}, | |
removeChild: function(e, t) { | |
e.removeChild(t) | |
}, | |
appendChild: function(e, t) { | |
e.appendChild(t) | |
}, | |
parentNode: function(e) { | |
return e.parentNode | |
}, | |
nextSibling: function(e) { | |
return e.nextSibling | |
}, | |
tagName: function(e) { | |
return e.tagName | |
}, | |
setTextContent: function(e, t) { | |
e.textContent = t | |
}, | |
setStyleScope: function(e, t) { | |
e.setAttribute(t, "") | |
} | |
}) | |
, ar = { | |
create: function(e, t) { | |
sr(t) | |
}, | |
update: function(e, t) { | |
e.data.ref !== t.data.ref && (sr(e, !0), | |
sr(t)) | |
}, | |
destroy: function(e) { | |
sr(e, !0) | |
} | |
}; | |
function sr(e, t) { | |
var n = e.data.ref; | |
if (a(n)) { | |
var r = e.context | |
, i = e.componentInstance || e.elm | |
, o = r.$refs; | |
t ? Array.isArray(o[n]) ? w(o[n], i) : o[n] === i && (o[n] = void 0) : e.data.refInFor ? Array.isArray(o[n]) ? o[n].indexOf(i) < 0 && o[n].push(i) : o[n] = [i] : o[n] = i | |
} | |
} | |
var cr = new ge("",{},[]) | |
, ur = ["create", "activate", "update", "remove", "destroy"]; | |
function lr(e, t) { | |
return e.key === t.key && (e.tag === t.tag && e.isComment === t.isComment && a(e.data) === a(t.data) && function(e, t) { | |
if ("input" !== e.tag) | |
return !0; | |
var n, r = a(n = e.data) && a(n = n.attrs) && n.type, i = a(n = t.data) && a(n = n.attrs) && n.type; | |
return r === i || rr(r) && rr(i) | |
}(e, t) || s(e.isAsyncPlaceholder) && e.asyncFactory === t.asyncFactory && o(t.asyncFactory.error)) | |
} | |
function fr(e, t, n) { | |
var r, i, o = {}; | |
for (r = t; r <= n; ++r) | |
a(i = e[r].key) && (o[i] = r); | |
return o | |
} | |
var dr = { | |
create: pr, | |
update: pr, | |
destroy: function(e) { | |
pr(e, cr) | |
} | |
}; | |
function pr(e, t) { | |
(e.data.directives || t.data.directives) && function(e, t) { | |
var n, r, i, o = e === cr, a = t === cr, s = vr(e.data.directives, e.context), c = vr(t.data.directives, t.context), u = [], l = []; | |
for (n in c) | |
r = s[n], | |
i = c[n], | |
r ? (i.oldValue = r.value, | |
i.oldArg = r.arg, | |
yr(i, "update", t, e), | |
i.def && i.def.componentUpdated && l.push(i)) : (yr(i, "bind", t, e), | |
i.def && i.def.inserted && u.push(i)); | |
if (u.length) { | |
var f = function() { | |
for (var n = 0; n < u.length; n++) | |
yr(u[n], "inserted", t, e) | |
}; | |
o ? lt(t, "insert", f) : f() | |
} | |
l.length && lt(t, "postpatch", (function() { | |
for (var n = 0; n < l.length; n++) | |
yr(l[n], "componentUpdated", t, e) | |
} | |
)); | |
if (!o) | |
for (n in s) | |
c[n] || yr(s[n], "unbind", e, e, a) | |
}(e, t) | |
} | |
var hr = Object.create(null); | |
function vr(e, t) { | |
var n, r, i = Object.create(null); | |
if (!e) | |
return i; | |
for (n = 0; n < e.length; n++) | |
(r = e[n]).modifiers || (r.modifiers = hr), | |
i[mr(r)] = r, | |
r.def = Be(t.$options, "directives", r.name); | |
return i | |
} | |
function mr(e) { | |
return e.rawName || e.name + "." + Object.keys(e.modifiers || {}).join(".") | |
} | |
function yr(e, t, n, r, i) { | |
var o = e.def && e.def[t]; | |
if (o) | |
try { | |
o(n.elm, e, n, r, i) | |
} catch (vs) { | |
Ve(vs, n.context, "directive " + e.name + " " + t + " hook") | |
} | |
} | |
var gr = [ar, dr]; | |
function br(e, t) { | |
var n = t.componentOptions; | |
if ((!a(n) || !1 !== n.Ctor.options.inheritAttrs) && (!o(e.data.attrs) || !o(t.data.attrs))) { | |
var r, i, s = t.elm, c = e.data.attrs || {}, u = t.data.attrs || {}; | |
for (r in a(u.__ob__) && (u = t.data.attrs = $({}, u)), | |
u) | |
i = u[r], | |
c[r] !== i && wr(s, r, i); | |
for (r in (Y || te) && u.value !== c.value && wr(s, "value", u.value), | |
c) | |
o(u[r]) && (zn(r) ? s.removeAttributeNS(Hn, Vn(r)) : Fn(r) || s.removeAttribute(r)) | |
} | |
} | |
function wr(e, t, n) { | |
e.tagName.indexOf("-") > -1 ? _r(e, t, n) : qn(t) ? Wn(n) ? e.removeAttribute(t) : (n = "allowfullscreen" === t && "EMBED" === e.tagName ? "true" : t, | |
e.setAttribute(t, n)) : Fn(t) ? e.setAttribute(t, Un(t, n)) : zn(t) ? Wn(n) ? e.removeAttributeNS(Hn, Vn(t)) : e.setAttributeNS(Hn, t, n) : _r(e, t, n) | |
} | |
function _r(e, t, n) { | |
if (Wn(n)) | |
e.removeAttribute(t); | |
else { | |
if (Y && !ee && "TEXTAREA" === e.tagName && "placeholder" === t && "" !== n && !e.__ieph) { | |
e.addEventListener("input", (function t(n) { | |
n.stopImmediatePropagation(), | |
e.removeEventListener("input", t) | |
} | |
)), | |
e.__ieph = !0 | |
} | |
e.setAttribute(t, n) | |
} | |
} | |
var kr = { | |
create: br, | |
update: br | |
}; | |
function xr(e, t) { | |
var n = t.elm | |
, r = t.data | |
, i = e.data; | |
if (!(o(r.staticClass) && o(r.class) && (o(i) || o(i.staticClass) && o(i.class)))) { | |
var s = Xn(t) | |
, c = n._transitionClasses; | |
a(c) && (s = Gn(s, Jn(c))), | |
s !== n._prevClass && (n.setAttribute("class", s), | |
n._prevClass = s) | |
} | |
} | |
var Or, Sr, Er, Cr, Ar, jr, Tr = { | |
create: xr, | |
update: xr | |
}, $r = /[\w).+\-_$\]]/; | |
function Lr(e) { | |
var t, n, r, i, o, a = !1, s = !1, c = !1, u = !1, l = 0, f = 0, d = 0, p = 0; | |
for (r = 0; r < e.length; r++) | |
if (n = t, | |
t = e.charCodeAt(r), | |
a) | |
39 === t && 92 !== n && (a = !1); | |
else if (s) | |
34 === t && 92 !== n && (s = !1); | |
else if (c) | |
96 === t && 92 !== n && (c = !1); | |
else if (u) | |
47 === t && 92 !== n && (u = !1); | |
else if (124 !== t || 124 === e.charCodeAt(r + 1) || 124 === e.charCodeAt(r - 1) || l || f || d) { | |
switch (t) { | |
case 34: | |
s = !0; | |
break; | |
case 39: | |
a = !0; | |
break; | |
case 96: | |
c = !0; | |
break; | |
case 40: | |
d++; | |
break; | |
case 41: | |
d--; | |
break; | |
case 91: | |
f++; | |
break; | |
case 93: | |
f--; | |
break; | |
case 123: | |
l++; | |
break; | |
case 125: | |
l-- | |
} | |
if (47 === t) { | |
for (var h = r - 1, v = void 0; h >= 0 && " " === (v = e.charAt(h)); h--) | |
; | |
v && $r.test(v) || (u = !0) | |
} | |
} else | |
void 0 === i ? (p = r + 1, | |
i = e.slice(0, r).trim()) : m(); | |
function m() { | |
(o || (o = [])).push(e.slice(p, r).trim()), | |
p = r + 1 | |
} | |
if (void 0 === i ? i = e.slice(0, r).trim() : 0 !== p && m(), | |
o) | |
for (r = 0; r < o.length; r++) | |
i = Pr(i, o[r]); | |
return i | |
} | |
function Pr(e, t) { | |
var n = t.indexOf("("); | |
if (n < 0) | |
return '_f("' + t + '")(' + e + ")"; | |
var r = t.slice(0, n) | |
, i = t.slice(n + 1); | |
return '_f("' + r + '")(' + e + (")" !== i ? "," + i : i) | |
} | |
function Nr(e, t) { | |
console.error("[Vue compiler]: " + e) | |
} | |
function Mr(e, t) { | |
return e ? e.map((function(e) { | |
return e[t] | |
} | |
)).filter((function(e) { | |
return e | |
} | |
)) : [] | |
} | |
function Dr(e, t, n, r, i) { | |
(e.props || (e.props = [])).push(Vr({ | |
name: t, | |
value: n, | |
dynamic: i | |
}, r)), | |
e.plain = !1 | |
} | |
function Rr(e, t, n, r, i) { | |
(i ? e.dynamicAttrs || (e.dynamicAttrs = []) : e.attrs || (e.attrs = [])).push(Vr({ | |
name: t, | |
value: n, | |
dynamic: i | |
}, r)), | |
e.plain = !1 | |
} | |
function Ir(e, t, n, r) { | |
e.attrsMap[t] = n, | |
e.attrsList.push(Vr({ | |
name: t, | |
value: n | |
}, r)) | |
} | |
function Fr(e, t, n, r, i, o, a, s) { | |
(e.directives || (e.directives = [])).push(Vr({ | |
name: t, | |
rawName: n, | |
value: r, | |
arg: i, | |
isDynamicArg: o, | |
modifiers: a | |
}, s)), | |
e.plain = !1 | |
} | |
function Br(e, t, n) { | |
return n ? "_p(" + t + ',"' + e + '")' : e + t | |
} | |
function Ur(e, t, n, r, o, a, s, c) { | |
var u; | |
(r = r || i).right ? c ? t = "(" + t + ")==='click'?'contextmenu':(" + t + ")" : "click" === t && (t = "contextmenu", | |
delete r.right) : r.middle && (c ? t = "(" + t + ")==='click'?'mouseup':(" + t + ")" : "click" === t && (t = "mouseup")), | |
r.capture && (delete r.capture, | |
t = Br("!", t, c)), | |
r.once && (delete r.once, | |
t = Br("~", t, c)), | |
r.passive && (delete r.passive, | |
t = Br("&", t, c)), | |
r.native ? (delete r.native, | |
u = e.nativeEvents || (e.nativeEvents = {})) : u = e.events || (e.events = {}); | |
var l = Vr({ | |
value: n.trim(), | |
dynamic: c | |
}, s); | |
r !== i && (l.modifiers = r); | |
var f = u[t]; | |
Array.isArray(f) ? o ? f.unshift(l) : f.push(l) : u[t] = f ? o ? [l, f] : [f, l] : l, | |
e.plain = !1 | |
} | |
function qr(e, t, n) { | |
var r = Hr(e, ":" + t) || Hr(e, "v-bind:" + t); | |
if (null != r) | |
return Lr(r); | |
if (!1 !== n) { | |
var i = Hr(e, t); | |
if (null != i) | |
return JSON.stringify(i) | |
} | |
} | |
function Hr(e, t, n) { | |
var r; | |
if (null != (r = e.attrsMap[t])) | |
for (var i = e.attrsList, o = 0, a = i.length; o < a; o++) | |
if (i[o].name === t) { | |
i.splice(o, 1); | |
break | |
} | |
return n && delete e.attrsMap[t], | |
r | |
} | |
function zr(e, t) { | |
for (var n = e.attrsList, r = 0, i = n.length; r < i; r++) { | |
var o = n[r]; | |
if (t.test(o.name)) | |
return n.splice(r, 1), | |
o | |
} | |
} | |
function Vr(e, t) { | |
return t && (null != t.start && (e.start = t.start), | |
null != t.end && (e.end = t.end)), | |
e | |
} | |
function Wr(e, t, n) { | |
var r = n || {} | |
, i = r.number | |
, o = "$$v"; | |
r.trim && (o = "(typeof $$v === 'string'? $$v.trim(): $$v)"), | |
i && (o = "_n(" + o + ")"); | |
var a = Xr(t, o); | |
e.model = { | |
value: "(" + t + ")", | |
expression: JSON.stringify(t), | |
callback: "function ($$v) {" + a + "}" | |
} | |
} | |
function Xr(e, t) { | |
var n = function(e) { | |
if (e = e.trim(), | |
Or = e.length, | |
e.indexOf("[") < 0 || e.lastIndexOf("]") < Or - 1) | |
return (Cr = e.lastIndexOf(".")) > -1 ? { | |
exp: e.slice(0, Cr), | |
key: '"' + e.slice(Cr + 1) + '"' | |
} : { | |
exp: e, | |
key: null | |
}; | |
Sr = e, | |
Cr = Ar = jr = 0; | |
for (; !Gr(); ) | |
Jr(Er = Kr()) ? Qr(Er) : 91 === Er && Zr(Er); | |
return { | |
exp: e.slice(0, Ar), | |
key: e.slice(Ar + 1, jr) | |
} | |
}(e); | |
return null === n.key ? e + "=" + t : "$set(" + n.exp + ", " + n.key + ", " + t + ")" | |
} | |
function Kr() { | |
return Sr.charCodeAt(++Cr) | |
} | |
function Gr() { | |
return Cr >= Or | |
} | |
function Jr(e) { | |
return 34 === e || 39 === e | |
} | |
function Zr(e) { | |
var t = 1; | |
for (Ar = Cr; !Gr(); ) | |
if (Jr(e = Kr())) | |
Qr(e); | |
else if (91 === e && t++, | |
93 === e && t--, | |
0 === t) { | |
jr = Cr; | |
break | |
} | |
} | |
function Qr(e) { | |
for (var t = e; !Gr() && (e = Kr()) !== t; ) | |
; | |
} | |
var Yr, ei = "__r", ti = "__c"; | |
function ni(e, t, n) { | |
var r = Yr; | |
return function i() { | |
var o = t.apply(null, arguments); | |
null !== o && oi(e, i, n, r) | |
} | |
} | |
var ri = Je && !(re && Number(re[1]) <= 53); | |
function ii(e, t, n, r) { | |
if (ri) { | |
var i = dn | |
, o = t; | |
t = o._wrapper = function(e) { | |
if (e.target === e.currentTarget || e.timeStamp >= i || e.timeStamp <= 0 || e.target.ownerDocument !== document) | |
return o.apply(this, arguments) | |
} | |
} | |
Yr.addEventListener(e, t, oe ? { | |
capture: n, | |
passive: r | |
} : n) | |
} | |
function oi(e, t, n, r) { | |
(r || Yr).removeEventListener(e, t._wrapper || t, n) | |
} | |
function ai(e, t) { | |
if (!o(e.data.on) || !o(t.data.on)) { | |
var n = t.data.on || {} | |
, r = e.data.on || {}; | |
Yr = t.elm, | |
function(e) { | |
if (a(e[ei])) { | |
var t = Y ? "change" : "input"; | |
e[t] = [].concat(e[ei], e[t] || []), | |
delete e[ei] | |
} | |
a(e[ti]) && (e.change = [].concat(e[ti], e.change || []), | |
delete e[ti]) | |
}(n), | |
ut(n, r, ii, oi, ni, t.context), | |
Yr = void 0 | |
} | |
} | |
var si, ci = { | |
create: ai, | |
update: ai | |
}; | |
function ui(e, t) { | |
if (!o(e.data.domProps) || !o(t.data.domProps)) { | |
var n, r, i = t.elm, s = e.data.domProps || {}, c = t.data.domProps || {}; | |
for (n in a(c.__ob__) && (c = t.data.domProps = $({}, c)), | |
s) | |
n in c || (i[n] = ""); | |
for (n in c) { | |
if (r = c[n], | |
"textContent" === n || "innerHTML" === n) { | |
if (t.children && (t.children.length = 0), | |
r === s[n]) | |
continue; | |
1 === i.childNodes.length && i.removeChild(i.childNodes[0]) | |
} | |
if ("value" === n && "PROGRESS" !== i.tagName) { | |
i._value = r; | |
var u = o(r) ? "" : String(r); | |
li(i, u) && (i.value = u) | |
} else if ("innerHTML" === n && Yn(i.tagName) && o(i.innerHTML)) { | |
(si = si || document.createElement("div")).innerHTML = "<svg>" + r + "</svg>"; | |
for (var l = si.firstChild; i.firstChild; ) | |
i.removeChild(i.firstChild); | |
for (; l.firstChild; ) | |
i.appendChild(l.firstChild) | |
} else if (r !== s[n]) | |
try { | |
i[n] = r | |
} catch (vs) {} | |
} | |
} | |
} | |
function li(e, t) { | |
return !e.composing && ("OPTION" === e.tagName || function(e, t) { | |
var n = !0; | |
try { | |
n = document.activeElement !== e | |
} catch (vs) {} | |
return n && e.value !== t | |
}(e, t) || function(e, t) { | |
var n = e.value | |
, r = e._vModifiers; | |
if (a(r)) { | |
if (r.number) | |
return m(n) !== m(t); | |
if (r.trim) | |
return n.trim() !== t.trim() | |
} | |
return n !== t | |
}(e, t)) | |
} | |
var fi = { | |
create: ui, | |
update: ui | |
} | |
, di = x((function(e) { | |
var t = {} | |
, n = /:(.+)/; | |
return e.split(/;(?![^(]*\))/g).forEach((function(e) { | |
if (e) { | |
var r = e.split(n); | |
r.length > 1 && (t[r[0].trim()] = r[1].trim()) | |
} | |
} | |
)), | |
t | |
} | |
)); | |
function pi(e) { | |
var t = hi(e.style); | |
return e.staticStyle ? $(e.staticStyle, t) : t | |
} | |
function hi(e) { | |
return Array.isArray(e) ? L(e) : "string" === typeof e ? di(e) : e | |
} | |
var vi, mi = /^--/, yi = /\s*!important$/, gi = function(e, t, n) { | |
if (mi.test(t)) | |
e.style.setProperty(t, n); | |
else if (yi.test(n)) | |
e.style.setProperty(A(t), n.replace(yi, ""), "important"); | |
else { | |
var r = wi(t); | |
if (Array.isArray(n)) | |
for (var i = 0, o = n.length; i < o; i++) | |
e.style[r] = n[i]; | |
else | |
e.style[r] = n | |
} | |
}, bi = ["Webkit", "Moz", "ms"], wi = x((function(e) { | |
if (vi = vi || document.createElement("div").style, | |
"filter" !== (e = S(e)) && e in vi) | |
return e; | |
for (var t = e.charAt(0).toUpperCase() + e.slice(1), n = 0; n < bi.length; n++) { | |
var r = bi[n] + t; | |
if (r in vi) | |
return r | |
} | |
} | |
)); | |
function _i(e, t) { | |
var n = t.data | |
, r = e.data; | |
if (!(o(n.staticStyle) && o(n.style) && o(r.staticStyle) && o(r.style))) { | |
var i, s, c = t.elm, u = r.staticStyle, l = r.normalizedStyle || r.style || {}, f = u || l, d = hi(t.data.style) || {}; | |
t.data.normalizedStyle = a(d.__ob__) ? $({}, d) : d; | |
var p = function(e, t) { | |
var n, r = {}; | |
if (t) | |
for (var i = e; i.componentInstance; ) | |
(i = i.componentInstance._vnode) && i.data && (n = pi(i.data)) && $(r, n); | |
(n = pi(e.data)) && $(r, n); | |
for (var o = e; o = o.parent; ) | |
o.data && (n = pi(o.data)) && $(r, n); | |
return r | |
}(t, !0); | |
for (s in f) | |
o(p[s]) && gi(c, s, ""); | |
for (s in p) | |
(i = p[s]) !== f[s] && gi(c, s, null == i ? "" : i) | |
} | |
} | |
var ki = { | |
create: _i, | |
update: _i | |
} | |
, xi = /\s+/; | |
function Oi(e, t) { | |
if (t && (t = t.trim())) | |
if (e.classList) | |
t.indexOf(" ") > -1 ? t.split(xi).forEach((function(t) { | |
return e.classList.add(t) | |
} | |
)) : e.classList.add(t); | |
else { | |
var n = " " + (e.getAttribute("class") || "") + " "; | |
n.indexOf(" " + t + " ") < 0 && e.setAttribute("class", (n + t).trim()) | |
} | |
} | |
function Si(e, t) { | |
if (t && (t = t.trim())) | |
if (e.classList) | |
t.indexOf(" ") > -1 ? t.split(xi).forEach((function(t) { | |
return e.classList.remove(t) | |
} | |
)) : e.classList.remove(t), | |
e.classList.length || e.removeAttribute("class"); | |
else { | |
for (var n = " " + (e.getAttribute("class") || "") + " ", r = " " + t + " "; n.indexOf(r) >= 0; ) | |
n = n.replace(r, " "); | |
(n = n.trim()) ? e.setAttribute("class", n) : e.removeAttribute("class") | |
} | |
} | |
function Ei(e) { | |
if (e) { | |
if ("object" === r(e)) { | |
var t = {}; | |
return !1 !== e.css && $(t, Ci(e.name || "v")), | |
$(t, e), | |
t | |
} | |
return "string" === typeof e ? Ci(e) : void 0 | |
} | |
} | |
var Ci = x((function(e) { | |
return { | |
enterClass: e + "-enter", | |
enterToClass: e + "-enter-to", | |
enterActiveClass: e + "-enter-active", | |
leaveClass: e + "-leave", | |
leaveToClass: e + "-leave-to", | |
leaveActiveClass: e + "-leave-active" | |
} | |
} | |
)) | |
, Ai = G && !ee | |
, ji = "transition" | |
, Ti = "animation" | |
, $i = "transition" | |
, Li = "transitionend" | |
, Pi = "animation" | |
, Ni = "animationend"; | |
Ai && (void 0 === window.ontransitionend && void 0 !== window.onwebkittransitionend && ($i = "WebkitTransition", | |
Li = "webkitTransitionEnd"), | |
void 0 === window.onanimationend && void 0 !== window.onwebkitanimationend && (Pi = "WebkitAnimation", | |
Ni = "webkitAnimationEnd")); | |
var Mi = G ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : function(e) { | |
return e() | |
} | |
; | |
function Di(e) { | |
Mi((function() { | |
Mi(e) | |
} | |
)) | |
} | |
function Ri(e, t) { | |
var n = e._transitionClasses || (e._transitionClasses = []); | |
n.indexOf(t) < 0 && (n.push(t), | |
Oi(e, t)) | |
} | |
function Ii(e, t) { | |
e._transitionClasses && w(e._transitionClasses, t), | |
Si(e, t) | |
} | |
function Fi(e, t, n) { | |
var r = Ui(e, t) | |
, i = r.type | |
, o = r.timeout | |
, a = r.propCount; | |
if (!i) | |
return n(); | |
var s = i === ji ? Li : Ni | |
, c = 0 | |
, u = function() { | |
e.removeEventListener(s, l), | |
n() | |
} | |
, l = function(t) { | |
t.target === e && ++c >= a && u() | |
}; | |
setTimeout((function() { | |
c < a && u() | |
} | |
), o + 1), | |
e.addEventListener(s, l) | |
} | |
var Bi = /\b(transform|all)(,|$)/; | |
function Ui(e, t) { | |
var n, r = window.getComputedStyle(e), i = (r[$i + "Delay"] || "").split(", "), o = (r[$i + "Duration"] || "").split(", "), a = qi(i, o), s = (r[Pi + "Delay"] || "").split(", "), c = (r[Pi + "Duration"] || "").split(", "), u = qi(s, c), l = 0, f = 0; | |
return t === ji ? a > 0 && (n = ji, | |
l = a, | |
f = o.length) : t === Ti ? u > 0 && (n = Ti, | |
l = u, | |
f = c.length) : f = (n = (l = Math.max(a, u)) > 0 ? a > u ? ji : Ti : null) ? n === ji ? o.length : c.length : 0, | |
{ | |
type: n, | |
timeout: l, | |
propCount: f, | |
hasTransform: n === ji && Bi.test(r[$i + "Property"]) | |
} | |
} | |
function qi(e, t) { | |
for (; e.length < t.length; ) | |
e = e.concat(e); | |
return Math.max.apply(null, t.map((function(t, n) { | |
return Hi(t) + Hi(e[n]) | |
} | |
))) | |
} | |
function Hi(e) { | |
return 1e3 * Number(e.slice(0, -1).replace(",", ".")) | |
} | |
function zi(e, t) { | |
var n = e.elm; | |
a(n._leaveCb) && (n._leaveCb.cancelled = !0, | |
n._leaveCb()); | |
var r = Ei(e.data.transition); | |
if (!o(r) && !a(n._enterCb) && 1 === n.nodeType) { | |
for (var i = r.css, s = r.type, c = r.enterClass, l = r.enterToClass, f = r.enterActiveClass, d = r.appearClass, p = r.appearToClass, h = r.appearActiveClass, v = r.beforeEnter, y = r.enter, g = r.afterEnter, b = r.enterCancelled, w = r.beforeAppear, _ = r.appear, k = r.afterAppear, x = r.appearCancelled, O = r.duration, S = en, E = en.$vnode; E && E.parent; ) | |
S = E.context, | |
E = E.parent; | |
var C = !S._isMounted || !e.isRootInsert; | |
if (!C || _ || "" === _) { | |
var A = C && d ? d : c | |
, j = C && h ? h : f | |
, T = C && p ? p : l | |
, $ = C && w || v | |
, L = C && "function" === typeof _ ? _ : y | |
, P = C && k || g | |
, N = C && x || b | |
, M = m(u(O) ? O.enter : O); | |
0; | |
var D = !1 !== i && !ee | |
, R = Xi(L) | |
, F = n._enterCb = I((function() { | |
D && (Ii(n, T), | |
Ii(n, j)), | |
F.cancelled ? (D && Ii(n, A), | |
N && N(n)) : P && P(n), | |
n._enterCb = null | |
} | |
)); | |
e.data.show || lt(e, "insert", (function() { | |
var t = n.parentNode | |
, r = t && t._pending && t._pending[e.key]; | |
r && r.tag === e.tag && r.elm._leaveCb && r.elm._leaveCb(), | |
L && L(n, F) | |
} | |
)), | |
$ && $(n), | |
D && (Ri(n, A), | |
Ri(n, j), | |
Di((function() { | |
Ii(n, A), | |
F.cancelled || (Ri(n, T), | |
R || (Wi(M) ? setTimeout(F, M) : Fi(n, s, F))) | |
} | |
))), | |
e.data.show && (t && t(), | |
L && L(n, F)), | |
D || R || F() | |
} | |
} | |
} | |
function Vi(e, t) { | |
var n = e.elm; | |
a(n._enterCb) && (n._enterCb.cancelled = !0, | |
n._enterCb()); | |
var r = Ei(e.data.transition); | |
if (o(r) || 1 !== n.nodeType) | |
return t(); | |
if (!a(n._leaveCb)) { | |
var i = r.css | |
, s = r.type | |
, c = r.leaveClass | |
, l = r.leaveToClass | |
, f = r.leaveActiveClass | |
, d = r.beforeLeave | |
, p = r.leave | |
, h = r.afterLeave | |
, v = r.leaveCancelled | |
, y = r.delayLeave | |
, g = r.duration | |
, b = !1 !== i && !ee | |
, w = Xi(p) | |
, _ = m(u(g) ? g.leave : g); | |
0; | |
var k = n._leaveCb = I((function() { | |
n.parentNode && n.parentNode._pending && (n.parentNode._pending[e.key] = null), | |
b && (Ii(n, l), | |
Ii(n, f)), | |
k.cancelled ? (b && Ii(n, c), | |
v && v(n)) : (t(), | |
h && h(n)), | |
n._leaveCb = null | |
} | |
)); | |
y ? y(x) : x() | |
} | |
function x() { | |
k.cancelled || (!e.data.show && n.parentNode && ((n.parentNode._pending || (n.parentNode._pending = {}))[e.key] = e), | |
d && d(n), | |
b && (Ri(n, c), | |
Ri(n, f), | |
Di((function() { | |
Ii(n, c), | |
k.cancelled || (Ri(n, l), | |
w || (Wi(_) ? setTimeout(k, _) : Fi(n, s, k))) | |
} | |
))), | |
p && p(n, k), | |
b || w || k()) | |
} | |
} | |
function Wi(e) { | |
return "number" === typeof e && !isNaN(e) | |
} | |
function Xi(e) { | |
if (o(e)) | |
return !1; | |
var t = e.fns; | |
return a(t) ? Xi(Array.isArray(t) ? t[0] : t) : (e._length || e.length) > 1 | |
} | |
function Ki(e, t) { | |
!0 !== t.data.show && zi(t) | |
} | |
var Gi = function(e) { | |
var t, n, r = {}, i = e.modules, u = e.nodeOps; | |
for (t = 0; t < ur.length; ++t) | |
for (r[ur[t]] = [], | |
n = 0; n < i.length; ++n) | |
a(i[n][ur[t]]) && r[ur[t]].push(i[n][ur[t]]); | |
function l(e) { | |
var t = u.parentNode(e); | |
a(t) && u.removeChild(t, e) | |
} | |
function f(e, t, n, i, o, c, l) { | |
if (a(e.elm) && a(c) && (e = c[l] = ke(e)), | |
e.isRootInsert = !o, | |
!function(e, t, n, i) { | |
var o = e.data; | |
if (a(o)) { | |
var c = a(e.componentInstance) && o.keepAlive; | |
if (a(o = o.hook) && a(o = o.init) && o(e, !1), | |
a(e.componentInstance)) | |
return d(e, t), | |
p(n, e.elm, i), | |
s(c) && function(e, t, n, i) { | |
var o, s = e; | |
for (; s.componentInstance; ) | |
if (s = s.componentInstance._vnode, | |
a(o = s.data) && a(o = o.transition)) { | |
for (o = 0; o < r.activate.length; ++o) | |
r.activate[o](cr, s); | |
t.push(s); | |
break | |
} | |
p(n, e.elm, i) | |
}(e, t, n, i), | |
!0 | |
} | |
}(e, t, n, i)) { | |
var f = e.data | |
, v = e.children | |
, y = e.tag; | |
a(y) ? (e.elm = e.ns ? u.createElementNS(e.ns, y) : u.createElement(y, e), | |
g(e), | |
h(e, v, t), | |
a(f) && m(e, t), | |
p(n, e.elm, i)) : s(e.isComment) ? (e.elm = u.createComment(e.text), | |
p(n, e.elm, i)) : (e.elm = u.createTextNode(e.text), | |
p(n, e.elm, i)) | |
} | |
} | |
function d(e, t) { | |
a(e.data.pendingInsert) && (t.push.apply(t, e.data.pendingInsert), | |
e.data.pendingInsert = null), | |
e.elm = e.componentInstance.$el, | |
v(e) ? (m(e, t), | |
g(e)) : (sr(e), | |
t.push(e)) | |
} | |
function p(e, t, n) { | |
a(e) && (a(n) ? u.parentNode(n) === e && u.insertBefore(e, t, n) : u.appendChild(e, t)) | |
} | |
function h(e, t, n) { | |
if (Array.isArray(t)) { | |
0; | |
for (var r = 0; r < t.length; ++r) | |
f(t[r], n, e.elm, null, !0, t, r) | |
} else | |
c(e.text) && u.appendChild(e.elm, u.createTextNode(String(e.text))) | |
} | |
function v(e) { | |
for (; e.componentInstance; ) | |
e = e.componentInstance._vnode; | |
return a(e.tag) | |
} | |
function m(e, n) { | |
for (var i = 0; i < r.create.length; ++i) | |
r.create[i](cr, e); | |
a(t = e.data.hook) && (a(t.create) && t.create(cr, e), | |
a(t.insert) && n.push(e)) | |
} | |
function g(e) { | |
var t; | |
if (a(t = e.fnScopeId)) | |
u.setStyleScope(e.elm, t); | |
else | |
for (var n = e; n; ) | |
a(t = n.context) && a(t = t.$options._scopeId) && u.setStyleScope(e.elm, t), | |
n = n.parent; | |
a(t = en) && t !== e.context && t !== e.fnContext && a(t = t.$options._scopeId) && u.setStyleScope(e.elm, t) | |
} | |
function b(e, t, n, r, i, o) { | |
for (; r <= i; ++r) | |
f(n[r], o, e, t, !1, n, r) | |
} | |
function w(e) { | |
var t, n, i = e.data; | |
if (a(i)) | |
for (a(t = i.hook) && a(t = t.destroy) && t(e), | |
t = 0; t < r.destroy.length; ++t) | |
r.destroy[t](e); | |
if (a(t = e.children)) | |
for (n = 0; n < e.children.length; ++n) | |
w(e.children[n]) | |
} | |
function _(e, t, n, r) { | |
for (; n <= r; ++n) { | |
var i = t[n]; | |
a(i) && (a(i.tag) ? (k(i), | |
w(i)) : l(i.elm)) | |
} | |
} | |
function k(e, t) { | |
if (a(t) || a(e.data)) { | |
var n, i = r.remove.length + 1; | |
for (a(t) ? t.listeners += i : t = function(e, t) { | |
function n() { | |
0 === --n.listeners && l(e) | |
} | |
return n.listeners = t, | |
n | |
}(e.elm, i), | |
a(n = e.componentInstance) && a(n = n._vnode) && a(n.data) && k(n, t), | |
n = 0; n < r.remove.length; ++n) | |
r.remove[n](e, t); | |
a(n = e.data.hook) && a(n = n.remove) ? n(e, t) : t() | |
} else | |
l(e.elm) | |
} | |
function x(e, t, n, r) { | |
for (var i = n; i < r; i++) { | |
var o = t[i]; | |
if (a(o) && lr(e, o)) | |
return i | |
} | |
} | |
function O(e, t, n, i, c, l) { | |
if (e !== t) { | |
a(t.elm) && a(i) && (t = i[c] = ke(t)); | |
var d = t.elm = e.elm; | |
if (s(e.isAsyncPlaceholder)) | |
a(t.asyncFactory.resolved) ? C(e.elm, t, n) : t.isAsyncPlaceholder = !0; | |
else if (s(t.isStatic) && s(e.isStatic) && t.key === e.key && (s(t.isCloned) || s(t.isOnce))) | |
t.componentInstance = e.componentInstance; | |
else { | |
var p, h = t.data; | |
a(h) && a(p = h.hook) && a(p = p.prepatch) && p(e, t); | |
var m = e.children | |
, y = t.children; | |
if (a(h) && v(t)) { | |
for (p = 0; p < r.update.length; ++p) | |
r.update[p](e, t); | |
a(p = h.hook) && a(p = p.update) && p(e, t) | |
} | |
o(t.text) ? a(m) && a(y) ? m !== y && function(e, t, n, r, i) { | |
var s, c, l, d = 0, p = 0, h = t.length - 1, v = t[0], m = t[h], y = n.length - 1, g = n[0], w = n[y], k = !i; | |
for (0; d <= h && p <= y; ) | |
o(v) ? v = t[++d] : o(m) ? m = t[--h] : lr(v, g) ? (O(v, g, r, n, p), | |
v = t[++d], | |
g = n[++p]) : lr(m, w) ? (O(m, w, r, n, y), | |
m = t[--h], | |
w = n[--y]) : lr(v, w) ? (O(v, w, r, n, y), | |
k && u.insertBefore(e, v.elm, u.nextSibling(m.elm)), | |
v = t[++d], | |
w = n[--y]) : lr(m, g) ? (O(m, g, r, n, p), | |
k && u.insertBefore(e, m.elm, v.elm), | |
m = t[--h], | |
g = n[++p]) : (o(s) && (s = fr(t, d, h)), | |
o(c = a(g.key) ? s[g.key] : x(g, t, d, h)) ? f(g, r, e, v.elm, !1, n, p) : lr(l = t[c], g) ? (O(l, g, r, n, p), | |
t[c] = void 0, | |
k && u.insertBefore(e, l.elm, v.elm)) : f(g, r, e, v.elm, !1, n, p), | |
g = n[++p]); | |
d > h ? b(e, o(n[y + 1]) ? null : n[y + 1].elm, n, p, y, r) : p > y && _(0, t, d, h) | |
}(d, m, y, n, l) : a(y) ? (a(e.text) && u.setTextContent(d, ""), | |
b(d, null, y, 0, y.length - 1, n)) : a(m) ? _(0, m, 0, m.length - 1) : a(e.text) && u.setTextContent(d, "") : e.text !== t.text && u.setTextContent(d, t.text), | |
a(h) && a(p = h.hook) && a(p = p.postpatch) && p(e, t) | |
} | |
} | |
} | |
function S(e, t, n) { | |
if (s(n) && a(e.parent)) | |
e.parent.data.pendingInsert = t; | |
else | |
for (var r = 0; r < t.length; ++r) | |
t[r].data.hook.insert(t[r]) | |
} | |
var E = y("attrs,class,staticClass,staticStyle,key"); | |
function C(e, t, n, r) { | |
var i, o = t.tag, c = t.data, u = t.children; | |
if (r = r || c && c.pre, | |
t.elm = e, | |
s(t.isComment) && a(t.asyncFactory)) | |
return t.isAsyncPlaceholder = !0, | |
!0; | |
if (a(c) && (a(i = c.hook) && a(i = i.init) && i(t, !0), | |
a(i = t.componentInstance))) | |
return d(t, n), | |
!0; | |
if (a(o)) { | |
if (a(u)) | |
if (e.hasChildNodes()) | |
if (a(i = c) && a(i = i.domProps) && a(i = i.innerHTML)) { | |
if (i !== e.innerHTML) | |
return !1 | |
} else { | |
for (var l = !0, f = e.firstChild, p = 0; p < u.length; p++) { | |
if (!f || !C(f, u[p], n, r)) { | |
l = !1; | |
break | |
} | |
f = f.nextSibling | |
} | |
if (!l || f) | |
return !1 | |
} | |
else | |
h(t, u, n); | |
if (a(c)) { | |
var v = !1; | |
for (var y in c) | |
if (!E(y)) { | |
v = !0, | |
m(t, n); | |
break | |
} | |
!v && c.class && at(c.class) | |
} | |
} else | |
e.data !== t.text && (e.data = t.text); | |
return !0 | |
} | |
return function(e, t, n, i) { | |
if (!o(t)) { | |
var c, l = !1, d = []; | |
if (o(e)) | |
l = !0, | |
f(t, d); | |
else { | |
var p = a(e.nodeType); | |
if (!p && lr(e, t)) | |
O(e, t, d, null, null, i); | |
else { | |
if (p) { | |
if (1 === e.nodeType && e.hasAttribute(F) && (e.removeAttribute(F), | |
n = !0), | |
s(n) && C(e, t, d)) | |
return S(t, d, !0), | |
e; | |
c = e, | |
e = new ge(u.tagName(c).toLowerCase(),{},[],void 0,c) | |
} | |
var h = e.elm | |
, m = u.parentNode(h); | |
if (f(t, d, h._leaveCb ? null : m, u.nextSibling(h)), | |
a(t.parent)) | |
for (var y = t.parent, g = v(t); y; ) { | |
for (var b = 0; b < r.destroy.length; ++b) | |
r.destroy[b](y); | |
if (y.elm = t.elm, | |
g) { | |
for (var k = 0; k < r.create.length; ++k) | |
r.create[k](cr, y); | |
var x = y.data.hook.insert; | |
if (x.merged) | |
for (var E = 1; E < x.fns.length; E++) | |
x.fns[E]() | |
} else | |
sr(y); | |
y = y.parent | |
} | |
a(m) ? _(0, [e], 0, 0) : a(e.tag) && w(e) | |
} | |
} | |
return S(t, d, l), | |
t.elm | |
} | |
a(e) && w(e) | |
} | |
}({ | |
nodeOps: or, | |
modules: [kr, Tr, ci, fi, ki, G ? { | |
create: Ki, | |
activate: Ki, | |
remove: function(e, t) { | |
!0 !== e.data.show ? Vi(e, t) : t() | |
} | |
} : {}].concat(gr) | |
}); | |
ee && document.addEventListener("selectionchange", (function() { | |
var e = document.activeElement; | |
e && e.vmodel && ro(e, "input") | |
} | |
)); | |
var Ji = { | |
inserted: function(e, t, n, r) { | |
"select" === n.tag ? (r.elm && !r.elm._vOptions ? lt(n, "postpatch", (function() { | |
Ji.componentUpdated(e, t, n) | |
} | |
)) : Zi(e, t, n.context), | |
e._vOptions = [].map.call(e.options, eo)) : ("textarea" === n.tag || rr(e.type)) && (e._vModifiers = t.modifiers, | |
t.modifiers.lazy || (e.addEventListener("compositionstart", to), | |
e.addEventListener("compositionend", no), | |
e.addEventListener("change", no), | |
ee && (e.vmodel = !0))) | |
}, | |
componentUpdated: function(e, t, n) { | |
if ("select" === n.tag) { | |
Zi(e, t, n.context); | |
var r = e._vOptions | |
, i = e._vOptions = [].map.call(e.options, eo); | |
if (i.some((function(e, t) { | |
return !D(e, r[t]) | |
} | |
))) | |
(e.multiple ? t.value.some((function(e) { | |
return Yi(e, i) | |
} | |
)) : t.value !== t.oldValue && Yi(t.value, i)) && ro(e, "change") | |
} | |
} | |
}; | |
function Zi(e, t, n) { | |
Qi(e, t, n), | |
(Y || te) && setTimeout((function() { | |
Qi(e, t, n) | |
} | |
), 0) | |
} | |
function Qi(e, t, n) { | |
var r = t.value | |
, i = e.multiple; | |
if (!i || Array.isArray(r)) { | |
for (var o, a, s = 0, c = e.options.length; s < c; s++) | |
if (a = e.options[s], | |
i) | |
o = R(r, eo(a)) > -1, | |
a.selected !== o && (a.selected = o); | |
else if (D(eo(a), r)) | |
return void (e.selectedIndex !== s && (e.selectedIndex = s)); | |
i || (e.selectedIndex = -1) | |
} | |
} | |
function Yi(e, t) { | |
return t.every((function(t) { | |
return !D(t, e) | |
} | |
)) | |
} | |
function eo(e) { | |
return "_value"in e ? e._value : e.value | |
} | |
function to(e) { | |
e.target.composing = !0 | |
} | |
function no(e) { | |
e.target.composing && (e.target.composing = !1, | |
ro(e.target, "input")) | |
} | |
function ro(e, t) { | |
var n = document.createEvent("HTMLEvents"); | |
n.initEvent(t, !0, !0), | |
e.dispatchEvent(n) | |
} | |
function io(e) { | |
return !e.componentInstance || e.data && e.data.transition ? e : io(e.componentInstance._vnode) | |
} | |
var oo = { | |
model: Ji, | |
show: { | |
bind: function(e, t, n) { | |
var r = t.value | |
, i = (n = io(n)).data && n.data.transition | |
, o = e.__vOriginalDisplay = "none" === e.style.display ? "" : e.style.display; | |
r && i ? (n.data.show = !0, | |
zi(n, (function() { | |
e.style.display = o | |
} | |
))) : e.style.display = r ? o : "none" | |
}, | |
update: function(e, t, n) { | |
var r = t.value; | |
!r !== !t.oldValue && ((n = io(n)).data && n.data.transition ? (n.data.show = !0, | |
r ? zi(n, (function() { | |
e.style.display = e.__vOriginalDisplay | |
} | |
)) : Vi(n, (function() { | |
e.style.display = "none" | |
} | |
))) : e.style.display = r ? e.__vOriginalDisplay : "none") | |
}, | |
unbind: function(e, t, n, r, i) { | |
i || (e.style.display = e.__vOriginalDisplay) | |
} | |
} | |
} | |
, ao = { | |
name: String, | |
appear: Boolean, | |
css: Boolean, | |
mode: String, | |
type: String, | |
enterClass: String, | |
leaveClass: String, | |
enterToClass: String, | |
leaveToClass: String, | |
enterActiveClass: String, | |
leaveActiveClass: String, | |
appearClass: String, | |
appearActiveClass: String, | |
appearToClass: String, | |
duration: [Number, String, Object] | |
}; | |
function so(e) { | |
var t = e && e.componentOptions; | |
return t && t.Ctor.options.abstract ? so(Gt(t.children)) : e | |
} | |
function co(e) { | |
var t = {} | |
, n = e.$options; | |
for (var r in n.propsData) | |
t[r] = e[r]; | |
var i = n._parentListeners; | |
for (var o in i) | |
t[S(o)] = i[o]; | |
return t | |
} | |
function uo(e, t) { | |
if (/\d-keep-alive$/.test(t.tag)) | |
return e("keep-alive", { | |
props: t.componentOptions.propsData | |
}) | |
} | |
var lo = function(e) { | |
return e.tag || Kt(e) | |
} | |
, fo = function(e) { | |
return "show" === e.name | |
} | |
, po = { | |
name: "transition", | |
props: ao, | |
abstract: !0, | |
render: function(e) { | |
var t = this | |
, n = this.$slots.default; | |
if (n && (n = n.filter(lo)).length) { | |
0; | |
var r = this.mode; | |
0; | |
var i = n[0]; | |
if (function(e) { | |
for (; e = e.parent; ) | |
if (e.data.transition) | |
return !0 | |
}(this.$vnode)) | |
return i; | |
var o = so(i); | |
if (!o) | |
return i; | |
if (this._leaving) | |
return uo(e, i); | |
var a = "__transition-" + this._uid + "-"; | |
o.key = null == o.key ? o.isComment ? a + "comment" : a + o.tag : c(o.key) ? 0 === String(o.key).indexOf(a) ? o.key : a + o.key : o.key; | |
var s = (o.data || (o.data = {})).transition = co(this) | |
, u = this._vnode | |
, l = so(u); | |
if (o.data.directives && o.data.directives.some(fo) && (o.data.show = !0), | |
l && l.data && !function(e, t) { | |
return t.key === e.key && t.tag === e.tag | |
}(o, l) && !Kt(l) && (!l.componentInstance || !l.componentInstance._vnode.isComment)) { | |
var f = l.data.transition = $({}, s); | |
if ("out-in" === r) | |
return this._leaving = !0, | |
lt(f, "afterLeave", (function() { | |
t._leaving = !1, | |
t.$forceUpdate() | |
} | |
)), | |
uo(e, i); | |
if ("in-out" === r) { | |
if (Kt(o)) | |
return u; | |
var d, p = function() { | |
d() | |
}; | |
lt(s, "afterEnter", p), | |
lt(s, "enterCancelled", p), | |
lt(f, "delayLeave", (function(e) { | |
d = e | |
} | |
)) | |
} | |
} | |
return i | |
} | |
} | |
} | |
, ho = $({ | |
tag: String, | |
moveClass: String | |
}, ao); | |
function vo(e) { | |
e.elm._moveCb && e.elm._moveCb(), | |
e.elm._enterCb && e.elm._enterCb() | |
} | |
function mo(e) { | |
e.data.newPos = e.elm.getBoundingClientRect() | |
} | |
function yo(e) { | |
var t = e.data.pos | |
, n = e.data.newPos | |
, r = t.left - n.left | |
, i = t.top - n.top; | |
if (r || i) { | |
e.data.moved = !0; | |
var o = e.elm.style; | |
o.transform = o.WebkitTransform = "translate(" + r + "px," + i + "px)", | |
o.transitionDuration = "0s" | |
} | |
} | |
delete ho.mode; | |
var go = { | |
Transition: po, | |
TransitionGroup: { | |
props: ho, | |
beforeMount: function() { | |
var e = this | |
, t = this._update; | |
this._update = function(n, r) { | |
var i = tn(e); | |
e.__patch__(e._vnode, e.kept, !1, !0), | |
e._vnode = e.kept, | |
i(), | |
t.call(e, n, r) | |
} | |
}, | |
render: function(e) { | |
for (var t = this.tag || this.$vnode.data.tag || "span", n = Object.create(null), r = this.prevChildren = this.children, i = this.$slots.default || [], o = this.children = [], a = co(this), s = 0; s < i.length; s++) { | |
var c = i[s]; | |
if (c.tag) | |
if (null != c.key && 0 !== String(c.key).indexOf("__vlist")) | |
o.push(c), | |
n[c.key] = c, | |
(c.data || (c.data = {})).transition = a; | |
else | |
; | |
} | |
if (r) { | |
for (var u = [], l = [], f = 0; f < r.length; f++) { | |
var d = r[f]; | |
d.data.transition = a, | |
d.data.pos = d.elm.getBoundingClientRect(), | |
n[d.key] ? u.push(d) : l.push(d) | |
} | |
this.kept = e(t, null, u), | |
this.removed = l | |
} | |
return e(t, null, o) | |
}, | |
updated: function() { | |
var e = this.prevChildren | |
, t = this.moveClass || (this.name || "v") + "-move"; | |
e.length && this.hasMove(e[0].elm, t) && (e.forEach(vo), | |
e.forEach(mo), | |
e.forEach(yo), | |
this._reflow = document.body.offsetHeight, | |
e.forEach((function(e) { | |
if (e.data.moved) { | |
var n = e.elm | |
, r = n.style; | |
Ri(n, t), | |
r.transform = r.WebkitTransform = r.transitionDuration = "", | |
n.addEventListener(Li, n._moveCb = function e(r) { | |
r && r.target !== n || r && !/transform$/.test(r.propertyName) || (n.removeEventListener(Li, e), | |
n._moveCb = null, | |
Ii(n, t)) | |
} | |
) | |
} | |
} | |
))) | |
}, | |
methods: { | |
hasMove: function(e, t) { | |
if (!Ai) | |
return !1; | |
if (this._hasMove) | |
return this._hasMove; | |
var n = e.cloneNode(); | |
e._transitionClasses && e._transitionClasses.forEach((function(e) { | |
Si(n, e) | |
} | |
)), | |
Oi(n, t), | |
n.style.display = "none", | |
this.$el.appendChild(n); | |
var r = Ui(n); | |
return this.$el.removeChild(n), | |
this._hasMove = r.hasTransform | |
} | |
} | |
} | |
}; | |
An.config.mustUseProp = In, | |
An.config.isReservedTag = er, | |
An.config.isReservedAttr = Dn, | |
An.config.getTagNamespace = tr, | |
An.config.isUnknownElement = function(e) { | |
if (!G) | |
return !0; | |
if (er(e)) | |
return !1; | |
if (e = e.toLowerCase(), | |
null != nr[e]) | |
return nr[e]; | |
var t = document.createElement(e); | |
return e.indexOf("-") > -1 ? nr[e] = t.constructor === window.HTMLUnknownElement || t.constructor === window.HTMLElement : nr[e] = /HTMLUnknownElement/.test(t.toString()) | |
} | |
, | |
$(An.options.directives, oo), | |
$(An.options.components, go), | |
An.prototype.__patch__ = G ? Gi : P, | |
An.prototype.$mount = function(e, t) { | |
return function(e, t, n) { | |
var r; | |
return e.$el = t, | |
e.$options.render || (e.$options.render = we), | |
on(e, "beforeMount"), | |
r = function() { | |
e._update(e._render(), n) | |
} | |
, | |
new yn(e,r,P,{ | |
before: function() { | |
e._isMounted && !e._isDestroyed && on(e, "beforeUpdate") | |
} | |
},!0), | |
n = !1, | |
null == e.$vnode && (e._isMounted = !0, | |
on(e, "mounted")), | |
e | |
}(this, e = e && G ? ir(e) : void 0, t) | |
} | |
, | |
G && setTimeout((function() { | |
q.devtools && ce && ce.emit("init", An) | |
} | |
), 0); | |
var bo = /\{\{((?:.|\r?\n)+?)\}\}/g | |
, wo = /[-.*+?^${}()|[\]\/\\]/g | |
, _o = x((function(e) { | |
var t = e[0].replace(wo, "\\$&") | |
, n = e[1].replace(wo, "\\$&"); | |
return new RegExp(t + "((?:.|\\n)+?)" + n,"g") | |
} | |
)); | |
var ko = { | |
staticKeys: ["staticClass"], | |
transformNode: function(e, t) { | |
t.warn; | |
var n = Hr(e, "class"); | |
n && (e.staticClass = JSON.stringify(n)); | |
var r = qr(e, "class", !1); | |
r && (e.classBinding = r) | |
}, | |
genData: function(e) { | |
var t = ""; | |
return e.staticClass && (t += "staticClass:" + e.staticClass + ","), | |
e.classBinding && (t += "class:" + e.classBinding + ","), | |
t | |
} | |
}; | |
var xo, Oo = { | |
staticKeys: ["staticStyle"], | |
transformNode: function(e, t) { | |
t.warn; | |
var n = Hr(e, "style"); | |
n && (e.staticStyle = JSON.stringify(di(n))); | |
var r = qr(e, "style", !1); | |
r && (e.styleBinding = r) | |
}, | |
genData: function(e) { | |
var t = ""; | |
return e.staticStyle && (t += "staticStyle:" + e.staticStyle + ","), | |
e.styleBinding && (t += "style:(" + e.styleBinding + "),"), | |
t | |
} | |
}, So = function(e) { | |
return (xo = xo || document.createElement("div")).innerHTML = e, | |
xo.textContent | |
}, Eo = y("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"), Co = y("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"), Ao = y("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"), jo = /^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/, To = /^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/, $o = "[a-zA-Z_][\\-\\.0-9_a-zA-Z" + H.source + "]*", Lo = "((?:" + $o + "\\:)?" + $o + ")", Po = new RegExp("^<" + Lo), No = /^\s*(\/?)>/, Mo = new RegExp("^<\\/" + Lo + "[^>]*>"), Do = /^<!DOCTYPE [^>]+>/i, Ro = /^<!\--/, Io = /^<!\[/, Fo = y("script,style,textarea", !0), Bo = {}, Uo = { | |
"<": "<", | |
">": ">", | |
""": '"', | |
"&": "&", | |
" ": "\n", | |
"	": "\t", | |
"'": "'" | |
}, qo = /&(?:lt|gt|quot|amp|#39);/g, Ho = /&(?:lt|gt|quot|amp|#39|#10|#9);/g, zo = y("pre,textarea", !0), Vo = function(e, t) { | |
return e && zo(e) && "\n" === t[0] | |
}; | |
function Wo(e, t) { | |
var n = t ? Ho : qo; | |
return e.replace(n, (function(e) { | |
return Uo[e] | |
} | |
)) | |
} | |
var Xo, Ko, Go, Jo, Zo, Qo, Yo, ea, ta = /^@|^v-on:/, na = /^v-|^@|^:/, ra = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/, ia = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, oa = /^\(|\)$/g, aa = /^\[.*\]$/, sa = /:(.*)$/, ca = /^:|^\.|^v-bind:/, ua = /\.[^.\]]+(?=[^\]]*$)/g, la = /^v-slot(:|$)|^#/, fa = /[\r\n]/, da = /\s+/g, pa = x(So), ha = "_empty_"; | |
function va(e, t, n) { | |
return { | |
type: 1, | |
tag: e, | |
attrsList: t, | |
attrsMap: ka(t), | |
rawAttrsMap: {}, | |
parent: n, | |
children: [] | |
} | |
} | |
function ma(e, t) { | |
Xo = t.warn || Nr, | |
Qo = t.isPreTag || N, | |
Yo = t.mustUseProp || N, | |
ea = t.getTagNamespace || N; | |
var n = t.isReservedTag || N; | |
(function(e) { | |
return !!e.component || !n(e.tag) | |
} | |
), | |
Go = Mr(t.modules, "transformNode"), | |
Jo = Mr(t.modules, "preTransformNode"), | |
Zo = Mr(t.modules, "postTransformNode"), | |
Ko = t.delimiters; | |
var r, i, o = [], a = !1 !== t.preserveWhitespace, s = t.whitespace, c = !1, u = !1; | |
function l(e) { | |
if (f(e), | |
c || e.processed || (e = ya(e, t)), | |
o.length || e === r || r.if && (e.elseif || e.else) && ba(r, { | |
exp: e.elseif, | |
block: e | |
}), | |
i && !e.forbidden) | |
if (e.elseif || e.else) | |
a = e, | |
(s = function(e) { | |
for (var t = e.length; t--; ) { | |
if (1 === e[t].type) | |
return e[t]; | |
e.pop() | |
} | |
}(i.children)) && s.if && ba(s, { | |
exp: a.elseif, | |
block: a | |
}); | |
else { | |
if (e.slotScope) { | |
var n = e.slotTarget || '"default"'; | |
(i.scopedSlots || (i.scopedSlots = {}))[n] = e | |
} | |
i.children.push(e), | |
e.parent = i | |
} | |
var a, s; | |
e.children = e.children.filter((function(e) { | |
return !e.slotScope | |
} | |
)), | |
f(e), | |
e.pre && (c = !1), | |
Qo(e.tag) && (u = !1); | |
for (var l = 0; l < Zo.length; l++) | |
Zo[l](e, t) | |
} | |
function f(e) { | |
if (!u) | |
for (var t; (t = e.children[e.children.length - 1]) && 3 === t.type && " " === t.text; ) | |
e.children.pop() | |
} | |
return function(e, t) { | |
for (var n, r, i = [], o = t.expectHTML, a = t.isUnaryTag || N, s = t.canBeLeftOpenTag || N, c = 0; e; ) { | |
if (n = e, | |
r && Fo(r)) { | |
var u = 0 | |
, l = r.toLowerCase() | |
, f = Bo[l] || (Bo[l] = new RegExp("([\\s\\S]*?)(</" + l + "[^>]*>)","i")) | |
, d = e.replace(f, (function(e, n, r) { | |
return u = r.length, | |
Fo(l) || "noscript" === l || (n = n.replace(/<!\--([\s\S]*?)-->/g, "$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g, "$1")), | |
Vo(l, n) && (n = n.slice(1)), | |
t.chars && t.chars(n), | |
"" | |
} | |
)); | |
c += e.length - d.length, | |
e = d, | |
E(l, c - u, c) | |
} else { | |
var p = e.indexOf("<"); | |
if (0 === p) { | |
if (Ro.test(e)) { | |
var h = e.indexOf("--\x3e"); | |
if (h >= 0) { | |
t.shouldKeepComment && t.comment(e.substring(4, h), c, c + h + 3), | |
x(h + 3); | |
continue | |
} | |
} | |
if (Io.test(e)) { | |
var v = e.indexOf("]>"); | |
if (v >= 0) { | |
x(v + 2); | |
continue | |
} | |
} | |
var m = e.match(Do); | |
if (m) { | |
x(m[0].length); | |
continue | |
} | |
var y = e.match(Mo); | |
if (y) { | |
var g = c; | |
x(y[0].length), | |
E(y[1], g, c); | |
continue | |
} | |
var b = O(); | |
if (b) { | |
S(b), | |
Vo(b.tagName, e) && x(1); | |
continue | |
} | |
} | |
var w = void 0 | |
, _ = void 0 | |
, k = void 0; | |
if (p >= 0) { | |
for (_ = e.slice(p); !Mo.test(_) && !Po.test(_) && !Ro.test(_) && !Io.test(_) && !((k = _.indexOf("<", 1)) < 0); ) | |
p += k, | |
_ = e.slice(p); | |
w = e.substring(0, p) | |
} | |
p < 0 && (w = e), | |
w && x(w.length), | |
t.chars && w && t.chars(w, c - w.length, c) | |
} | |
if (e === n) { | |
t.chars && t.chars(e); | |
break | |
} | |
} | |
function x(t) { | |
c += t, | |
e = e.substring(t) | |
} | |
function O() { | |
var t = e.match(Po); | |
if (t) { | |
var n, r, i = { | |
tagName: t[1], | |
attrs: [], | |
start: c | |
}; | |
for (x(t[0].length); !(n = e.match(No)) && (r = e.match(To) || e.match(jo)); ) | |
r.start = c, | |
x(r[0].length), | |
r.end = c, | |
i.attrs.push(r); | |
if (n) | |
return i.unarySlash = n[1], | |
x(n[0].length), | |
i.end = c, | |
i | |
} | |
} | |
function S(e) { | |
var n = e.tagName | |
, c = e.unarySlash; | |
o && ("p" === r && Ao(n) && E(r), | |
s(n) && r === n && E(n)); | |
for (var u = a(n) || !!c, l = e.attrs.length, f = new Array(l), d = 0; d < l; d++) { | |
var p = e.attrs[d] | |
, h = p[3] || p[4] || p[5] || "" | |
, v = "a" === n && "href" === p[1] ? t.shouldDecodeNewlinesForHref : t.shouldDecodeNewlines; | |
f[d] = { | |
name: p[1], | |
value: Wo(h, v) | |
} | |
} | |
u || (i.push({ | |
tag: n, | |
lowerCasedTag: n.toLowerCase(), | |
attrs: f, | |
start: e.start, | |
end: e.end | |
}), | |
r = n), | |
t.start && t.start(n, f, u, e.start, e.end) | |
} | |
function E(e, n, o) { | |
var a, s; | |
if (null == n && (n = c), | |
null == o && (o = c), | |
e) | |
for (s = e.toLowerCase(), | |
a = i.length - 1; a >= 0 && i[a].lowerCasedTag !== s; a--) | |
; | |
else | |
a = 0; | |
if (a >= 0) { | |
for (var u = i.length - 1; u >= a; u--) | |
t.end && t.end(i[u].tag, n, o); | |
i.length = a, | |
r = a && i[a - 1].tag | |
} else | |
"br" === s ? t.start && t.start(e, [], !0, n, o) : "p" === s && (t.start && t.start(e, [], !1, n, o), | |
t.end && t.end(e, n, o)) | |
} | |
E() | |
}(e, { | |
warn: Xo, | |
expectHTML: t.expectHTML, | |
isUnaryTag: t.isUnaryTag, | |
canBeLeftOpenTag: t.canBeLeftOpenTag, | |
shouldDecodeNewlines: t.shouldDecodeNewlines, | |
shouldDecodeNewlinesForHref: t.shouldDecodeNewlinesForHref, | |
shouldKeepComment: t.comments, | |
outputSourceRange: t.outputSourceRange, | |
start: function(e, n, a, s, f) { | |
var d = i && i.ns || ea(e); | |
Y && "svg" === d && (n = function(e) { | |
for (var t = [], n = 0; n < e.length; n++) { | |
var r = e[n]; | |
xa.test(r.name) || (r.name = r.name.replace(Oa, ""), | |
t.push(r)) | |
} | |
return t | |
}(n)); | |
var p, h = va(e, n, i); | |
d && (h.ns = d), | |
"style" !== (p = h).tag && ("script" !== p.tag || p.attrsMap.type && "text/javascript" !== p.attrsMap.type) || se() || (h.forbidden = !0); | |
for (var v = 0; v < Jo.length; v++) | |
h = Jo[v](h, t) || h; | |
c || (!function(e) { | |
null != Hr(e, "v-pre") && (e.pre = !0) | |
}(h), | |
h.pre && (c = !0)), | |
Qo(h.tag) && (u = !0), | |
c ? function(e) { | |
var t = e.attrsList | |
, n = t.length; | |
if (n) | |
for (var r = e.attrs = new Array(n), i = 0; i < n; i++) | |
r[i] = { | |
name: t[i].name, | |
value: JSON.stringify(t[i].value) | |
}, | |
null != t[i].start && (r[i].start = t[i].start, | |
r[i].end = t[i].end); | |
else | |
e.pre || (e.plain = !0) | |
}(h) : h.processed || (ga(h), | |
function(e) { | |
var t = Hr(e, "v-if"); | |
if (t) | |
e.if = t, | |
ba(e, { | |
exp: t, | |
block: e | |
}); | |
else { | |
null != Hr(e, "v-else") && (e.else = !0); | |
var n = Hr(e, "v-else-if"); | |
n && (e.elseif = n) | |
} | |
}(h), | |
function(e) { | |
null != Hr(e, "v-once") && (e.once = !0) | |
}(h)), | |
r || (r = h), | |
a ? l(h) : (i = h, | |
o.push(h)) | |
}, | |
end: function(e, t, n) { | |
var r = o[o.length - 1]; | |
o.length -= 1, | |
i = o[o.length - 1], | |
l(r) | |
}, | |
chars: function(e, t, n) { | |
if (i && (!Y || "textarea" !== i.tag || i.attrsMap.placeholder !== e)) { | |
var r, o, l, f = i.children; | |
if (e = u || e.trim() ? "script" === (r = i).tag || "style" === r.tag ? e : pa(e) : f.length ? s ? "condense" === s && fa.test(e) ? "" : " " : a ? " " : "" : "") | |
u || "condense" !== s || (e = e.replace(da, " ")), | |
!c && " " !== e && (o = function(e, t) { | |
var n = t ? _o(t) : bo; | |
if (n.test(e)) { | |
for (var r, i, o, a = [], s = [], c = n.lastIndex = 0; r = n.exec(e); ) { | |
(i = r.index) > c && (s.push(o = e.slice(c, i)), | |
a.push(JSON.stringify(o))); | |
var u = Lr(r[1].trim()); | |
a.push("_s(" + u + ")"), | |
s.push({ | |
"@binding": u | |
}), | |
c = i + r[0].length | |
} | |
return c < e.length && (s.push(o = e.slice(c)), | |
a.push(JSON.stringify(o))), | |
{ | |
expression: a.join("+"), | |
tokens: s | |
} | |
} | |
}(e, Ko)) ? l = { | |
type: 2, | |
expression: o.expression, | |
tokens: o.tokens, | |
text: e | |
} : " " === e && f.length && " " === f[f.length - 1].text || (l = { | |
type: 3, | |
text: e | |
}), | |
l && f.push(l) | |
} | |
}, | |
comment: function(e, t, n) { | |
if (i) { | |
var r = { | |
type: 3, | |
text: e, | |
isComment: !0 | |
}; | |
0, | |
i.children.push(r) | |
} | |
} | |
}), | |
r | |
} | |
function ya(e, t) { | |
var n; | |
!function(e) { | |
var t = qr(e, "key"); | |
if (t) { | |
e.key = t | |
} | |
}(e), | |
e.plain = !e.key && !e.scopedSlots && !e.attrsList.length, | |
function(e) { | |
var t = qr(e, "ref"); | |
t && (e.ref = t, | |
e.refInFor = function(e) { | |
var t = e; | |
for (; t; ) { | |
if (void 0 !== t.for) | |
return !0; | |
t = t.parent | |
} | |
return !1 | |
}(e)) | |
}(e), | |
function(e) { | |
var t; | |
"template" === e.tag ? (t = Hr(e, "scope"), | |
e.slotScope = t || Hr(e, "slot-scope")) : (t = Hr(e, "slot-scope")) && (e.slotScope = t); | |
var n = qr(e, "slot"); | |
n && (e.slotTarget = '""' === n ? '"default"' : n, | |
e.slotTargetDynamic = !(!e.attrsMap[":slot"] && !e.attrsMap["v-bind:slot"]), | |
"template" === e.tag || e.slotScope || Rr(e, "slot", n, function(e, t) { | |
return e.rawAttrsMap[":" + t] || e.rawAttrsMap["v-bind:" + t] || e.rawAttrsMap[t] | |
}(e, "slot"))); | |
if ("template" === e.tag) { | |
var r = zr(e, la); | |
if (r) { | |
0; | |
var i = wa(r) | |
, o = i.name | |
, a = i.dynamic; | |
e.slotTarget = o, | |
e.slotTargetDynamic = a, | |
e.slotScope = r.value || ha | |
} | |
} else { | |
var s = zr(e, la); | |
if (s) { | |
0; | |
var c = e.scopedSlots || (e.scopedSlots = {}) | |
, u = wa(s) | |
, l = u.name | |
, f = u.dynamic | |
, d = c[l] = va("template", [], e); | |
d.slotTarget = l, | |
d.slotTargetDynamic = f, | |
d.children = e.children.filter((function(e) { | |
if (!e.slotScope) | |
return e.parent = d, | |
!0 | |
} | |
)), | |
d.slotScope = s.value || ha, | |
e.children = [], | |
e.plain = !1 | |
} | |
} | |
}(e), | |
"slot" === (n = e).tag && (n.slotName = qr(n, "name")), | |
function(e) { | |
var t; | |
(t = qr(e, "is")) && (e.component = t); | |
null != Hr(e, "inline-template") && (e.inlineTemplate = !0) | |
}(e); | |
for (var r = 0; r < Go.length; r++) | |
e = Go[r](e, t) || e; | |
return function(e) { | |
var t, n, r, i, o, a, s, c, u = e.attrsList; | |
for (t = 0, | |
n = u.length; t < n; t++) { | |
if (r = i = u[t].name, | |
o = u[t].value, | |
na.test(r)) | |
if (e.hasBindings = !0, | |
(a = _a(r.replace(na, ""))) && (r = r.replace(ua, "")), | |
ca.test(r)) | |
r = r.replace(ca, ""), | |
o = Lr(o), | |
(c = aa.test(r)) && (r = r.slice(1, -1)), | |
a && (a.prop && !c && "innerHtml" === (r = S(r)) && (r = "innerHTML"), | |
a.camel && !c && (r = S(r)), | |
a.sync && (s = Xr(o, "$event"), | |
c ? Ur(e, '"update:"+(' + r + ")", s, null, !1, 0, u[t], !0) : (Ur(e, "update:" + S(r), s, null, !1, 0, u[t]), | |
A(r) !== S(r) && Ur(e, "update:" + A(r), s, null, !1, 0, u[t])))), | |
a && a.prop || !e.component && Yo(e.tag, e.attrsMap.type, r) ? Dr(e, r, o, u[t], c) : Rr(e, r, o, u[t], c); | |
else if (ta.test(r)) | |
r = r.replace(ta, ""), | |
(c = aa.test(r)) && (r = r.slice(1, -1)), | |
Ur(e, r, o, a, !1, 0, u[t], c); | |
else { | |
var l = (r = r.replace(na, "")).match(sa) | |
, f = l && l[1]; | |
c = !1, | |
f && (r = r.slice(0, -(f.length + 1)), | |
aa.test(f) && (f = f.slice(1, -1), | |
c = !0)), | |
Fr(e, r, i, o, f, c, a, u[t]) | |
} | |
else | |
Rr(e, r, JSON.stringify(o), u[t]), | |
!e.component && "muted" === r && Yo(e.tag, e.attrsMap.type, r) && Dr(e, r, "true", u[t]) | |
} | |
}(e), | |
e | |
} | |
function ga(e) { | |
var t; | |
if (t = Hr(e, "v-for")) { | |
var n = function(e) { | |
var t = e.match(ra); | |
if (!t) | |
return; | |
var n = {}; | |
n.for = t[2].trim(); | |
var r = t[1].trim().replace(oa, "") | |
, i = r.match(ia); | |
i ? (n.alias = r.replace(ia, "").trim(), | |
n.iterator1 = i[1].trim(), | |
i[2] && (n.iterator2 = i[2].trim())) : n.alias = r; | |
return n | |
}(t); | |
n && $(e, n) | |
} | |
} | |
function ba(e, t) { | |
e.ifConditions || (e.ifConditions = []), | |
e.ifConditions.push(t) | |
} | |
function wa(e) { | |
var t = e.name.replace(la, ""); | |
return t || "#" !== e.name[0] && (t = "default"), | |
aa.test(t) ? { | |
name: t.slice(1, -1), | |
dynamic: !0 | |
} : { | |
name: '"' + t + '"', | |
dynamic: !1 | |
} | |
} | |
function _a(e) { | |
var t = e.match(ua); | |
if (t) { | |
var n = {}; | |
return t.forEach((function(e) { | |
n[e.slice(1)] = !0 | |
} | |
)), | |
n | |
} | |
} | |
function ka(e) { | |
for (var t = {}, n = 0, r = e.length; n < r; n++) | |
t[e[n].name] = e[n].value; | |
return t | |
} | |
var xa = /^xmlns:NS\d+/ | |
, Oa = /^NS\d+:/; | |
function Sa(e) { | |
return va(e.tag, e.attrsList.slice(), e.parent) | |
} | |
var Ea = [ko, Oo, { | |
preTransformNode: function(e, t) { | |
if ("input" === e.tag) { | |
var n, r = e.attrsMap; | |
if (!r["v-model"]) | |
return; | |
if ((r[":type"] || r["v-bind:type"]) && (n = qr(e, "type")), | |
r.type || n || !r["v-bind"] || (n = "(" + r["v-bind"] + ").type"), | |
n) { | |
var i = Hr(e, "v-if", !0) | |
, o = i ? "&&(" + i + ")" : "" | |
, a = null != Hr(e, "v-else", !0) | |
, s = Hr(e, "v-else-if", !0) | |
, c = Sa(e); | |
ga(c), | |
Ir(c, "type", "checkbox"), | |
ya(c, t), | |
c.processed = !0, | |
c.if = "(" + n + ")==='checkbox'" + o, | |
ba(c, { | |
exp: c.if, | |
block: c | |
}); | |
var u = Sa(e); | |
Hr(u, "v-for", !0), | |
Ir(u, "type", "radio"), | |
ya(u, t), | |
ba(c, { | |
exp: "(" + n + ")==='radio'" + o, | |
block: u | |
}); | |
var l = Sa(e); | |
return Hr(l, "v-for", !0), | |
Ir(l, ":type", n), | |
ya(l, t), | |
ba(c, { | |
exp: i, | |
block: l | |
}), | |
a ? c.else = !0 : s && (c.elseif = s), | |
c | |
} | |
} | |
} | |
}]; | |
var Ca, Aa, ja = { | |
expectHTML: !0, | |
modules: Ea, | |
directives: { | |
model: function(e, t, n) { | |
n; | |
var r = t.value | |
, i = t.modifiers | |
, o = e.tag | |
, a = e.attrsMap.type; | |
if (e.component) | |
return Wr(e, r, i), | |
!1; | |
if ("select" === o) | |
!function(e, t, n) { | |
var r = 'var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return ' + (n && n.number ? "_n(val)" : "val") + "});"; | |
r = r + " " + Xr(t, "$event.target.multiple ? $$selectedVal : $$selectedVal[0]"), | |
Ur(e, "change", r, null, !0) | |
}(e, r, i); | |
else if ("input" === o && "checkbox" === a) | |
!function(e, t, n) { | |
var r = n && n.number | |
, i = qr(e, "value") || "null" | |
, o = qr(e, "true-value") || "true" | |
, a = qr(e, "false-value") || "false"; | |
Dr(e, "checked", "Array.isArray(" + t + ")?_i(" + t + "," + i + ")>-1" + ("true" === o ? ":(" + t + ")" : ":_q(" + t + "," + o + ")")), | |
Ur(e, "change", "var $$a=" + t + ",$$el=$event.target,$$c=$$el.checked?(" + o + "):(" + a + ");if(Array.isArray($$a)){var $$v=" + (r ? "_n(" + i + ")" : i) + ",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&(" + Xr(t, "$$a.concat([$$v])") + ")}else{$$i>-1&&(" + Xr(t, "$$a.slice(0,$$i).concat($$a.slice($$i+1))") + ")}}else{" + Xr(t, "$$c") + "}", null, !0) | |
}(e, r, i); | |
else if ("input" === o && "radio" === a) | |
!function(e, t, n) { | |
var r = n && n.number | |
, i = qr(e, "value") || "null"; | |
Dr(e, "checked", "_q(" + t + "," + (i = r ? "_n(" + i + ")" : i) + ")"), | |
Ur(e, "change", Xr(t, i), null, !0) | |
}(e, r, i); | |
else if ("input" === o || "textarea" === o) | |
!function(e, t, n) { | |
var r = e.attrsMap.type; | |
0; | |
var i = n || {} | |
, o = i.lazy | |
, a = i.number | |
, s = i.trim | |
, c = !o && "range" !== r | |
, u = o ? "change" : "range" === r ? ei : "input" | |
, l = "$event.target.value"; | |
s && (l = "$event.target.value.trim()"); | |
a && (l = "_n(" + l + ")"); | |
var f = Xr(t, l); | |
c && (f = "if($event.target.composing)return;" + f); | |
Dr(e, "value", "(" + t + ")"), | |
Ur(e, u, f, null, !0), | |
(s || a) && Ur(e, "blur", "$forceUpdate()") | |
}(e, r, i); | |
else { | |
if (!q.isReservedTag(o)) | |
return Wr(e, r, i), | |
!1 | |
} | |
return !0 | |
}, | |
text: function(e, t) { | |
t.value && Dr(e, "textContent", "_s(" + t.value + ")", t) | |
}, | |
html: function(e, t) { | |
t.value && Dr(e, "innerHTML", "_s(" + t.value + ")", t) | |
} | |
}, | |
isPreTag: function(e) { | |
return "pre" === e | |
}, | |
isUnaryTag: Eo, | |
mustUseProp: In, | |
canBeLeftOpenTag: Co, | |
isReservedTag: er, | |
getTagNamespace: tr, | |
staticKeys: function(e) { | |
return e.reduce((function(e, t) { | |
return e.concat(t.staticKeys || []) | |
} | |
), []).join(",") | |
}(Ea) | |
}, Ta = x((function(e) { | |
return y("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap" + (e ? "," + e : "")) | |
} | |
)); | |
function $a(e, t) { | |
e && (Ca = Ta(t.staticKeys || ""), | |
Aa = t.isReservedTag || N, | |
function e(t) { | |
if (t.static = function(e) { | |
if (2 === e.type) | |
return !1; | |
if (3 === e.type) | |
return !0; | |
return !(!e.pre && (e.hasBindings || e.if || e.for || g(e.tag) || !Aa(e.tag) || function(e) { | |
for (; e.parent; ) { | |
if ("template" !== (e = e.parent).tag) | |
return !1; | |
if (e.for) | |
return !0 | |
} | |
return !1 | |
}(e) || !Object.keys(e).every(Ca))) | |
}(t), | |
1 === t.type) { | |
if (!Aa(t.tag) && "slot" !== t.tag && null == t.attrsMap["inline-template"]) | |
return; | |
for (var n = 0, r = t.children.length; n < r; n++) { | |
var i = t.children[n]; | |
e(i), | |
i.static || (t.static = !1) | |
} | |
if (t.ifConditions) | |
for (var o = 1, a = t.ifConditions.length; o < a; o++) { | |
var s = t.ifConditions[o].block; | |
e(s), | |
s.static || (t.static = !1) | |
} | |
} | |
}(e), | |
function e(t, n) { | |
if (1 === t.type) { | |
if ((t.static || t.once) && (t.staticInFor = n), | |
t.static && t.children.length && (1 !== t.children.length || 3 !== t.children[0].type)) | |
return void (t.staticRoot = !0); | |
if (t.staticRoot = !1, | |
t.children) | |
for (var r = 0, i = t.children.length; r < i; r++) | |
e(t.children[r], n || !!t.for); | |
if (t.ifConditions) | |
for (var o = 1, a = t.ifConditions.length; o < a; o++) | |
e(t.ifConditions[o].block, n) | |
} | |
}(e, !1)) | |
} | |
var La = /^([\w$_]+|\([^)]*?\))\s*=>|^function\s*(?:[\w$]+)?\s*\(/ | |
, Pa = /\([^)]*?\);*$/ | |
, Na = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/ | |
, Ma = { | |
esc: 27, | |
tab: 9, | |
enter: 13, | |
space: 32, | |
up: 38, | |
left: 37, | |
right: 39, | |
down: 40, | |
delete: [8, 46] | |
} | |
, Da = { | |
esc: ["Esc", "Escape"], | |
tab: "Tab", | |
enter: "Enter", | |
space: [" ", "Spacebar"], | |
up: ["Up", "ArrowUp"], | |
left: ["Left", "ArrowLeft"], | |
right: ["Right", "ArrowRight"], | |
down: ["Down", "ArrowDown"], | |
delete: ["Backspace", "Delete", "Del"] | |
} | |
, Ra = function(e) { | |
return "if(" + e + ")return null;" | |
} | |
, Ia = { | |
stop: "$event.stopPropagation();", | |
prevent: "$event.preventDefault();", | |
self: Ra("$event.target !== $event.currentTarget"), | |
ctrl: Ra("!$event.ctrlKey"), | |
shift: Ra("!$event.shiftKey"), | |
alt: Ra("!$event.altKey"), | |
meta: Ra("!$event.metaKey"), | |
left: Ra("'button' in $event && $event.button !== 0"), | |
middle: Ra("'button' in $event && $event.button !== 1"), | |
right: Ra("'button' in $event && $event.button !== 2") | |
}; | |
function Fa(e, t) { | |
var n = t ? "nativeOn:" : "on:" | |
, r = "" | |
, i = ""; | |
for (var o in e) { | |
var a = Ba(e[o]); | |
e[o] && e[o].dynamic ? i += o + "," + a + "," : r += '"' + o + '":' + a + "," | |
} | |
return r = "{" + r.slice(0, -1) + "}", | |
i ? n + "_d(" + r + ",[" + i.slice(0, -1) + "])" : n + r | |
} | |
function Ba(e) { | |
if (!e) | |
return "function(){}"; | |
if (Array.isArray(e)) | |
return "[" + e.map((function(e) { | |
return Ba(e) | |
} | |
)).join(",") + "]"; | |
var t = Na.test(e.value) | |
, n = La.test(e.value) | |
, r = Na.test(e.value.replace(Pa, "")); | |
if (e.modifiers) { | |
var i = "" | |
, o = "" | |
, a = []; | |
for (var s in e.modifiers) | |
if (Ia[s]) | |
o += Ia[s], | |
Ma[s] && a.push(s); | |
else if ("exact" === s) { | |
var c = e.modifiers; | |
o += Ra(["ctrl", "shift", "alt", "meta"].filter((function(e) { | |
return !c[e] | |
} | |
)).map((function(e) { | |
return "$event." + e + "Key" | |
} | |
)).join("||")) | |
} else | |
a.push(s); | |
return a.length && (i += function(e) { | |
return "if(!$event.type.indexOf('key')&&" + e.map(Ua).join("&&") + ")return null;" | |
}(a)), | |
o && (i += o), | |
"function($event){" + i + (t ? "return " + e.value + "($event)" : n ? "return (" + e.value + ")($event)" : r ? "return " + e.value : e.value) + "}" | |
} | |
return t || n ? e.value : "function($event){" + (r ? "return " + e.value : e.value) + "}" | |
} | |
function Ua(e) { | |
var t = parseInt(e, 10); | |
if (t) | |
return "$event.keyCode!==" + t; | |
var n = Ma[e] | |
, r = Da[e]; | |
return "_k($event.keyCode," + JSON.stringify(e) + "," + JSON.stringify(n) + ",$event.key," + JSON.stringify(r) + ")" | |
} | |
var qa = { | |
on: function(e, t) { | |
e.wrapListeners = function(e) { | |
return "_g(" + e + "," + t.value + ")" | |
} | |
}, | |
bind: function(e, t) { | |
e.wrapData = function(n) { | |
return "_b(" + n + ",'" + e.tag + "'," + t.value + "," + (t.modifiers && t.modifiers.prop ? "true" : "false") + (t.modifiers && t.modifiers.sync ? ",true" : "") + ")" | |
} | |
}, | |
cloak: P | |
} | |
, Ha = function(e) { | |
this.options = e, | |
this.warn = e.warn || Nr, | |
this.transforms = Mr(e.modules, "transformCode"), | |
this.dataGenFns = Mr(e.modules, "genData"), | |
this.directives = $($({}, qa), e.directives); | |
var t = e.isReservedTag || N; | |
this.maybeComponent = function(e) { | |
return !!e.component || !t(e.tag) | |
} | |
, | |
this.onceId = 0, | |
this.staticRenderFns = [], | |
this.pre = !1 | |
}; | |
function za(e, t) { | |
var n = new Ha(t); | |
return { | |
render: "with(this){return " + (e ? Va(e, n) : '_c("div")') + "}", | |
staticRenderFns: n.staticRenderFns | |
} | |
} | |
function Va(e, t) { | |
if (e.parent && (e.pre = e.pre || e.parent.pre), | |
e.staticRoot && !e.staticProcessed) | |
return Wa(e, t); | |
if (e.once && !e.onceProcessed) | |
return Xa(e, t); | |
if (e.for && !e.forProcessed) | |
return Ga(e, t); | |
if (e.if && !e.ifProcessed) | |
return Ka(e, t); | |
if ("template" !== e.tag || e.slotTarget || t.pre) { | |
if ("slot" === e.tag) | |
return function(e, t) { | |
var n = e.slotName || '"default"' | |
, r = Ya(e, t) | |
, i = "_t(" + n + (r ? "," + r : "") | |
, o = e.attrs || e.dynamicAttrs ? ns((e.attrs || []).concat(e.dynamicAttrs || []).map((function(e) { | |
return { | |
name: S(e.name), | |
value: e.value, | |
dynamic: e.dynamic | |
} | |
} | |
))) : null | |
, a = e.attrsMap["v-bind"]; | |
!o && !a || r || (i += ",null"); | |
o && (i += "," + o); | |
a && (i += (o ? "" : ",null") + "," + a); | |
return i + ")" | |
}(e, t); | |
var n; | |
if (e.component) | |
n = function(e, t, n) { | |
var r = t.inlineTemplate ? null : Ya(t, n, !0); | |
return "_c(" + e + "," + Ja(t, n) + (r ? "," + r : "") + ")" | |
}(e.component, e, t); | |
else { | |
var r; | |
(!e.plain || e.pre && t.maybeComponent(e)) && (r = Ja(e, t)); | |
var i = e.inlineTemplate ? null : Ya(e, t, !0); | |
n = "_c('" + e.tag + "'" + (r ? "," + r : "") + (i ? "," + i : "") + ")" | |
} | |
for (var o = 0; o < t.transforms.length; o++) | |
n = t.transforms[o](e, n); | |
return n | |
} | |
return Ya(e, t) || "void 0" | |
} | |
function Wa(e, t) { | |
e.staticProcessed = !0; | |
var n = t.pre; | |
return e.pre && (t.pre = e.pre), | |
t.staticRenderFns.push("with(this){return " + Va(e, t) + "}"), | |
t.pre = n, | |
"_m(" + (t.staticRenderFns.length - 1) + (e.staticInFor ? ",true" : "") + ")" | |
} | |
function Xa(e, t) { | |
if (e.onceProcessed = !0, | |
e.if && !e.ifProcessed) | |
return Ka(e, t); | |
if (e.staticInFor) { | |
for (var n = "", r = e.parent; r; ) { | |
if (r.for) { | |
n = r.key; | |
break | |
} | |
r = r.parent | |
} | |
return n ? "_o(" + Va(e, t) + "," + t.onceId++ + "," + n + ")" : Va(e, t) | |
} | |
return Wa(e, t) | |
} | |
function Ka(e, t, n, r) { | |
return e.ifProcessed = !0, | |
function e(t, n, r, i) { | |
if (!t.length) | |
return i || "_e()"; | |
var o = t.shift(); | |
return o.exp ? "(" + o.exp + ")?" + a(o.block) + ":" + e(t, n, r, i) : "" + a(o.block); | |
function a(e) { | |
return r ? r(e, n) : e.once ? Xa(e, n) : Va(e, n) | |
} | |
}(e.ifConditions.slice(), t, n, r) | |
} | |
function Ga(e, t, n, r) { | |
var i = e.for | |
, o = e.alias | |
, a = e.iterator1 ? "," + e.iterator1 : "" | |
, s = e.iterator2 ? "," + e.iterator2 : ""; | |
return e.forProcessed = !0, | |
(r || "_l") + "((" + i + "),function(" + o + a + s + "){return " + (n || Va)(e, t) + "})" | |
} | |
function Ja(e, t) { | |
var n = "{" | |
, r = function(e, t) { | |
var n = e.directives; | |
if (!n) | |
return; | |
var r, i, o, a, s = "directives:[", c = !1; | |
for (r = 0, | |
i = n.length; r < i; r++) { | |
o = n[r], | |
a = !0; | |
var u = t.directives[o.name]; | |
u && (a = !!u(e, o, t.warn)), | |
a && (c = !0, | |
s += '{name:"' + o.name + '",rawName:"' + o.rawName + '"' + (o.value ? ",value:(" + o.value + "),expression:" + JSON.stringify(o.value) : "") + (o.arg ? ",arg:" + (o.isDynamicArg ? o.arg : '"' + o.arg + '"') : "") + (o.modifiers ? ",modifiers:" + JSON.stringify(o.modifiers) : "") + "},") | |
} | |
if (c) | |
return s.slice(0, -1) + "]" | |
}(e, t); | |
r && (n += r + ","), | |
e.key && (n += "key:" + e.key + ","), | |
e.ref && (n += "ref:" + e.ref + ","), | |
e.refInFor && (n += "refInFor:true,"), | |
e.pre && (n += "pre:true,"), | |
e.component && (n += 'tag:"' + e.tag + '",'); | |
for (var i = 0; i < t.dataGenFns.length; i++) | |
n += t.dataGenFns[i](e); | |
if (e.attrs && (n += "attrs:" + ns(e.attrs) + ","), | |
e.props && (n += "domProps:" + ns(e.props) + ","), | |
e.events && (n += Fa(e.events, !1) + ","), | |
e.nativeEvents && (n += Fa(e.nativeEvents, !0) + ","), | |
e.slotTarget && !e.slotScope && (n += "slot:" + e.slotTarget + ","), | |
e.scopedSlots && (n += function(e, t, n) { | |
var r = e.for || Object.keys(t).some((function(e) { | |
var n = t[e]; | |
return n.slotTargetDynamic || n.if || n.for || Za(n) | |
} | |
)) | |
, i = !!e.if; | |
if (!r) | |
for (var o = e.parent; o; ) { | |
if (o.slotScope && o.slotScope !== ha || o.for) { | |
r = !0; | |
break | |
} | |
o.if && (i = !0), | |
o = o.parent | |
} | |
var a = Object.keys(t).map((function(e) { | |
return Qa(t[e], n) | |
} | |
)).join(","); | |
return "scopedSlots:_u([" + a + "]" + (r ? ",null,true" : "") + (!r && i ? ",null,false," + function(e) { | |
var t = 5381 | |
, n = e.length; | |
for (; n; ) | |
t = 33 * t ^ e.charCodeAt(--n); | |
return t >>> 0 | |
}(a) : "") + ")" | |
}(e, e.scopedSlots, t) + ","), | |
e.model && (n += "model:{value:" + e.model.value + ",callback:" + e.model.callback + ",expression:" + e.model.expression + "},"), | |
e.inlineTemplate) { | |
var o = function(e, t) { | |
var n = e.children[0]; | |
0; | |
if (n && 1 === n.type) { | |
var r = za(n, t.options); | |
return "inlineTemplate:{render:function(){" + r.render + "},staticRenderFns:[" + r.staticRenderFns.map((function(e) { | |
return "function(){" + e + "}" | |
} | |
)).join(",") + "]}" | |
} | |
}(e, t); | |
o && (n += o + ",") | |
} | |
return n = n.replace(/,$/, "") + "}", | |
e.dynamicAttrs && (n = "_b(" + n + ',"' + e.tag + '",' + ns(e.dynamicAttrs) + ")"), | |
e.wrapData && (n = e.wrapData(n)), | |
e.wrapListeners && (n = e.wrapListeners(n)), | |
n | |
} | |
function Za(e) { | |
return 1 === e.type && ("slot" === e.tag || e.children.some(Za)) | |
} | |
function Qa(e, t) { | |
var n = e.attrsMap["slot-scope"]; | |
if (e.if && !e.ifProcessed && !n) | |
return Ka(e, t, Qa, "null"); | |
if (e.for && !e.forProcessed) | |
return Ga(e, t, Qa); | |
var r = e.slotScope === ha ? "" : String(e.slotScope) | |
, i = "function(" + r + "){return " + ("template" === e.tag ? e.if && n ? "(" + e.if + ")?" + (Ya(e, t) || "undefined") + ":undefined" : Ya(e, t) || "undefined" : Va(e, t)) + "}" | |
, o = r ? "" : ",proxy:true"; | |
return "{key:" + (e.slotTarget || '"default"') + ",fn:" + i + o + "}" | |
} | |
function Ya(e, t, n, r, i) { | |
var o = e.children; | |
if (o.length) { | |
var a = o[0]; | |
if (1 === o.length && a.for && "template" !== a.tag && "slot" !== a.tag) { | |
var s = n ? t.maybeComponent(a) ? ",1" : ",0" : ""; | |
return "" + (r || Va)(a, t) + s | |
} | |
var c = n ? function(e, t) { | |
for (var n = 0, r = 0; r < e.length; r++) { | |
var i = e[r]; | |
if (1 === i.type) { | |
if (es(i) || i.ifConditions && i.ifConditions.some((function(e) { | |
return es(e.block) | |
} | |
))) { | |
n = 2; | |
break | |
} | |
(t(i) || i.ifConditions && i.ifConditions.some((function(e) { | |
return t(e.block) | |
} | |
))) && (n = 1) | |
} | |
} | |
return n | |
}(o, t.maybeComponent) : 0 | |
, u = i || ts; | |
return "[" + o.map((function(e) { | |
return u(e, t) | |
} | |
)).join(",") + "]" + (c ? "," + c : "") | |
} | |
} | |
function es(e) { | |
return void 0 !== e.for || "template" === e.tag || "slot" === e.tag | |
} | |
function ts(e, t) { | |
return 1 === e.type ? Va(e, t) : 3 === e.type && e.isComment ? function(e) { | |
return "_e(" + JSON.stringify(e.text) + ")" | |
}(e) : function(e) { | |
return "_v(" + (2 === e.type ? e.expression : rs(JSON.stringify(e.text))) + ")" | |
}(e) | |
} | |
function ns(e) { | |
for (var t = "", n = "", r = 0; r < e.length; r++) { | |
var i = e[r] | |
, o = rs(i.value); | |
i.dynamic ? n += i.name + "," + o + "," : t += '"' + i.name + '":' + o + "," | |
} | |
return t = "{" + t.slice(0, -1) + "}", | |
n ? "_d(" + t + ",[" + n.slice(0, -1) + "])" : t | |
} | |
function rs(e) { | |
return e.replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029") | |
} | |
new RegExp("\\b" + "do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b") + "\\b"), | |
new RegExp("\\b" + "delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b") + "\\s*\\([^\\)]*\\)"); | |
function is(e, t) { | |
try { | |
return new Function(e) | |
} catch (n) { | |
return t.push({ | |
err: n, | |
code: e | |
}), | |
P | |
} | |
} | |
function os(e) { | |
var t = Object.create(null); | |
return function(n, r, i) { | |
(r = $({}, r)).warn; | |
delete r.warn; | |
var o = r.delimiters ? String(r.delimiters) + n : n; | |
if (t[o]) | |
return t[o]; | |
var a = e(n, r); | |
var s = {} | |
, c = []; | |
return s.render = is(a.render, c), | |
s.staticRenderFns = a.staticRenderFns.map((function(e) { | |
return is(e, c) | |
} | |
)), | |
t[o] = s | |
} | |
} | |
var as, ss, cs = (as = function(e, t) { | |
var n = ma(e.trim(), t); | |
!1 !== t.optimize && $a(n, t); | |
var r = za(n, t); | |
return { | |
ast: n, | |
render: r.render, | |
staticRenderFns: r.staticRenderFns | |
} | |
} | |
, | |
function(e) { | |
function t(t, n) { | |
var r = Object.create(e) | |
, i = [] | |
, o = []; | |
if (n) | |
for (var a in n.modules && (r.modules = (e.modules || []).concat(n.modules)), | |
n.directives && (r.directives = $(Object.create(e.directives || null), n.directives)), | |
n) | |
"modules" !== a && "directives" !== a && (r[a] = n[a]); | |
r.warn = function(e, t, n) { | |
(n ? o : i).push(e) | |
} | |
; | |
var s = as(t.trim(), r); | |
return s.errors = i, | |
s.tips = o, | |
s | |
} | |
return { | |
compile: t, | |
compileToFunctions: os(t) | |
} | |
} | |
)(ja), us = (cs.compile, | |
cs.compileToFunctions); | |
function ls(e) { | |
return (ss = ss || document.createElement("div")).innerHTML = e ? '<a href="\n"/>' : '<div a="\n"/>', | |
ss.innerHTML.indexOf(" ") > 0 | |
} | |
var fs = !!G && ls(!1) | |
, ds = !!G && ls(!0) | |
, ps = x((function(e) { | |
var t = ir(e); | |
return t && t.innerHTML | |
} | |
)) | |
, hs = An.prototype.$mount; | |
An.prototype.$mount = function(e, t) { | |
if ((e = e && ir(e)) === document.body || e === document.documentElement) | |
return this; | |
var n = this.$options; | |
if (!n.render) { | |
var r = n.template; | |
if (r) | |
if ("string" === typeof r) | |
"#" === r.charAt(0) && (r = ps(r)); | |
else { | |
if (!r.nodeType) | |
return this; | |
r = r.innerHTML | |
} | |
else | |
e && (r = function(e) { | |
if (e.outerHTML) | |
return e.outerHTML; | |
var t = document.createElement("div"); | |
return t.appendChild(e.cloneNode(!0)), | |
t.innerHTML | |
}(e)); | |
if (r) { | |
0; | |
var i = us(r, { | |
outputSourceRange: !1, | |
shouldDecodeNewlines: fs, | |
shouldDecodeNewlinesForHref: ds, | |
delimiters: n.delimiters, | |
comments: n.comments | |
}, this) | |
, o = i.render | |
, a = i.staticRenderFns; | |
n.render = o, | |
n.staticRenderFns = a | |
} | |
} | |
return hs.call(this, e, t) | |
} | |
, | |
An.compile = us, | |
t.a = An | |
} | |
).call(this, n(13), n(39).setImmediate) | |
} | |
}); | |
//# sourceMappingURL=reader-cb74acd66e1446cda59b.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can just add one CSS rule instead of duplicating everything. Can possibly override BlinkistPack by injecting a script in a Chrome extension