(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{1013:function(e,t,n){"use strict";n(714)},1014:function(e,t,n){var r=n(9)(!1);r.push([e.i,'@-webkit-keyframes GradientHype{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes GradientHype{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@-webkit-keyframes LivePulse{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}@keyframes LivePulse{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}#giveaway-page.isWebView{margin-top:100px}#giveaway-page .wrapper{width:1280px;position:relative}@media only screen and (max-width:1400px){#giveaway-page .wrapper{width:100%;max-width:1064px}}@media only screen and (min-width:1024px) and (max-width:1279px){#giveaway-page .wrapper{width:100%;max-width:1064px}}@media only screen and (max-width:1023px){#giveaway-page .wrapper{width:100%;padding:0 20px;box-sizing:border-box}}@media only screen and (min-width:1024px){#giveaway-page .is-mobile{display:none}}@media only screen and (max-width:1023px){#giveaway-page .is-desktop{display:none}}#giveaway-page .anchor{display:block;position:relative;top:-72px;visibility:hidden}#giveaway-page strong{font-family:"Figtree SemiBold","Helvetica",arial,sans-serif}#giveaway-page h1,#giveaway-page h2{color:#252525;font-family:"Figtree Bold","Helvetica",arial,sans-serif;font-size:24px;font-weight:700;letter-spacing:.6px;line-height:28px;text-align:center}@media only screen and (max-width:1023px){#giveaway-page h1,#giveaway-page h2{font-size:18px;letter-spacing:.45px;line-height:24px}}#giveaway-page .giveaway__header{position:relative;z-index:100;max-width:2560px;height:190px;margin:0 auto;padding:60px 0 0}@media only screen and (min-width:1024px){#giveaway-page .giveaway__header .wrapper{width:850px;position:relative}#giveaway-page .giveaway__header .wrapper.sticky{position:fixed;top:0;z-index:100;width:850px;height:60px;align-items:center;margin:0 auto;left:0;right:0}#giveaway-page .giveaway__header .wrapper.sticky:before{content:"";z-index:99;background:#fff;width:100%;position:fixed;height:60px;top:0;left:0;box-shadow:0 2px 10px 0 rgba(235,161,161,.18)}#giveaway-page .giveaway__header .wrapper.sticky .active{top:0}#giveaway-page .giveaway__header .wrapper.sticky .giveaway__header--logo{position:absolute;left:-150px;top:50%;transform:translateY(-50%);z-index:101;width:auto}#giveaway-page .giveaway__header .wrapper.sticky .giveaway__header--menu{position:relative;margin-top:0;z-index:101}#giveaway-page .giveaway__header .wrapper.sticky .giveaway__header--menu a{box-sizing:border-box;height:60px;line-height:60px;padding-bottom:0;margin-bottom:0}#giveaway-page .giveaway__header .wrapper.sticky .giveaway__header--share{position:absolute;right:-150px;top:50%;transform:translateY(-50%);z-index:101}}@media only screen and (min-width:1024px) and (max-width:1279px){#giveaway-page .giveaway__header .wrapper,#giveaway-page .giveaway__header .wrapper.sticky{width:720px}#giveaway-page .giveaway__header .wrapper.sticky .giveaway__header--logo{left:-136px}#giveaway-page .giveaway__header .wrapper.sticky .giveaway__header--menu a{font-size:13px}#giveaway-page .giveaway__header .wrapper.sticky .giveaway__header--share{right:-136px}}@media only screen and (max-width:1023px){#giveaway-page .giveaway__header{height:134px;background-position:50%}#giveaway-page .giveaway__header .wrapper{padding:0}#giveaway-page .giveaway__header .wrapper.sticky:before{content:"";z-index:99;background:#fff;width:100%;position:fixed;height:60px;top:0;left:0}#giveaway-page .giveaway__header .wrapper.sticky .active{top:0;color:#bd96c6}}#giveaway-page .giveaway__header--icon{position:fixed;font-size:27px;z-index:99;top:15px;left:15px}#giveaway-page .giveaway__header--icon .icon-close-filled{font-size:25px}#giveaway-page .giveaway__header--logo{text-align:center;width:100%}#giveaway-page .giveaway__header--logo a{display:inline-block}@media only screen and (max-width:1023px){#giveaway-page .giveaway__header--logo{width:auto;z-index:99;position:fixed;left:50%;transform:translate(-50%);top:15px}}#giveaway-page .giveaway__header--share{position:absolute;top:5px;right:0}@media only screen and (max-width:1023px){#giveaway-page .giveaway__header--share{position:fixed;z-index:99;margin-right:10px;top:15px;right:5px}}#giveaway-page .giveaway__header--menu{display:flex;justify-content:space-around;margin-top:62px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__header--menu{display:none;margin:0;width:100%;position:fixed;top:0;left:0;z-index:9;padding:60px 0 60px 20px;background:#fff;height:100%}#giveaway-page .giveaway__header--menu.active{display:block}}#giveaway-page .giveaway__header--menu a{color:#252525;font-size:14px;font-weight:600;letter-spacing:.15px;line-height:16px;border-bottom:1px solid transparent;font-family:"Figtree SemiBold","Helvetica",arial,sans-serif;padding-bottom:4px}#giveaway-page .giveaway__header--menu a.active,#giveaway-page .giveaway__header--menu a:hover{border-bottom:3px solid #e5c1d2}@media only screen and (max-width:1023px){#giveaway-page .giveaway__header--menu a{display:block;line-height:55px;font-family:"Figtree","Helvetica",arial,sans-serif;border-bottom:1px solid #efefef}#giveaway-page .giveaway__header--menu a.active,#giveaway-page .giveaway__header--menu a:hover{border-bottom:1px solid #efefef;font-family:"Figtree Bold","Helvetica",arial,sans-serif}}#giveaway-page .giveaway__banner{max-width:2560px;margin:-190px auto 0;padding:234px 0 40px;text-align:center;background-size:cover!important}@media only screen and (max-width:1023px){#giveaway-page .giveaway__banner{margin:-134px auto 0;padding:100px 0 32px;max-width:100%}}#giveaway-page .giveaway__banner--background{position:absolute;left:0;right:0;top:0;max-width:2560px;margin:0 auto;width:100%;height:100%;max-height:836px;-o-object-fit:cover;object-fit:cover;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none}#giveaway-page .giveaway__banner--image{border-radius:16px;width:850px;height:283px;margin:0 auto 40px;background:#eba1a1;overflow:hidden;cursor:pointer}@media only screen and (max-width:1023px){#giveaway-page .giveaway__banner--image{margin-bottom:25px;width:100%;height:auto}}#giveaway-page .giveaway__banner h2{max-width:425px;margin:0 auto 24px}#giveaway-page .giveaway__banner p{width:80%;margin:0 auto 24px;color:#252525;font-family:"Figtree","Helvetica",arial,sans-serif;font-size:16px;letter-spacing:.37px;line-height:24px;text-align:center;max-width:710px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__banner p{width:275px;font-size:14px;letter-spacing:.3px;line-height:21px}}#giveaway-page .giveaway__banner strong{color:#555;font-family:"Figtree SemiBold","Helvetica",arial,sans-serif;font-size:14px;font-weight:600;letter-spacing:.32px;line-height:20px;text-align:center;display:block;margin:0 auto;max-width:406px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__banner strong{width:262px;font-size:12px;letter-spacing:.25px;line-height:17px}}#giveaway-page .giveaway__decorator{height:1px;width:21px;border:2px solid #e5c1d2;margin:22px auto;background:#e5c1d2}#giveaway-page .giveaway__quiz{max-width:2560px;margin:0 auto;text-align:center;height:385px;background-size:cover!important;position:relative}@media only screen and (max-width:1023px){#giveaway-page .giveaway__quiz{height:451px}}#giveaway-page .giveaway__quiz .wrapper{height:100%}#giveaway-page .giveaway__quiz--background{position:absolute;left:0;top:0;width:100%;height:100%;max-height:385px;-o-object-fit:cover;object-fit:cover;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none}@media only screen and (max-width:1023px){#giveaway-page .giveaway__quiz--background{max-height:100%}}#giveaway-page .giveaway__quiz h1{margin-bottom:16px;color:#195864}@media only screen and (max-width:1023px){#giveaway-page .giveaway__quiz h1{padding-top:0;font-size:20px;font-weight:700;letter-spacing:.5px;line-height:24px}}#giveaway-page .giveaway__quiz--detail{position:absolute;bottom:34px;left:0;right:0;margin:0 auto}@media only screen and (max-width:1023px){#giveaway-page .giveaway__quiz--detail{max-width:190px}}#giveaway-page .giveaway__quiz--text{color:#555;font-family:"Figtree","Helvetica",arial,sans-serif;font-size:16px;letter-spacing:.4px;line-height:28px;display:inline-block;margin-right:16px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__quiz--text{margin:50px auto 12px;font-size:13px;letter-spacing:.33px;line-height:19px}}#giveaway-page .giveaway__quiz--share{display:inline-block}#giveaway-page .giveaway__quiz--play-button{max-width:486px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}@media only screen and (max-width:1023px){#giveaway-page .giveaway__quiz--play-button{max-width:100%}}#giveaway-page .giveaway__quiz--button{position:relative;display:inline-block;cursor:pointer;outline:none;text-decoration:none;font-family:"Figtree Bold","Helvetica",arial,sans-serif;color:#fff;font-size:18px;font-weight:700;letter-spacing:0;line-height:22px;text-align:center;padding:8px 28px;background:#f04e46;border:2px solid #f04e46;border-radius:8px;transform-style:preserve-3d;transition:transform .15s ease-out,background .15s ease-out;vertical-align:middle}#giveaway-page .giveaway__quiz--button .icon{font-size:11px;line-height:22px;vertical-align:middle}#giveaway-page .giveaway__quiz--button:before{position:absolute;content:"";width:100%;height:100%;top:0;left:0;right:0;bottom:0;background:#e3362e;border-radius:inherit;box-shadow:0 0 0 2px #e3362e,0 2px 0 0 #e3362e;transform:translate3d(0,.5em,-1em);transition:transform .15s ease-out,box-shadow .15s ease-out}#giveaway-page .giveaway__quiz--button:hover{background:#f0443c;transform:translateY(.2em)}#giveaway-page .giveaway__quiz--button:hover:before{box-shadow:0 0 0 2px #e3362e,0 2px 0 0 #e3362e;transform:translate3d(0,.4em,-1em)}#giveaway-page .giveaway__quiz--button:active{background:#f0443c;transform:translateY(.75em)}#giveaway-page .giveaway__quiz--button:active:before{box-shadow:0 0 0 2px #e3362e,0 0 #e3362e;transform:translateZ(-1em)}#giveaway-page .giveaway__ribbon{max-width:2560px;margin:0 auto;position:relative;text-align:center;display:flex;align-items:center;justify-content:center}@media only screen and (max-width:1023px){#giveaway-page .giveaway__ribbon{height:120px;padding:0 20px}}#giveaway-page .giveaway__ribbon--background{max-width:auto;margin:0 auto;position:absolute;width:100%;height:64px;left:0;top:0;z-index:-1}@media only screen and (max-width:1023px){#giveaway-page .giveaway__ribbon--background{height:120px}}#giveaway-page .giveaway__ribbon .badge{width:40px;height:50px;margin-right:16px;justify-self:center}#giveaway-page .giveaway__ribbon p{color:#555;font-family:"Figtree","Helvetica",arial,sans-serif;font-size:16px;font-weight:400;letter-spacing:.4px;line-height:64px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__ribbon p{font-size:14px;letter-spacing:.35px;line-height:20px;text-align:left}}#giveaway-page .giveaway__section h2{margin:0 auto 30px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__section h2{margin-bottom:24px}}#giveaway-page .giveaway__winner{text-align:center;background:url(https://alexandra.bridestory.com/image/upload/w_2560,h_416,f_auto,q_auto:low/v1600187121/assets/background-04-g1paJBXr9.png) no-repeat;background-size:2560px;background-position:bottom;padding-top:40px}#giveaway-page .giveaway__winner--container{position:relative;height:340px;text-align:center}#giveaway-page .giveaway__winner img{position:absolute;left:0;right:0;top:0;z-index:0;width:100%;max-width:556px;margin:0 auto 54px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__winner img{margin-bottom:25px;max-width:278px}}@media only screen and (max-width:1023px){#giveaway-page .giveaway__winner h2{max-width:177px}}#giveaway-page .giveaway__winner--text{position:relative;z-index:1;display:block;max-width:455px;margin:0 auto;padding-top:60px;height:230px;display:flex;align-items:center;flex-wrap:wrap}@media only screen and (max-width:1023px){#giveaway-page .giveaway__winner--text{height:300px;padding-top:30px}}#giveaway-page .giveaway__winner p{color:#555;font-family:"Figtree","Helvetica",arial,sans-serif;font-size:16px;letter-spacing:.4px;line-height:28px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__winner p{font-size:14px;letter-spacing:.35px;line-height:23px;max-width:220px;display:block;margin:0 auto}}#giveaway-page .giveaway__winner a{display:block;color:#195864;font-family:"Figtree SemiBold","Helvetica",arial,sans-serif;font-size:16px;font-weight:600;letter-spacing:.17px;line-height:30px;border-radius:8px;width:160px;background-color:#fff;padding:5px 20px;margin:24px auto 0;transition:all .4s ease}#giveaway-page .giveaway__winner a:hover{background-color:#195864;color:#fff}@media only screen and (max-width:1023px){#giveaway-page .giveaway__winner a{font-size:14px;letter-spacing:.15px;line-height:30px}}#giveaway-page .giveaway__mechanism .wrapper{padding:45px 20px 64px;border-bottom:1px solid #e5d7ec}#giveaway-page .giveaway__mechanism--container{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:32px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__mechanism--container{grid-template-columns:1fr;grid-gap:32px;gap:32px}}#giveaway-page .giveaway__mechanism--card{text-align:center}#giveaway-page .giveaway__mechanism--card img{width:114px;margin:0 auto 21px}#giveaway-page .giveaway__mechanism--card span{display:block;font-family:"Figtree Bold","Helvetica",arial,sans-serif;font-size:13px;letter-spacing:.33px;line-height:19px;text-align:center;color:#eba1a1;margin-bottom:4px}#giveaway-page .giveaway__mechanism--card p{color:#555;font-family:"Figtree","Helvetica",arial,sans-serif;font-size:13px;letter-spacing:.33px;line-height:19px;text-align:center;max-width:286px;margin:0 auto}#giveaway-page .giveaway__mechanism--card a{color:#eba1a1;text-decoration:underline}#giveaway-page .giveaway__terms{color:#555;font-family:"Figtree","Helvetica",arial,sans-serif;font-size:14px;letter-spacing:.32px;line-height:24px;margin-top:64px}#giveaway-page .giveaway__terms--container{padding:0 20px 40px}#giveaway-page .giveaway__terms ol{list-style-type:decimal;position:relative;padding:0 20px;margin-bottom:24px}#giveaway-page .giveaway__terms li::marker{color:#eba1a1;position:relative;right:8px}#giveaway-page .giveaway__terms li span{position:relative;left:10px}#giveaway-page .giveaway__terms a{color:#eba1a1;text-decoration:underline}#giveaway-page .giveaway__terms i{font-style:italic}#giveaway-page .giveaway__terms--closed{max-height:192px;overflow:hidden}#giveaway-page .giveaway__terms--closed:before{content:"";position:absolute;left:0;bottom:0;height:50px;width:100%;background:linear-gradient(0deg,#fff,hsla(0,0%,100%,0));z-index:2}#giveaway-page .giveaway__terms--toggle{height:24px;text-align:center}#giveaway-page .giveaway__terms--toggle a{color:#eba1a1;font-family:"Figtree Bold","Helvetica",arial,sans-serif;font-size:14px;font-weight:700;letter-spacing:.32px;line-height:24px;text-decoration:none}#giveaway-page .giveaway__terms--toggle .icon:before{transition:.1s ease-in-out}#giveaway-page .giveaway__terms--toggle .icon--open:before{transform:rotate(180deg)}#giveaway-page .giveaway__other{text-align:center;background:linear-gradient(135deg,#fefdff,#fff2f6 53.25%,#f8ffed);max-width:2560px;margin:0 auto;min-height:416px;padding:40px 80px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__other{min-height:auto;padding:20px 0 42px;background:linear-gradient(329.08deg,#f8ffed,#fff2f6 20%,#fbeeff)}#giveaway-page .giveaway__other h2{max-width:213px;margin:0 auto}}@media only screen and (max-width:1023px){#giveaway-page .giveaway__other .wrapper{padding:0}}#giveaway-page .giveaway__article{padding:40px 80px;min-height:416px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article{padding:20px 0 64px}}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article .wrapper{padding:0}}#giveaway-page .giveaway__article--button{font-family:"Figtree Bold","Helvetica",arial,sans-serif;font-size:16px;font-weight:700;letter-spacing:.2px;line-height:24px;text-align:center;color:#eba1a1;border:1px solid #eba1a1;padding:8px 16px;border-radius:8px;display:block;width:208px;margin:40px auto 0;transition:.2s ease}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article--button{margin-top:24px;width:calc(100% - 40px)}}#giveaway-page .giveaway__article--button:hover{color:#fff;background:#eba1a1}#giveaway-page .giveaway__article-card{width:308px;text-align:left}@media only screen and (min-width:1024px) and (max-width:1400px){#giveaway-page .giveaway__article-card{width:200px}}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article-card{width:100%}}#giveaway-page .giveaway__article-card--image{display:block;width:100%;height:212px;border-radius:8px;overflow:hidden;margin-bottom:10px;-o-object-fit:cover;object-fit:cover}@media only screen and (min-width:1024px) and (max-width:1400px){#giveaway-page .giveaway__article-card--image{width:200px;height:137px}}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article-card--image{height:164px}}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article-card--image.small{height:113px}}#giveaway-page .giveaway__article-card--image.empty{background-color:#ebdae8}#giveaway-page .giveaway__article-card a{color:#252525;text-decoration:none}#giveaway-page .giveaway__article-card h3,#giveaway-page .giveaway__article-card p{color:#252525;font-family:"Figtree Bold","Helvetica",arial,sans-serif;font-size:18px;font-weight:700;letter-spacing:0;line-height:22px}#giveaway-page .giveaway__article-card h3{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;-webkit-box-pack:end;overflow:hidden}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article-card h3{font-family:"Figtree","Helvetica",arial,sans-serif;font-size:14px;letter-spacing:0;line-height:20px}}#giveaway-page .giveaway__article-card span{display:block;color:#848484;font-family:"Figtree SemiBold","Helvetica",arial,sans-serif;font-size:13px;font-weight:600;letter-spacing:0;line-height:16px;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#giveaway-page .giveaway__article-card span a{color:#eaa2a1}#giveaway-page .giveaway__article-card p{height:44px;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-box-pack:end;overflow:hidden}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article-card p{font-family:"Figtree","Helvetica",arial,sans-serif;font-size:14px;letter-spacing:0;line-height:20px}}#giveaway-page .giveaway__article-card--text{overflow:hidden;height:44px}@media only screen and (max-width:1023px){#giveaway-page .giveaway__article-card--text{height:40px}}#giveaway-page .giveaway__swiper{position:relative}#giveaway-page .giveaway__modal{position:fixed;z-index:102;width:520px;height:520px;left:0;right:0;top:0;bottom:0;max-width:520px;display:block;margin:auto}@media only screen and (max-width:1023px){#giveaway-page .giveaway__modal{width:80vw;max-width:520px;max-height:80vw}}#giveaway-page .giveaway__modal--backdrop{position:fixed;top:0;left:0;background-color:rgba(37,37,37,.6);width:100vw;height:100vh}#giveaway-page .giveaway__modal img{position:absolute;width:100%;height:100%}@media only screen and (max-width:1023px){#giveaway-page .giveaway__modal img{max-width:520px;height:auto;max-height:520px}}#giveaway-page .giveaway__modal .close{position:absolute;top:-20px;right:-32px;color:#fff;font-size:20px;cursor:pointer}#giveaway-page .swiper-container{position:static}#giveaway-page .swiper-wrapper{align-items:flex-start}@media only screen and (min-width:1024px){#giveaway-page .swiper-wrapper.center{justify-content:center}}#giveaway-page .swiper-button-nav{height:40px;width:40px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px 0 rgba(0,0,0,.1);margin-top:86px;top:0}@media only screen and (max-width:1023px){#giveaway-page .swiper-button-nav{display:none}}#giveaway-page .swiper-button-nav.swiper-button-disabled{display:none}#giveaway-page .swiper-button-nav:focus{outline:none}#giveaway-page .swiper-button-next{right:-56px}#giveaway-page .swiper-button-next:before{font-family:"fontello";content:"";font-size:14px;color:#848484;margin:0;float:none;line-height:40px;display:block}#giveaway-page .swiper-button-prev{left:-56px}#giveaway-page .swiper-button-prev:before{font-family:"fontello";content:"";font-size:14px;color:#848484;margin:0;float:none;line-height:40px;display:block}#giveaway-page .swiper-slide{display:flex}@media only screen and (max-width:1023px){#giveaway-page .swiper-slide{width:164px!important}}@-webkit-keyframes slide-up{0%{transform:translateY(100px)}to{transform:translateY(0)}}@keyframes slide-up{0%{transform:translateY(100px)}to{transform:translateY(0)}}',""]),e.exports=r},1604:function(e,t,n){"use strict";n.r(t);n(22),n(23),n(20),n(46),n(47);var r=n(11),o=n(5),c=(n(6),n(34),n(704)),l=n(24),d=n(504),h=n(533),v=n(78),w=n(29),m=n(53);n(487);function _(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function y(e){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(this.account&&this.account.type&&"vendor"==this.account.type)this.state.isShowVendorBlocker=!0;else if(this.account){label&&this.logEvent(label,t);var n=new l.a;n.isWebView?window.location.href=e:window.open(e,"_blank").focus()}else this.account||this.showLogin()},appendUUID:function(e){return"".concat(e,"#uuid=").concat(this.accountUUID)},showLogin:function(){var e=this;e.logEvent("load_login_popup","header_button","campaign_bridestory_quiz");var t=new l.a;if(t.isWebView){t.inAppAction({action:"login",value:null})}else this.showLoginPopUp((function(t){200==t.status&&e.logEvent("login","header_button","campaign_bridestory_quiz")}),(function(t,n){e.logEvent("failed_login_".concat(t),"header_button","campaign_bridestory_quiz")}))},clickMenu:function(menu){"burger"!=menu&&(this.activeMenu=menu),this.$device.isDesktop||(this.state.isShowMobileMenu=!this.state.isShowMobileMenu,this.state.isShowMobileMenu?document.body.style.overflow="hidden":document.body.style.overflow="auto")},logEvent:function(label){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"header_button",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"campaign_bridestory_quiz",n=new l.a,data={action:e,category:t,label:label};if(n.isWebView){var r=JSON.stringify(data);n.setLogEvent("staticCampaign",r)}else dataLayer.push({event:"staticCampaign",staticCampaign:data})},toggleScrollable:function(e){e?document.body.classList.toggle("no-scroll",!0):document.body.classList.remove("no-scroll")},toggleState:function(e){this.state["".concat(e)]=!this.state["".concat(e)]},shuffle:function(e){for(var t,n=e.length;0!==n;){t=Math.floor(Math.random()*n),n--;var r=[e[t],e[n]];e[n]=r[0],e[t]=r[1]}return e},getBlogArticles:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n,r,o,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={include:"category,votes,views,comments,author,colors,tags,vendorCredits,blogIntroImageContents,blogImageContents",limit:8,page:1,tag:"Before You Say I Do"},r=new h.a(e.$axios),t.next=4,r.getBlogLists(y(y({},n),{is_published:!0}),"ID");case 4:o=t.sent,data=o.data,e.blogArticles=data.blogArticles;case 7:case"end":return t.stop()}}),t)})))()}},beforeMount:function(){var e=this;this.stickyMenu=!this.$device.isDesktop&&window.pageYOffset>0,(this.$store.state.system.bsWebview||this.$route.query.source)&&(this.state.isShowHeader=!1,this.state.isShowFooter=!1),this.other_quiz&&this.other_quiz.length&&(this.other_quiz=this.shuffle(this.other_quiz)),window.addEventListener("scroll",(function(){e.$device.isMobile?e.stickyMenu=window.pageYOffset>0:e.stickyMenu=window.pageYOffset>130,window.pageYOffset>400&&!e.showVendor&&(e.showVendor=!0),window.pageYOffset>1500&&!e.showBlog&&(e.showBlog=!0)})),this.pageView({v2_pageProperties:{category:"campaign_bridestory_quiz",subCategory:void 0,properties:void 0}}),this.$nextTick((function(){e.$nuxt.$loading.start(),e.$nuxt.$loading.finish()}),500)},mounted:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:"IntersectionObserver"in window&&(n=document.querySelectorAll(".observe"),r={root:null,rootMargin:"0px",threshold:.8},e.observer=new IntersectionObserver((function(t){t.forEach((function(t){t.isIntersecting&&t.target.id&&t.intersectionRatio>0&&(e.activeMenu=t.target.id),t.isIntersecting&&"giveaway-banner"==t.target.id&&!e.state.isVisitBanner?(e.logEvent(e.quiz_info.title,"load_banner"),e.state.isVisitBanner=!0):t.isIntersecting&&"giveaway-quiz"==t.target.id&&!e.state.isVisitQuiz?(e.logEvent(e.play_quiz.quiz_question,"load_play_quiz"),e.state.isVisitQuiz=!0):t.isIntersecting&&"giveaway-mechanism"==t.target.id&&!e.state.isVisitMechanism?e.state.isVisitMechanism=!0:t.isIntersecting&&"giveaway-terms"==t.target.id&&!e.state.isVisitTerms?e.state.isVisitTerms=!0:t.isIntersecting&&"giveaway-winner"==t.target.id&&!e.state.isVisitWinner?e.state.isVisitWinner=!0:t.isIntersecting&&"giveaway-other"==t.target.id&&!e.state.isVisitOther?(e.other_quiz&&e.other_quiz.length&&e.other_quiz.forEach((function(t){e.logEvent(t.name,"load_quiz_card")})),e.state.isVisitOther=!0):t.isIntersecting&&"giveaway-article"==t.target.id&&!e.state.isVisitArticle&&(e.state.isVisitArticle=!0,e.getBlogArticles())}))}),r),n.forEach((function(element){e.observer.observe(element)})));case 1:case"end":return t.stop()}}),t)})))()},beforeDestroy:function(){this.observer.disconnect()},asyncData:function(e){return Object(o.a)(regeneratorRuntime.mark((function t(){var n,r,o,c,l,h,v,w,m,_,y,x,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.$axios,(r=e.store).dispatch("showHeader",!1),r.dispatch("showFooter",!1),o=new d.a(n),t.prev=4,t.next=7,o.getGiveawayPage();case 7:x=t.sent,data=x.data,c=data.quiz_info,l=data.play_quiz,h=data.winner_announcement,v=data.quiz_mechanism,w=data.terms_conditions,m=data.other_quiz,_=data.share_text,y=data.og_image,t.next=22;break;case 19:t.prev=19,t.t0=t.catch(4),console.log(t.t0);case 22:return t.abrupt("return",{quiz_info:c,play_quiz:l,winner_announcement:h,quiz_mechanism:v,terms_conditions:w,other_quiz:m,shareText:_,ogImage:y});case 23:case"end":return t.stop()}}),t,null,[[4,19]])})))()}},f=x,k=(n(1013),n(3)),component=Object(k.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"giveaway",class:{isWebView:e.isWebView||e.$route.query.source},attrs:{id:"giveaway-page"}},[e._m(0),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.state.isShowHeader,expression:"state.isShowHeader"}],staticClass:"giveaway__header",class:{menu:e.state.isShowMobileMenu},attrs:{id:"header"}},[n("div",{staticClass:"wrapper",class:{sticky:e.stickyMenu}},[n("div",{staticClass:"giveaway__header--icon is-mobile"},[n("span",{class:e.state.isShowMobileMenu?"icon-close-filled":"icon-menu-burger",on:{click:function(t){return e.clickMenu("burger")}}})]),e._v(" "),n("div",{staticClass:"giveaway__header--logo"},[n("a",{attrs:{href:"https://www.bridestory.com"}},[n("img",{attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/bridestory-logo2x-WicBcyU2e.png",116,28,100).imgSrc,alt:"Bridestory",height:"28",width:"116",fetch_format:"webp"}})])]),e._v(" "),n("div",{staticClass:"giveaway__header--menu",class:{active:e.state.isShowMobileMenu,sticky:e.stickyMenu}},[n("a",{class:{active:"giveaway-banner"==e.activeMenu},attrs:{href:"#giveaway-banner"},on:{click:function(t){return e.clickMenu("giveaway-banner")}}},[e._v("Info Hadiah")]),e._v(" "),n("a",{class:{active:"giveaway-quiz"==e.activeMenu},attrs:{href:"#giveaway-quiz"},on:{click:function(t){return e.clickMenu("giveaway-quiz")}}},[e._v("Mainkan Kuis")]),e._v(" "),e.quiz_mechanism?n("a",{class:{active:"giveaway-mechanism"==e.activeMenu},attrs:{href:"#giveaway-mechanism"},on:{click:function(t){return e.clickMenu("giveaway-mechanism")}}},[e._v("Mekanisme")]):e._e(),e._v(" "),e.terms_conditions?n("a",{class:{active:"giveaway-terms"==e.activeMenu},attrs:{href:"#giveaway-terms"},on:{click:function(t){return e.clickMenu("giveaway-terms")}}},[e._v("Syarat & Ketentuan")]):e._e(),e._v(" "),e.isShowMenuWinner?n("a",{class:{active:"giveaway-winner"==e.activeMenu},attrs:{href:"#giveaway-winner"},on:{click:function(t){return e.clickMenu("giveaway-winner")}}},[e._v("Info Pemenang")]):e._e(),e._v(" "),e.isShowMenuOther?n("a",{class:{active:"giveaway-other"==e.activeMenu},attrs:{href:"#giveaway-other"},on:{click:function(t){return e.clickMenu("giveaway-other")}}},[e._v("Kuis Lainnya")]):e._e(),e._v(" "),n("a",{class:{active:"giveaway-article"==e.activeMenu},attrs:{href:"#giveaway-article"},on:{click:function(t){return e.clickMenu("giveaway-article")}}},[e._v("Artikel")])]),e._v(" "),n("div",{staticClass:"giveaway__share giveaway__header--share is-desktop"},[n("giveaway-share",{attrs:{shareText:e.shareText,shareUrl:e.shareUrl}})],1),e._v(" "),n("div",{staticClass:"giveaway__share giveaway__header--share is-mobile"},[n("giveaway-share",{attrs:{type:"mobile",shareText:e.shareText,shareUrl:e.shareUrl}})],1)])]),e._v(" "),e.quiz_info?n("div",{staticClass:"giveaway__banner"},[n("picture",[n("source",{attrs:{media:"(max-width:767px)",srcset:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/background-01-before-you-say-i-do-mobile-eceuiEspP.png").imgSrc}}),e._v(" "),n("img",{staticClass:"giveaway__banner--background",attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/background-01-before-you-say-i-do-d_RPW_iga.png",850,283).imgSrc,alt:"Bridestory Quiz",fetch_format:"webp"}})]),e._v(" "),n("div",{staticClass:"wrapper"},[n("div",{staticClass:"observe anchor",attrs:{id:"giveaway-banner"}}),e._v(" "),n("picture",[n("source",{attrs:{media:"(max-width:1023px)",srcset:e.getImageUrl(e.quiz_info.banner_url).imgSrc}}),e._v(" "),n("source",{attrs:{media:"(max-width:420px)",srcset:e.getImageUrl(e.quiz_info.banner_url,400).imgSrc}}),e._v(" "),n("img",{staticClass:"giveaway__banner--image",attrs:{src:e.getImageUrl(e.quiz_info.banner_url,850,283).imgSrc,alt:e.quiz_info.title,fetch_format:"webp"},on:{click:function(t){e.handleClick(e.appendUUID(e.play_quiz.target_url),e.quiz_info.title,"click_banner")}}})]),e._v(" "),n("h2",[e._v(e._s(e.quiz_info.title))]),e._v(" "),n("p",[e._v(e._s(e.quiz_info.description))]),e._v(" "),n("strong",[e._v(e._s(e.quiz_info.terms))])])]):e._e(),e._v(" "),e.play_quiz?n("div",{staticClass:"giveaway__quiz"},[n("picture",[n("source",{attrs:{media:"(max-width:767px)",srcset:e.getImageUrl(e.play_quiz.banner_mobile_url).imgSrc}}),e._v(" "),n("img",{staticClass:"giveaway__quiz--background",attrs:{src:e.getImageUrl(e.play_quiz.banner_desktop_url).imgSrc,alt:e.play_quiz.quiz_question,fetch_format:"webp"}})]),e._v(" "),n("div",{staticClass:"wrapper"},[n("div",{staticClass:"observe anchor",attrs:{id:"giveaway-quiz"}}),e._v(" "),n("div",{staticClass:"giveaway__quiz--play-button"},[n("h1",[e._v(e._s(e.play_quiz.quiz_question))]),e._v(" "),n("button",{staticClass:"giveaway__quiz--button",on:{click:function(t){e.handleClick(e.appendUUID(e.play_quiz.target_url),e.play_quiz.quiz_question,"click_play_quiz")}}},[e._v("Mainkan Kuis "),n("span",{staticClass:"icon icon-arrow-right-2-filled"})])]),e._v(" "),n("div",{staticClass:"giveaway__quiz--detail"},[n("p",{staticClass:"giveaway__quiz--text"},[e._v("Mainkan kuis ini dan ajak teman Anda sekarang!")]),e._v(" "),n("div",{staticClass:"giveaway__quiz--share"},[e.$device.isDesktop?n("giveaway-share",{attrs:{shareText:e.shareText,shareUrl:e.shareUrl,shareLabel:e.play_quiz.quiz_question,shareAction:"share_play_quiz"}}):n("giveaway-share",{attrs:{alignment:"middle",shareText:e.shareText,shareUrl:e.shareUrl,shareLabel:e.play_quiz.quiz_question,shareAction:"share_play_quiz"}})],1)])])]):e._e(),e._v(" "),e.winner_announcement?n("div",{staticClass:"giveaway__ribbon"},[n("picture",[n("source",{attrs:{media:"(max-width:420px)",srcset:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/background-03-f1lOpYUwd.png",400).imgSrc}}),e._v(" "),n("img",{staticClass:"giveaway__ribbon--background",attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/background-03-hXZ5hnCnJ.png").imgSrc,alt:"Giveaway Winner"}})]),e._v(" "),n("img",{staticClass:"badge",attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/badge2x-K47og6zwv.png",40).imgSrc,alt:"Giveaway Badge"}}),e._v(" "),n("p",[e._v("\n\t\t\tPemenang Kuis "),n("strong",[e._v("“"+e._s(e.winner_announcement.current_quiz.name)+"”")]),e._v(" akan diumumkan pada "),n("strong",[e._v(e._s(e.$dayjs(e.winner_announcement.current_quiz.announcement_date).locale("id").format("D MMMM YYYY")))])])]):e._e(),e._v(" "),n("div",{staticClass:"giveaway__section"},[e.quiz_mechanism?n("div",{staticClass:"giveaway__mechanism"},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"observe anchor",attrs:{id:"giveaway-mechanism"}}),e._v(" "),e.state.isVisitMechanism?[n("h2",[e._v("Mekanisme Kuis & Giveaway")]),e._v(" "),n("div",{staticClass:"giveaway__decorator"}),e._v(" "),n("div",{staticClass:"giveaway__mechanism--container"},[n("div",{staticClass:"giveaway__mechanism--card"},[n("img",{attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/mechanism-012x-j8Lme4Y5J.png",114,114).imgSrc,alt:"Giveaway Mechanism 1",height:"114",width:"114",fetch_format:"webp"}}),e._v(" "),n("span",[e._v("01")]),e._v(" "),n("p",[n("a",{on:{click:e.handleLogin}},[e._v("Login ke akun Bridestory Anda")]),e._v(" dan mainkan kuis sesuai dengan periode giveaway yang tertera di halaman ini")])]),e._v(" "),n("div",{staticClass:"giveaway__mechanism--card"},[n("img",{attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/mechanism-022x-q52_pzqMx.png",114,114).imgSrc,alt:"Giveaway Mechanism 2",height:"114",width:"114",fetch_format:"webp"}}),e._v(" "),n("span",[e._v("02")]),e._v(" "),e._m(1)]),e._v(" "),n("div",{staticClass:"giveaway__mechanism--card"},[n("img",{attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/mechanism-032x-khEUq9I0y.png",114,114).imgSrc,alt:"Giveaway Mechanism 3",height:"114",width:"114",fetch_format:"webp"}}),e._v(" "),n("span",[e._v("03")]),e._v(" "),n("p",[e._v("Kunjungi "),n("a",{attrs:{href:e.quiz_mechanism.instagram_post_url,target:"_blank",rel:"noopener noreferrer"}},[e._v("Instagram Post ini")]),e._v(" dan jawab pertanyaan di kolom komentar")])])]),e._v(" "),e.state.isShowMechanism?n("div",{staticClass:"giveaway__terms"},[n("h2",[e._v("Mekanisme Pemberian Hadiah")]),e._v(" "),n("div",{staticClass:"giveaway__decorator"}),e._v(" "),e.state.isShowMechanism?n("ol",e._l(e.quiz_mechanism.mechanism,(function(t){return n("li",{key:t.index},[n("span",{domProps:{innerHTML:e._s(t)}})])})),0):e._e()]):e._e(),e._v(" "),n("div",{staticClass:"giveaway__terms--toggle"},[e.state.isShowMechanism?n("a",{on:{click:function(t){return e.toggleState("isShowMechanism")}}},[e._v("Tutup "),n("span",{staticClass:"icon-arrow-down-2-filled",class:{"icon--open":e.state.isShowMechanism}})]):n("a",{on:{click:function(t){return e.toggleState("isShowMechanism")}}},[e._v("Lihat Selengkapnya "),n("span",{staticClass:"icon-arrow-down-2-filled",class:{"icon--open":e.state.isShowMechanism}})])])]:e._e()],2)]):e._e(),e._v(" "),e.terms_conditions?n("div",{staticClass:"giveaway__terms"},[n("div",{staticClass:"wrapper giveaway__terms--container"},[n("div",{staticClass:"observe anchor",attrs:{id:"giveaway-terms"}}),e._v(" "),e.state.isVisitTerms?[n("h2",[e._v("Syarat & Ketentuan")]),e._v(" "),n("div",{staticClass:"giveaway__decorator"}),e._v(" "),n("ol",{class:{"giveaway__terms--closed":!e.state.isShowTerms}},e._l(e.terms_conditions.terms,(function(t){return n("li",{key:t.index},[n("span",{domProps:{innerHTML:e._s(t)}})])})),0),e._v(" "),n("div",{staticClass:"giveaway__terms--toggle"},[e.state.isShowTerms?n("a",{on:{click:function(t){return e.toggleState("isShowTerms")}}},[e._v("Tutup "),n("span",{staticClass:"icon-arrow-down-2-filled",class:{"icon--open":e.state.isShowTerms}})]):n("a",{on:{click:function(t){return e.toggleState("isShowTerms")}}},[e._v("Lihat Selengkapnya "),n("span",{staticClass:"icon-arrow-down-2-filled",class:{"icon--open":e.state.isShowTerms}})])])]:e._e()],2)]):e._e(),e._v(" "),e.winner_announcement&&e.winner_announcement.previous_quiz&&e.winner_announcement.previous_quiz.announcement_date&&e.$dayjs(e.winner_announcement.previous_quiz.announcement_date).isAfter()?n("div",{staticClass:"giveaway__winner"},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"observe anchor",attrs:{id:"giveaway-winner"}}),e._v(" "),e.state.isVisitWinner?[n("h2",[e._v("Info Pemenang Periode Sebelumnya")]),e._v(" "),n("div",{staticClass:"giveaway__decorator"}),e._v(" "),n("div",{staticClass:"giveaway__winner--container"},[n("picture",[n("source",{attrs:{media:"(max-width:1023px)",srcset:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/pemenang-card2x1-MqY3l-a02.png").imgSrc}}),e._v(" "),n("img",{attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/pemenang-card2x-pHsKR4UlH.png").imgSrc,alt:"Pemenang Quiz Bridestory"}})]),e._v(" "),n("div",{staticClass:"giveaway__winner--text"},[n("p",[e._v("Nantikan pemenang periode sebelumnya, "),n("strong",[e._v("‘"+e._s(e.winner_announcement.previous_quiz.name)+"’")]),e._v(" pada "),n("strong",[e._v(e._s(e.$dayjs(e.winner_announcement.previous_quiz.announcement_date).locale("id").format("D MMMM YYYY")))])])])])]:e._e()],2)]):e.winner_announcement&&e.winner_announcement.previous_quiz&&e.winner_announcement.previous_quiz.winner_url?n("div",{staticClass:"giveaway__winner"},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"observe anchor",attrs:{id:"giveaway-winner"}}),e._v(" "),e.state.isVisitWinner?[n("h2",[e._v("Info Pemenang Periode Sebelumnya")]),e._v(" "),n("div",{staticClass:"giveaway__decorator"}),e._v(" "),n("div",{staticClass:"giveaway__winner--container"},[n("picture",[n("source",{attrs:{media:"(max-width:1023px)",srcset:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/pemenang-card2x1-MqY3l-a02.png").imgSrc}}),e._v(" "),n("img",{attrs:{src:e.getImageUrl("https://alexandra.bridestory.com/image/upload/assets/pemenang-card2x-pHsKR4UlH.png").imgSrc,alt:"Pemenang Quiz Bridestory"}})]),e._v(" "),n("div",{staticClass:"giveaway__winner--text"},[n("p",[e._v("\n\t\t\t\t\t\t\t\tCari tahu siapa pemenang kuis "),n("strong",[e._v("‘"+e._s(e.winner_announcement.previous_quiz.name)+"’")]),e._v(" di sini\n\t\t\t\t\t\t\t\t"),e.account?e.account&&e.account.type&&"vendor"==e.account.type?n("a",{on:{click:function(t){return e.toggleState("isShowVendorBlocker")}}},[e._v("Lihat Pemenang")]):n("a",{on:{click:function(t){e.toggleState("isShowWinner"),e.toggleScrollable(!0)}}},[e._v("Lihat Pemenang")]):n("a",{on:{click:e.handleLogin}},[e._v("Lihat Pemenang")])])])])]:e._e()],2)]):e._e()]),e._v(" "),e.other_quiz&&!e.state.isVisitOther||e.other_quiz&&e.other_quiz.length?n("div",{staticClass:"giveaway__other"},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"observe anchor",attrs:{id:"giveaway-other"}}),e._v(" "),e.state.isVisitOther?[n("h2",[e._v("\n\t\t\t\t\tKuis Seru Lain untuk Anda Mainkan\n\t\t\t\t")]),e._v(" "),n("div",{staticClass:"giveaway__decorator"}),e._v(" "),n("div",{staticClass:"giveaway__swiper"},[n("div",{directives:[{name:"swiper",rawName:"v-swiper:otherSwiper",value:e.swiperOption,expression:"swiperOption",arg:"otherSwiper"}]},[n("div",{staticClass:"swiper-wrapper",class:{center:e.other_quiz.length<4}},e._l(e.other_quiz,(function(t){return n("div",{key:t.index,staticClass:"swiper-slide"},[n("div",{staticClass:"giveaway__article-card"},[n("a",{attrs:{target:"_blank"},on:{click:function(n){e.handleClick(e.appendUUID(t.target_url),t.name,"click_quiz_card")}}},[n("img",{staticClass:"giveaway__article-card--image small",attrs:{src:e.getImageUrl(t.cover).imgSrc,alt:t.name}})]),e._v(" "),n("h3",[n("a",{on:{click:function(n){e.handleClick(e.appendUUID(t.target_url),t.name,"click_quiz_card")}}},[e._v(e._s(t.name))])])])])})),0),e._v(" "),n("div",{staticClass:"swiper-button-nav swiper-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"}),e._v(" "),n("div",{staticClass:"swiper-button-nav swiper-button-next",attrs:{slot:"button-next"},slot:"button-next"})])])]:e._e()],2)]):e._e(),e._v(" "),n("div",{staticClass:"giveaway__article"},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"observe anchor",attrs:{id:"giveaway-article"}}),e._v(" "),e.state.isVisitArticle?[e._m(2),e._v(" "),n("div",{staticClass:"giveaway__decorator"}),e._v(" "),n("div",{staticClass:"giveaway__swiper"},[n("div",{directives:[{name:"swiper",rawName:"v-swiper:articleSwiper",value:e.swiperOption,expression:"swiperOption",arg:"articleSwiper"}]},[n("div",{staticClass:"swiper-wrapper"},e._l(e.blogArticles,(function(article){return n("div",{key:article.id,staticClass:"swiper-slide"},[n("div",{staticClass:"giveaway__article-card"},[n("a",{attrs:{href:e.localeLink("blog/"+article.slug),target:"_blank"}},[n("img",{staticClass:"giveaway__article-card--image",attrs:{src:e.getImageUrl(article.previewImage).imgSrc,alt:article.slug}})]),e._v(" "),n("span",[n("a",{attrs:{href:e.localeLink("blog/category/"+article.categories.data[0].slug)}},[e._v(e._s(article.categories.data[0].name))]),e._v(" - "+e._s(e.$dayjs(article.publishedAt).locale("id").format("MMM DD, YYYY"))+" | by "+e._s(article.authorAlias))]),e._v(" "),n("p",[n("a",{attrs:{href:e.localeLink("blog/"+article.slug),target:"_blank"}},[e._v(e._s(article.title))])])])])})),0),e._v(" "),n("div",{staticClass:"swiper-button-nav swiper-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"}),e._v(" "),n("div",{staticClass:"swiper-button-nav swiper-button-next",attrs:{slot:"button-next"},slot:"button-next"})])]),e._v(" "),n("a",{staticClass:"giveaway__article--button",attrs:{href:e.localeLink("blog"),target:"_blank"}},[e._v("Lihat Semua Artikel")])]:e._e()],2)]),e._v(" "),e.state.isShowFooter?n("giveaway-footer"):e._e(),e._v(" "),e.state.isShowVendorBlocker?n("popup-vendor-blocker",{on:{close:function(t){return e.toggleState("isShowVendorBlocker")},logout:e.handleLogin}}):e._e(),e._v(" "),n("transition",{attrs:{name:"bs-slide-opa"}},[e.state.isShowWinner?n("div",{staticClass:"giveaway__modal"},[n("div",{staticClass:"giveaway__modal--backdrop",on:{click:function(t){e.toggleState("isShowWinner"),e.toggleScrollable(!1)}}}),e._v(" "),n("img",{attrs:{src:e.getImageUrl(e.winner_announcement.previous_quiz.winner_url).imgSrc,alt:"Pemenang Kuis Bridestory"}}),e._v(" "),n("span",{staticClass:"close icon-close-outline",on:{click:function(t){e.toggleState("isShowWinner"),e.toggleScrollable(!1)}}})]):e._e()])],1)}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{itemscope:"",itemtype:"https://schema.org/WebSite"}},[t("meta",{attrs:{itemprop:"url",content:"https://www.bridestory.com/"}})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("Screenshot & post hasil kuis Anda ke Instagram Story, tag "),n("a",{attrs:{href:"https://www.instagram.com/thebridestory",target:"_blank",rel:"noopener noreferrer"}},[e._v("@thebridestory")]),e._v(" dan 3 teman Anda menggunakan "),n("strong",[e._v("#bridestoryquizgiveaway")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h2",[e._v("Artikel Seputar Tips dan Inspirasi "),n("br"),e._v("untuk Calon Pengantin")])}],!1,null,null,null);t.default=component.exports},487:function(e,t,n){"use strict";var r=n(2),o=n(505);r.default.use(o)},504:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(27),o=n(28),c="https://www.bridestory.com/static-api/event/",l="https://www.bridestory.com/static-api/giveaway/",d=function(){function e(t){Object(r.a)(this,e),this.$axios=t}return Object(o.a)(e,[{key:"getOnlineFairStats",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"19";return this.$axios.request({url:c+e+"/post-event-statistics.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getCovidPrintables",value:function(){return this.$axios.request({url:"https://www.bridestory.com/static-api/covid/printables.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getFairCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"19";return this.$axios.request({url:c+e+"/categories.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getHomeFeeds",value:function(e){var t=e.eventId,n=void 0===t?"19":t;return this.$axios.request({url:c+n+"/feeds.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getFairStickyBanner",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"19",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"banner";return this.$axios.request({url:"".concat(c).concat(e,"/").concat(t,".json"),method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getGiveawayPage",value:function(){return this.$axios.request({url:l+"before-you-say-i-do.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getWptBanner",value:function(){return this.$axios.request({url:l+"wpt.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getGiveawayResult",value:function(e){return this.$axios.request({url:l+e+".json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getAttributionBanner",value:function(e){return this.$axios.request({url:"https://www.bridestory.com/static-api/campaign/"+e+".json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getEventPasses",value:function(){return this.$axios.request({url:c+"event-pass.json",method:"GET",headers:{"Content-Type":"application/json"}})}}]),e}()},533:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(27),o=n(28),c=n(1),l=n.n(c),d=function(){function e(t){Object(r.a)(this,e),this.$axios=t,this.baseURL="https://secure-cdn-api.bridestory.com"}return Object(o.a)(e,[{key:"getBlogLists",value:function(e,t){return this.$axios.request({url:"".concat(this.baseURL,"/ms/backend-flask/api/v1/blog_articles"),method:"GET",params:e,headers:{"Content-Type":"application/json","bs-localization-bucket":t||l.a.get("BS_localization")||"en","bs-translation-bucket":t||l.a.get("BS_PreferredLang")||l.a.get("BS_translation")||"EN"}})}},{key:"getBlogVendorLists",value:function(e,t){return this.$axios.request({url:"".concat(this.baseURL,"/v2/blog_vendors"),method:"GET",params:e,headers:{"Content-Type":"application/json","bs-localization-bucket":t||l.a.get("BS_localization")||"en","bs-translation-bucket":t||l.a.get("BS_PreferredLang")||l.a.get("BS_translation")||"EN"}})}},{key:"getBlogVendorDetail",value:function(e){return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/v2/blog_vendors/").concat(e),headers:{"Content-Type":"application/json","Session-Id":l.a.get("BSID")}})}},{key:"getBlogDetail",value:function(e,t){return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/ms/backend-flask/api/v1/blog_articles/").concat(e),headers:{"Content-Type":"application/json","Session-Id":l.a.get("BSID"),"bs-localization-bucket":t||l.a.get("BS_localization")||"en","bs-translation-bucket":t||l.a.get("BS_PreferredLang")||l.a.get("BS_translation")||"EN"}})}},{key:"getBlogDetailBySlug",value:function(e,t){return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/ms/backend-flask/api/v1/blog_articles/").concat(e,"?type=slug&include=author,category,colors,tags,vendorCredits,blogIntroImageContents,blogImageContents,viewsSummary,views,votes,restrictedCountries&isPublished=0"),headers:{"Content-Type":"application/json","bs-localization-bucket":t||l.a.get("BS_localization")||"en","bs-translation-bucket":t||l.a.get("BS_PreferredLang")||l.a.get("BS_translation")||"EN"}})}},{key:"getBlogDetailAlternateSlug",value:function(e,t){return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/v2/blog_articles/").concat(e,"/slug"),headers:{"Content-Type":"application/json","bs-localization-bucket":t||l.a.get("BS_localization")||"en","bs-translation-bucket":t||l.a.get("BS_PreferredLang")||l.a.get("BS_translation")||"EN"}})}},{key:"getBlogCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/ms/backend-flask/api/v1/blog_categories?type=blog"),headers:{"Content-Type":"application/json","bs-localization-bucket":e,"bs-translation-bucket":e}})}},{key:"getBlogCategoryBySlug",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=arguments.length>1?arguments[1]:void 0;return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/v2/blog_categories/").concat(t),headers:{"Content-Type":"application/json","bs-localization-bucket":e,"bs-translation-bucket":e}})}},{key:"getBlogRelatedArticle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/v2/blog_articles/").concat(e,"/related?include=category,votes,views,comments,author,colors,tags,vendorCredits,blogIntroImageContents,blogImageContents&translatedOnly=true&isPublished=true&attr_type=slug&limit=").concat(t),headers:{"Content-Type":"application/json"}})}},{key:"getBlogTrendingArticles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6;return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/v2/blog_articles?include=category,votes,views,comments,author,colors,tags,vendorCredits,blogIntroImageContents,blogImageContents&translatedOnly=true&isPublished=true&limit=").concat(e,"&sort=most_popular"),headers:{"Content-Type":"application/json"}})}},{key:"getBlogComments",value:function(e){return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/v2/blog_articles/").concat(e,"/comments?limit=1000&include=accounts"),headers:{"Content-Type":"application/json"}})}},{key:"postBlogComment",value:function(e,data){return this.$axios.request({method:"POST",url:"".concat(this.baseURL,"/v2/blog_articles/").concat(e,"/comments"),data:data,headers:{"Content-Type":"application/json","Session-Id":l.a.get("BSID")}})}},{key:"deleteBlogComment",value:function(data){return this.$axios.request({method:"DELETE",url:"".concat(this.baseURL,"/v1/blog_articles/").concat(data.articleId,"/comments/").concat(data.commentId),headers:{"Content-Type":"application/json","Session-Id":l.a.get("BSID")}})}},{key:"voteArticle",value:function(e){return this.$axios.request({method:"POST",url:"".concat(this.baseURL,"/v1/blog_articles/").concat(e,"/vote"),headers:{"Content-Type":"application/json","Session-Id":l.a.get("BSID")}})}},{key:"unvoteArticle",value:function(e){return this.$axios.request({method:"DELETE",url:"".concat(this.baseURL,"/v1/blog_articles/").concat(e,"/vote"),headers:{"Content-Type":"application/json","Session-Id":l.a.get("BSID")}})}},{key:"isLoved",value:function(e){return this.$axios.request({method:"GET",url:"".concat(this.baseURL,"/v1/blog_articles/").concat(e,"/isVoted"),headers:{"Content-Type":"application/json","Session-Id":l.a.get("BSID")}})}},{key:"setView",value:function(e){return this.$axios.request({method:"POST",url:"".concat(this.baseURL,"/v1/views/blog_articles/").concat(e),headers:{"Content-Type":"application/json","Session-Id":l.a.get("BSID")}})}}]),e}()},595:function(e,t,n){var content=n(657);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(10).default)("36a9ebcf",content,!0,{manualInject:!0,ssrId:!0,sourceMap:!1})},656:function(e,t,n){"use strict";n(595)},657:function(e,t,n){var r=n(9)(!1);r.push([e.i,'@-webkit-keyframes GradientHype-data-v-6474f22e{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes GradientHype-data-v-6474f22e{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@-webkit-keyframes LivePulse-data-v-6474f22e{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}@keyframes LivePulse-data-v-6474f22e{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}#giveaway-share[data-v-6474f22e]{display:inline-block}#giveaway-share .giveaway__share[data-v-6474f22e]{display:inline-block;position:relative}#giveaway-share .giveaway__share p[data-v-6474f22e]{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px 0 rgba(235,161,161,.32);position:relative;cursor:pointer;transition:all .4s ease;color:#195864;font-family:"Figtree SemiBold","Helvetica",arial,sans-serif;font-size:16px;font-weight:600;letter-spacing:.17px;line-height:40px;padding:0 12px;display:flex;align-items:center}@media only screen and (max-width:1023px){#giveaway-share .giveaway__share p[data-v-6474f22e]{font-size:14px;letter-spacing:.15px;line-height:30px;padding:4px 12px}}@media only screen and (max-width:1023px){#giveaway-share .giveaway__share span.icon-share-filled[data-v-6474f22e]{font-size:20px;margin:0}}#giveaway-share .giveaway__share .share-pop[data-v-6474f22e]{transition:all .4s ease;visibility:hidden;display:flex;opacity:0;margin-top:0;padding:10px 5px;width:0;height:60px;overflow:hidden;border-radius:8px;background-color:#fff;box-shadow:0 3px 14px 0 rgba(37,37,37,.1);position:absolute;z-index:1;right:0}#giveaway-share .giveaway__share .share-pop.middle[data-v-6474f22e]{width:250px;left:50%;margin-left:-125px;height:0}#giveaway-share .giveaway__share .share-pop a[data-v-6474f22e]{display:inline-block;color:#195864;font-family:"Figtree","Helvetica",arial,sans-serif;font-size:10px;line-height:18px;text-align:center;width:48px;text-decoration:none;white-space:nowrap}#giveaway-share .giveaway__share .share-pop a span[data-v-6474f22e]{color:#195864;font-size:25px}#giveaway-share .giveaway__share input[data-v-6474f22e]{opacity:0;overflow:hidden;width:1px;height:1px}#giveaway-share .giveaway__share.active p[data-v-6474f22e],#giveaway-share .giveaway__share:hover p[data-v-6474f22e]{color:#fff;background-color:#195864}#giveaway-share .giveaway__share.active .share-pop[data-v-6474f22e]{visibility:visible;opacity:1;margin-top:10px;width:250px;height:60px}',""]),e.exports=r},704:function(e,t,n){"use strict";n(7),n(51);var r=n(24),o={name:"GiveawayShare",props:["shareText","shareUrl","type","alignment","shareLabel","shareAction","shareButtonText"],mixins:[n(105).mixin],data:function(){return{text:this.shareText?this.shareText:"",url:this.shareUrl?this.shareUrl:"",layout:this.type?this.type:"",label:this.shareLabel?"_".concat(this.shareLabel):"",action:this.shareAction?this.shareAction:"header_button",buttonText:this.shareButtonText?this.shareButtonText:"Bagikan",alignmentClass:this.alignment?this.alignment:"",isActive:!1}},computed:{shareUtmData:function(){var source,e=new r.a;return this.$device.isDesktop?source="desktop-user":this.$device.isMobile&&!e.isWebView?source="mobile-user":this.$device.isAndroid?source="android-user":this.$device.isIos&&(source="ios-user"),e.isWebView?"utm_source=".concat(source,"&utm_campaign=campaign_share&utm_medium=promo"):"utm_source=".concat(source,"-:socmed:%26utm_campaign=campaign_share%26utm_medium=promo")}},methods:{onToggle:function(){var e=new r.a;e.isWebView?e.setShare("".concat(this.text).concat(this.url,"?").concat(this.shareUtmData)):this.isActive=!this.isActive},onClose:function(){this.isActive=!1},parseUtmData:function(e){return this.shareUtmData.replace(":socmed:",e)},copyLink:function(){var e,t,n=document.createElement("textArea");n.value=this.text+" "+this.url,n.contentEditable=!0,n.readOnly=!0,document.body.appendChild(n),navigator.userAgent.match(/ipad|iphone/i)?((e=document.createRange()).selectNodeContents(n),(t=window.getSelection()).removeAllRanges(),t.addRange(e),n.setSelectionRange(0,999999)):n.select(),document.execCommand("copy"),document.body.removeChild(n),this.logEvent("copy_link"),alert("Text Tersalin")},logEvent:function(label){var e=new r.a,data={category:"campaign_bridestory_quiz",action:this.action,label:label+this.label};if(e.isWebView){var t=JSON.stringify(data);e.setLogEvent("staticCampaign",t)}else window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"staticCampaign",staticCampaign:data})}},mounted:function(){var e=new r.a;e.isWebView&&e.setShare("".concat(this.text).concat(this.url,"?").concat(this.shareUtmData),"","sharePage")}},c=(n(656),n(3)),component=Object(c.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"giveaway-share"}},[n("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.onClose,expression:"onClose"}],staticClass:"giveaway__share",class:{active:e.isActive}},[n("div",{staticClass:"giveaway__share--container"},["mobile"==e.layout?n("span",{staticClass:"icon icon-share-filled",on:{click:e.onToggle}}):n("p",{on:{click:e.onToggle}},[n("span",{staticClass:"icon icon-share-filled"}),e._v(e._s(e.buttonText))]),e._v(" "),n("div",{staticClass:"share-pop",class:e.alignmentClass},[e.isActive?[n("a",{attrs:{href:"https://www.facebook.com/sharer/sharer.php?quote="+encodeURIComponent(e.text)+"&u="+e.url+"?"+e.parseUtmData("facebook"),target:"_blank",rel:"noopener noreferrer"},on:{click:function(t){return e.logEvent("share_fb")}}},[n("span",{staticClass:"icon-facebook-filled"}),n("br"),e._v("\n\t\t\t\t\t\t\tFacebook\n\t\t\t\t\t\t")]),e._v(" "),n("a",{attrs:{href:"https://twitter.com/intent/tweet?text="+encodeURIComponent(e.text)+"&url="+e.url+"?"+e.parseUtmData("twitter"),target:"_blank",rel:"noopener noreferrer"},on:{click:function(t){return e.logEvent("share_twitter")}}},[n("span",{staticClass:"icon-twitter-filled"}),n("br"),e._v("\n\t\t\t\t\t\t\tTwitter\n\t\t\t\t\t\t")]),e._v(" "),n("a",{attrs:{href:"https://api.whatsapp.com/send?phone=&text="+encodeURIComponent(e.text)+e.url+"?"+e.parseUtmData("whatsapp")+"&source=&data=",target:"_blank",rel:"noopener noreferrer"},on:{click:function(t){return e.logEvent("share_wa")}}},[n("span",{staticClass:"icon-whatsapp-round-filled"}),n("br"),e._v("\n\t\t\t\t\t\t\tWhatsapp\n\t\t\t\t\t\t")]),e._v(" "),n("a",{attrs:{href:"line://msg/text/?"+encodeURIComponent(e.text)+e.url+"?"+e.parseUtmData("line"),target:"_blank",rel:"noopener noreferrer"},on:{click:function(t){return e.logEvent("share_line")}}},[n("span",{staticClass:"icon-line-round-filled"}),n("br"),e._v("\n\t\t\t\t\t\t\tLine\n\t\t\t\t\t\t")]),e._v(" "),n("a",{on:{click:function(t){return e.copyLink()}}},[n("span",{staticClass:"icon-copy-url"}),n("br"),e._v("\n\t\t\t\t\t\t\tCopy Link\n\t\t\t\t\t\t")])]:e._e()],2)])])])}),[],!1,null,"6474f22e",null);t.a=component.exports},714:function(e,t,n){var content=n(1014);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(10).default)("47ac7f4c",content,!0,{manualInject:!0,ssrId:!0,sourceMap:!1})}}]); //# sourceMappingURL=index.1711516068016.92253024e5fe4b9f7afd.js.map